Skip to content

Simple log scheduling program using Asynchronous Rust Programming

Notifications You must be signed in to change notification settings

pr0m3th3usEx/log-scheduler-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Log Scheduler Demo

This repository has been created for education purposed-only.

Introduction

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 Futures as well as Streams which are the core of asynchronous programming in Rust.

Avoiding tokio on-purpose

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.

How to run ?

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

Some sources used for this project

About

Simple log scheduling program using Asynchronous Rust Programming

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages