Skip to content

JoyMoe/FastID-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Snowflake-like ID generating in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages