schedule-rs

Crates.ioschedule-rs
lib.rsschedule-rs
version0.1.1
sourcesrc
created_at2020-10-29 18:53:49.112189
updated_at2022-01-26 18:37:34.918933
descriptionA simple scheduling library inspired by Python's schedule.
homepagehttps://github.com/Elinvynia/schedule-rs
repositoryhttps://github.com/Elinvynia/schedule-rs.git
max_upload_size
id306746
size28,501
ChloƩ Monette (Elinvynia)

documentation

https://docs.rs/schedule-rs

README

ci-badge docs-badge crate-version

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();
}
Commit count: 12

cargo fmt