4 releases
0.1.1 | Jan 26, 2022 |
---|---|
0.1.0 | Jan 31, 2021 |
0.0.2 | Nov 11, 2020 |
0.0.1 | Oct 29, 2020 |
#33 in #scheduling
21 downloads per month
16KB
343 lines
schedule-rs
A simple scheduling library inspired by Python's schedule
.
Sample usage
use schedule_rs::prelude::*;
fn main() {
let function = || {
println!("Hello World!");
};
let task = Schedule::every().minute().run(function);
TaskRunner::one(task).run();
std::thread::park();
}
lib.rs
:
schedule-rs
A simple scheduling library inspired by Python's schedule
.
Sample usage
use schedule_rs::prelude::*;
let function = || {
println!("Hello World!");
};
let task = Schedule::every().minute().run(function);
TaskRunner::one(task).run();
std::thread::park();
Dependencies
~1MB
~18K SLoC