4 releases
Uses old Rust 2015
0.1.3 | Aug 11, 2016 |
---|---|
0.1.2 | Jul 7, 2016 |
0.1.1 | Jul 7, 2016 |
0.1.0 | Jul 7, 2016 |
#19 in #snowflake-id
6KB
120 lines
MonteFlake
A 64bit snowflake like id generator, encoder, and decoder which allows setting the bitwidths of each portion of the 64 bit encoded id.
let flake = MonteFlake::new(0);
let id = flake.next();