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 |
#74 in #cron
446 downloads per month
Used in systemd-crontab-generator
38KB
1K
SLoC
Crontab files parser
Alpha version
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
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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
~245KB