use-uuid 0.0.1

Thin UUID parsing and formatting primitives for RustUse
Documentation
1
2
3
4
5
6
7
8
9
use use_uuid::UuidId;

fn main() -> Result<(), use_uuid::UuidIdError> {
    let value = UuidId::parse("123e4567-e89b-12d3-a456-426614174000")?;

    assert_eq!(value.to_simple(), "123e4567e89b12d3a456426614174000");

    Ok(())
}