utc-cron-expr 11.1.0

Zero-dependency 5-field and 6-field POSIX/Quartz cron expression parser, O(1) bitmask matcher, and fast civil-calendar next-occurrence calculator.
Documentation
1
2
3
4
5
pub(crate) const ERR_INVALID_FIELD_COUNT: &str =
    "cron expression must have 5 or 6 whitespace-separated fields";
pub(crate) const ERR_INVALID_FIELD_SYNTAX: &str = "invalid cron field syntax";
pub(crate) const ERR_VALUE_OUT_OF_RANGE: &str = "cron field value out of allowed range";
pub(crate) const ERR_INVALID_STEP: &str = "cron step value must be positive";