use opml::OPML; pub const DEFAULT_CONFIG_FILE: &str = r#" Your Subscription List "#; fn main() { let document = OPML::from_str(DEFAULT_CONFIG_FILE).unwrap(); assert_eq!(document.version, "2.0"); println!("{document:#?}"); }