#identifier

uuid_v1

UUID Version 1 implementation written in Rust

3 releases

Uses old Rust 2015

0.1.2 Mar 24, 2017
0.1.1 Mar 24, 2017
0.1.0 Mar 24, 2017

#214 in #identifier

30 downloads per month

MIT license

6KB
131 lines

uuid_v1

crates.io version

uuid_v1 provides Rust implementation of Universally Unique Identifier (UUID) Version 1. Implementation inspired by satori/go.uuid, rust-lang-nursely/uuid

Hyphenated string conversion is only supported currently.

Documentation

Example

extern crate uuid_v1;

fn main() {
    let uuid = uuid_v1::new_v1();
    println!("{}", uuid.to_string());
}

Dependencies

~5MB
~94K SLoC