3 releases

0.1.2 Apr 17, 2021
0.1.1 Apr 16, 2021
0.1.0 Apr 10, 2021

#1964 in Parser implementations

Custom license

49KB
1K SLoC

rolodex

[WIP] A forgivable VCard parser for rust based on RFC6350.

Crate features

All library features are enabled by default

  • serde serde support
  • typed-builder typed builder support

Example

use rolodex::{VCard, Parse};

const DATA: &'static str = "BEGIN:VCARD
VERSION:4.0
N:Gump;Forrest;;Mr.;
FN:Forrest Gump
ORG:Bubba Gump Shrimp Co.
END:VCARD";

let vcard: VCard<'static> = Parse::parse(DATA)?;

Alternatives

vcard

This library is great but i require a vcard parser that hopefully will not fail even when receiving malformed input, and the way the library is designed doesn't facilitate this.


lib.rs:

rolodex

rolodex represents vcard as a vector of properties.

Dependencies

~4.5MB
~95K SLoC