⏱️ 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.42 |
| log | 0.4.29 |
| tokio | 1.48.0 |
| futures | 0.3.31 |
| thiserror | 2.0.17 |
How to use this library
In your Cargo.toml add:
[dependencies]
tasklet = "0.2.12"
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)