YYID generator in Rust

Generates random tokens that look like type 4 UUIDs: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
In contrast to RFC 4122, it uses all digits (128bit).
Source of randomness: rand
Example
Rust
Add yyid = "*" to your dependencies section in Cargo.toml.
extern crate yyid;
use yyid_string;
C
const char* my_yyid = ;
Documentation
Can be found at http://asaaki.github.io/yyid.rs/yyid/index.html.
Furthermore
The current implementation is derived from the uuid crate.
It does not implement everything (no parsing, only generation of tokens).
Functionality will also be reduced down to the reference implementations (see below).
Also Available
- YYID for Ruby
- YYID for JavaScript
- YYID for Elixir
- YYID for Go