Skip to content

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

Stars

45 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages