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
/// Internal helper to implement `fmt::Display` when the `base32` feature is
/// enabled.
#[doc(hidden)]
#[cfg(feature = "base32")]
#[macro_export]
macro_rules! cfg_base32 {
    ($($item:item)*) => { $($item)* };
}

#[doc(hidden)]
#[cfg(not(feature = "base32"))]
#[macro_export]
macro_rules! cfg_base32 {
    ($($item:item)*) => {};
}

#[doc(hidden)]
#[cfg(feature = "std")]
#[macro_export]
macro_rules! cfg_std {
    ($($item:item)*) => { $($item)* };
}

#[doc(hidden)]
#[cfg(not(feature = "std"))]
#[macro_export]
macro_rules! cfg_std {
    ($($item:item)*) => {};
}

#[doc(hidden)]
#[cfg(feature = "alloc")]
#[macro_export]
macro_rules! cfg_alloc {
    ($($item:item)*) => { $($item)* };
}

#[doc(hidden)]
#[cfg(not(feature = "alloc"))]
#[macro_export]
macro_rules! cfg_alloc {
    ($($item:item)*) => {};
}