fastid 0.2.2

Snowflake-like ID generating in Rust
Documentation

FastID-rs

Crates.io Docs.rs Crates.io Crates.io

Snowflake-like ID generating in Rust

Usage

use fastid::FastIdWorker;

let mut worker = FastIdWorker::new(1);

let id = worker.next_id();

println!("{:#064b}", id);
println!("{}", id);

License

The MIT License

More info see LICENSE