Version 0.3.0
See all urn's items
A crate for handling URNs.
let urn = UrnBuilder::new("example", "1234:5678").build()?; assert_eq!(urn.to_string(), "urn:example:1234:5678"); assert_eq!(urn, "urn:example:1234:5678".parse()?); // Using std::str::parse
An RFC2141/8141 URN (Uniform Resource Name).
A struct used for constructing URNs.
A URN validation error.