idworker 1.1.1

A high-performance distributed ID generator library implementing Snowflake algorithm variants with multiple optimization modes for different performance requirements.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "idworker"
version = "1.1.1"
authors = ["zbz"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A high-performance distributed ID generator library implementing Snowflake algorithm variants with multiple optimization modes for different performance requirements."
homepage = "https://github.com/rusthing/idworker"
readme = "README.adoc"
keywords = [
    "id",
    "idworker",
    "generator",
    "idgenerator",
    "snowflake",
]
categories = ["algorithms"]
license = "MIT"
repository = "https://github.com/rusthing/idworker"

[lib]
name = "idworker"
path = "src/lib.rs"

[[test]]
name = "config_tests"
path = "tests/config_tests.rs"

[[test]]
name = "generator_tests"
path = "tests/generator_tests.rs"

[[bench]]
name = "fast_benches"
path = "benches/fast_benches.rs"
harness = false

[[bench]]
name = "normal_benches"
path = "benches/normal_benches.rs"
harness = false

[dependencies.log]
version = "0.4.33"

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tracing]
version = "0.1.44"

[dependencies.typed-builder]
version = "0.23.2"

[dev-dependencies.criterion]
version = "0.8.2"