#schedule #scheduling #python

schedule-rs

A simple scheduling library inspired by Python's schedule

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

#36 in #scheduling

21 downloads per month

MIT/Apache

16KB
343 lines

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();
}

lib.rs:

ci-badge docs-badge crate-version

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