ferroid 2.0.0

High-performance ULID and Snowflake-style IDs. Unique, monotonic, and lexicographically sortable IDs optimized for low-latency services and async workloads.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
mod runtime;
mod sleep;
#[cfg(feature = "snowflake")]
mod snowflake;
#[cfg(feature = "ulid")]
mod ulid;

pub use runtime::*;
#[cfg_attr(docsrs, doc(cfg(feature = "futures")))]
pub use sleep::*;
#[cfg_attr(docsrs, doc(cfg(all(feature = "futures", feature = "snowflake"))))]
#[cfg(feature = "snowflake")]
pub use snowflake::*;
#[cfg_attr(docsrs, doc(cfg(all(feature = "futures", feature = "ulid"))))]
#[cfg(feature = "ulid")]
pub use ulid::*;