10 releases (breaking)
✓ Uses Rust 2018 edition
|0.8.0||Jan 12, 2020|
|0.7.1||Nov 24, 2019|
|0.6.0||Mar 9, 2019|
|0.5.0||Dec 21, 2018|
|0.1.0||Nov 20, 2016|
#22 in Date and time
118 downloads per month
Used in 1 crate
You want to help make this more mature? Please talk to me, Pull Requests and suggestions are very welcome.
let event = Event::new() .summary("test event") .description("here I have something really important to do") .starts(Utc::now()) .class(Class::Confidential) .ends(Utc::now() + Duration::days(1)) .append_property(Property::new("TEST", "FOOBAR") .add_parameter("IMPORTANCE", "very") .add_parameter("DUE", "tomorrow") .done()) .done(); let bday = Event::new() .all_day(Utc.ymd(2020, 3, 15)) .summary("My Birthday") .description( r#"Hey, I'm gonna have a party BYOB: Bring your own beer. Hendrik"# ) .done(); let todo = Todo::new().summary("Buy some milk").done(); let mut calendar = Calendar::new(); calendar.push(event); calendar.push(todo); calendar.push(bday);
icalendar-rs is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Any help in form of descriptive and friendly issues or comprehensive pull requests are welcome!
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in icalendar-rs by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.