| Crates.io | schedule-rs |
| lib.rs | schedule-rs |
| version | 0.1.1 |
| created_at | 2020-10-29 18:53:49.112189+00 |
| updated_at | 2022-01-26 18:37:34.918933+00 |
| description | A simple scheduling library inspired by Python's schedule. |
| homepage | https://github.com/Elinvynia/schedule-rs |
| repository | https://github.com/Elinvynia/schedule-rs.git |
| max_upload_size | |
| id | 306746 |
| size | 28,501 |
A simple scheduling library inspired by Python's schedule.
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();
}