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/resources/ical_input.ics").unwrap(); let reader = caldata::LineReader::from_slice(buf.as_bytes()); for line in reader { println!("{:?}", line); } }