High-performance ULID and Snowflake-style IDs. Unique, monotonic, and lexicographically sortable IDs optimized for low-latency services and async workloads.
usecore::{future::Future,time::Duration};/// A trait that abstracts over how to sleep for a given [`Duration`] in async
/// contexts.
////// This allows the generator to be generic over runtimes like `Tokio` or
/// `Smol`.
pubtraitSleepProvider{/// We require `Send` so that the future can be safely moved across threads
fnsleep_for(dur: Duration)-> impl Future<Output = ()>+Send;}