This repository has been created for education purposed-only.
My goal with this project is to take hands-on asynchronous programming using Rust programming language. To precise, I have been already using async programming in Rust, however I have only been using it on the surface and with the specific tokio
runtime.
Thanks to this project, I have been able to dive more on the creation of Future
s as well as Stream
s which are the core of asynchronous programming in Rust.
tokio
ois the most-used asynchronous runtime for Rust. It simplifies a lot of
async programming providing a lot of modules making way more than a simple runtime. Here is an interesting article on the subject
To make sure I am not depending tokio
, I used another async runtime named smol
.
Using very standard commands:
git clone https://github.com/pr0m3th3usEx/log-scheduler-rs.git
cd log-scheduler-rs
cargo run -- <delay in second>
# Exemple cargo run -- 3