Skip to content

A flexible ULID or Snowflake-like ID generator for producing unique, monotonic, and lexicographically sortable IDs.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

s0l0ist/ferroid

Repository files navigation

🤖 ferroid

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 generators
  • ferroid-tonic-core: gRPC protocol definitions and shared types
  • ferroid-tonic-server: High-performance gRPC server that streams binary-packed ID chunks
  • pg-ferroid: A PostgreSQL extension for high-throughput ULID generation using ferroid

🚀 Getting Started

Run all tests

cargo test --features all

Run all benchmarks

cargo criterion --all-features

📄 License

Licensed 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.

About

A flexible ULID or Snowflake-like ID generator for producing unique, monotonic, and lexicographically sortable IDs.

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •