9 unstable releases

Uses old Rust 2015

0.5.1 Jul 11, 2016
0.5.0 Jan 21, 2016
0.4.1 Jan 10, 2016
0.4.0 Jul 5, 2015
0.1.2 Jul 4, 2015

#63 in #cron

Download history 4/week @ 2023-12-04 8/week @ 2023-12-11 33/week @ 2023-12-25 88/week @ 2024-01-01 104/week @ 2024-01-08 103/week @ 2024-01-15 105/week @ 2024-01-22 105/week @ 2024-01-29 108/week @ 2024-02-05 97/week @ 2024-02-12 165/week @ 2024-02-19 167/week @ 2024-02-26 121/week @ 2024-03-04 141/week @ 2024-03-11 115/week @ 2024-03-18

564 downloads per month
Used in systemd-crontab-generator

MIT/Apache

38KB
1K SLoC

Crontab files parser

Alpha version

Documentation

Usage:

[dependencies]
cronparse = "*"
extern crate cronparse;

use cronparse::crontab::UserCrontabEntry;
use cronparse::CrontabFile;

fn main() {
    let crontab = CrontabFile::<UserCrontabEntry>::new("/var/spool/cron/kstep").unwrap();
    for entry in crontab {
        println!("{:?}", entry);
    }
}

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

No runtime deps

~115KB