rolodex 0.1.2

A Forgiving VCard implementation.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use rolodex::*;

const DATA: &str = "http://www.example.com/dir_photos/my_photo.gif\n";

fn name() -> types::Url<'static> {
    types::Url::builder()
        .schema("http")
        .domain("www.example.com")
        .path("/dir_photos/my_photo.gif")
        .build()
}

#[test]
fn simple() {
    assert_eq!(Ok(("\n", name())), Parse::parse(DATA));
}