⏱️ An asynchronous task scheduling library written in Rust
About
tasklet
is a task scheduling library written in Rust. It is built over tokio
runtime and utilizes green threads
in order to run tasks asynchronously.
Dependencies
library | version |
---|---|
cron | 0.15.0 |
chrono | 0.4.41 |
log | 0.4.27 |
tokio | 1.45.1 |
futures | 0.3.31 |
thiserror | 2.0.12 |
How to use this library
In your Cargo.toml
add:
[dependencies]
tasklet = "0.2.9"
Example
Find more examples in the examples folder.
use info;
use SimpleLogger;
use Error;
use Success;
use ;
/// A simple example of a task with two steps,
/// that might work or fail sometimes.
async
Author
Stavros Grigoriou (stav121)