snowid 2.0.0

A Rust library for generating SnowID - a Snowflake-like timestamp-based distributed unique identifier
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"
rust-version = "1.90.0"
name = "snowid"
version = "2.0.0"
authors = ["Maksim Sasnouski <maksim@rixl.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust library for generating SnowID - a Snowflake-like timestamp-based distributed unique identifier"
homepage = "https://github.com/qeeqez/snowid-rust"
documentation = "https://docs.rs/snowid"
readme = "README.md"
keywords = [
    "snowflake",
    "id",
    "uuid",
    "tsid",
    "twitter",
]
categories = [
    "algorithms",
    "data-structures",
]
license = "MIT"
repository = "https://github.com/qeeqez/snowid-rust"

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

[[example]]
name = "base62_basic"
path = "examples/base62_basic.rs"

[[example]]
name = "base62_comparison"
path = "examples/base62_comparison.rs"

[[example]]
name = "base62_custom_config"
path = "examples/base62_custom_config.rs"

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "custom_config"
path = "examples/custom_config.rs"

[[example]]
name = "distributed"
path = "examples/distributed.rs"

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

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

[dependencies.base62]
version = "2.2.3"

[dev-dependencies.chrono]
version = "0.4.43"

[dev-dependencies.criterion]
version = "0.8.1"
features = ["html_reports"]

[dev-dependencies.rand]
version = "0.9.2"

[profile.dev]
opt-level = 0
debug = 2

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true