[](https://raw.githubusercontent.com/lennart-k/caldata-rs/main/LICENSE)
[](https://coveralls.io/github/lennart-k/caldata-rs?branch=main)
[](https://crates.io/crates/caldata)
[](https://docs.rs/caldata)
# caldata-rs
> [!NOTE]
> This package started as a fork of [ical-rs](https://github.com/Peltoche/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](https://github.com/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](https://github.com/fmeringdal/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.
## Installing
Put this in your `Cargo.toml`:
```toml
[dependencies]
caldata = "0.15"
```