Snowflake-like ID generating in Rust
use fastid::FastIdWorker;
let mut worker = FastIdWorker::new(1);
let id = worker.next_id();
println!("{:#064b}", id);
println!("{}", id);
The MIT License
More info see LICENSE
Snowflake-like ID generating in Rust
use fastid::FastIdWorker;
let mut worker = FastIdWorker::new(1);
let id = worker.next_id();
println!("{:#064b}", id);
println!("{}", id);
The MIT License
More info see LICENSE