<div align="center">
# utc-cron-expr
**Zero-Dependency 5/6-Field Cron Parser, O(1) Bitmask Matcher & Next-Occurrence Engine**
[](https://crates.io/crates/utc-cron-expr)
[](https://docs.rs/utc-cron-expr)
[](https://www.rust-lang.org)
[](../LICENSE)
[Workspace Overview](../README.md) · [API Docs](https://docs.rs/utc-cron-expr/latest/) · [Agent Engineering Rules](../AGENTS.md)
</div>
---
## Overview
Provides a zero-dependency 5-field and 6-field POSIX/Quartz cron expression parser (`@hourly`, `@daily`, `@weekly`, `@monthly`, `@yearly`, month/weekday names, steps, ranges, lists), O(1) bitmask matching, and fast leap-year-aware civil-calendar next-occurrence lookup.
This package is part of the [`ctares`](../README.md) unified Rust 2024 workspace and follows the repository's strict module purity, formatting, and dependency-ordered release standards.
## Installation & Quick Start
```sh
cargo add utc-cron-expr
```
```rust
use utc_cron_expr::*;
let sched: CronSchedule = CronSchedule::parse("*/15 * * * MON-FRI").expect("valid cron");
let next: Option<i64> = sched.next_after(1_700_000_000);
assert!(next.is_some());
```
## License
This project is licensed under the MIT License. See the [LICENSE](../LICENSE) file for details.