A pure and efficient Rust implementation (partial) of recurrence rules as defined in the iCalendar RFC..
## Warning This crate is not production ready yet. Dates and recurrence rules are quite complicated and takes time to get right. Even though this crate is well tested (high code coverage), there are still tests missing around edge cases like DST, time zone and rfc_string parsing. Use at your own risk! ## :zap: Quick start ```rust extern crate rrule; use rrule::RRule; let mut rrule: RRule = "DTSTART:20120201T093000Z\nRRULE:FREQ=DAILY;COUNT=3".parse().unwrap(); // Get all recurrences of the rrule let recurrences = rrule.all(); assert_eq!(recurrences.len(), 3); ``` ## Documentation and more examples [Documentation and more examples](https://docs.rs/rrule) ## License This project is licensed under the [MIT license]. [mit license]: https://github.com/fmeringdal/rust_rrule/blob/main/LICENSE ## Inspired by - [python-dateutil library](http://labix.org/python-dateutil/) - [rrule.js](https://github.com/jakubroztocil/rrule)