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
1
2
3
4
5
6
7
8
pub(crate) const ERR_NODE_ID_OUT_OF_RANGE: &str = "snowflake node id exceeds maximum 1023";
pub(crate) const ERR_INVALID_ULID_LENGTH: &str = "ULID string must be exactly 26 ASCII characters";
pub(crate) const ERR_INVALID_ULID_CHAR: &str =
    "ULID string contains invalid Crockford Base32 character";
pub(crate) const ERR_ULID_OVERFLOW: &str = "ULID string exceeds 128-bit range";
pub(crate) const ERR_INVALID_UUID_FORMAT: &str =
    "UUID string must be 32 hex digits or 36-char hyphenated form";
pub(crate) const ERR_INVALID_SNOWFLAKE_STR: &str = "invalid Snowflake ID string";