icalendar 0.17.10

Strongly typed iCalendar builder and parser.
Documentation
1
2
3
4
5
6
7
8
9
10
11
#![cfg(feature = "parser")]
mod example_utils;
use example_utils::*;

fn main() -> Result<(), Box<dyn std::error::Error>> {
    if let Some(content) = content_from_arg()? {
        let calendar = serde_json::from_str::<icalendar::parser::Calendar>(&content)?;
        println!("{calendar}");
    }
    Ok(())
}