A library (far from anything) to generate icalendars This implementation is still far from complete, I haven't even read the entire spec yet. Instead I implemented the parts I needed first. More to come, contributions very welcome.
Structure
Calendar
s consist ofComponents
Component
s are e.g.Event
orTodo
Component
s consist ofProperty
sProperty
s may haveParameter
s
# extern crate chrono;
# extern crate icalendar;
# use *;
# use *;
let event = new
.summary
.description
.starts
.class
.ends
.append_property
.done;
let bday = new
.all_day
.summary
.description
.done;
let todo = new.summary.done;
let mut calendar = new;
calendar.add;
calendar.add;
calendar.add;