Just trying a simple test based on the API documentation:
use anyhow::Result;
use vcard_parser::vcard::Vcard;
fn main() -> Result<()> {
let text = r#"
BEGIN:VCARD
VERSION:4.0
FN:John Doe
END:VCARD
"#;
let vcard = Vcard::from(text);
vcard.validate_vcard()?;
Ok(())
}
Hey,
Just trying a simple test based on the API documentation:
And I am getting this error:
Any ideas?