caldata 0.16.2

Ical/Vcard parser for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::fs::read_to_string;

fn main() {
    let buf = read_to_string("./tests/ressources/vcard_input.vcf").unwrap();

    let reader = caldata::VcardParser::from_slice(buf.as_bytes());

    for line in reader {
        println!("{:?}", line);
    }
}