[][src]Crate ical

ical-rs 0.4.0

This is a library to parse the ICalendar format defined in RFC5545, as well as similar formats like VCard.

There are probably some issues to be taken care of, but the library should work for most cases. If you like to help out and would like to discuss any API changes, please contact me or create an issue.

The initial goal was to make a port from the ical.js library in JavaScript and many code/algorithms was taken from it but in order to but more 'Rusty' a complete rewrite have been made.



Put this in your Cargo.toml:

ical = "0.4.*"

There is several ways to use crate::Ical depending on the level of parsing you want. Some new wrapper/formater could appeare in the next releases.

By default all the features are included but you can choose to include in you project only the needed ones.


pub use crate::parser::ical::IcalParser;
pub use crate::parser::vcard::VcardParser;
pub use crate::property::PropertyParser;
pub use crate::line::LineReader;



Read and unfold a line from a BufRead.


Wrapper around PropertyParser


Parse the result of LineReader into parts.