ferroid is a Rust library for generating and streaming time-sortable IDs, including Snowflake-style IDs and ULIDs. It aims to be flexible while having exceptional performance.
This workspace includes:
ferroid: Core ID types and generatorsferroid-tonic-core: gRPC protocol definitions and shared typesferroid-tonic-server: High-performance gRPC server that streams binary-packed ID chunkspg-ferroid: A PostgreSQL extension for high-throughput ULID generation using ferroid
Run all tests
cargo test --features allRun all benchmarks
cargo criterion --all-featuresLicensed under either of:
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.