Note
This package started as a fork of ical-rs aiming to add some more validation and accessors to calendar components. Since the original repository is archived and this version has diverged quite significantly, I am going to maintain this as a hard fork. The main difference to the original project is that this version is very strict in enforcing the iCalendar spec and in turn also parses data types like date-times and offers methods for recurrence expansion. Thanks Peltoche for providing a solid codebase to build upon.
Note
This crate also contains a slightly modified but almost completely copy-pasted version of rust-rrule by Fredrik Meringdal and Ralph Bisschops.
The main reason for that hard fork is that I need to do local-timezone calculations in UTC.
Thanks to the rust-rrule authors for providing this wonderful library.
Put this in your Cargo.toml:
[dependencies]
caldata = "0.15"