atomic-snowflake 11.1.0

Zero-dependency lock-free monotonic 64-bit Snowflake ID, 128-bit ULID, and RFC 9562 UUIDv7 generators with stack-buffered Crockford Base32 and hyphenated hex codecs.
Documentation
//! atomic-snowflake
//!
//! Zero-dependency lock-free monotonic 64-bit Snowflake ID, 128-bit ULID, and
//! RFC 9562 UUIDv7 generators with zero-allocation stack codecs.

mod error;
mod snowflake;
mod ulid;
mod uuidv7;

pub use {error::*, snowflake::*, ulid::*, uuidv7::*};

pub(crate) use snowflake::{current_unix_ms, splitmix64};

use std::{
    error::Error,
    fmt,
    str::{FromStr, from_utf8},
    sync::atomic::{AtomicU64, Ordering},
    time::{SystemTime, UNIX_EPOCH},
};