[package]
edition = "2024"
rust-version = "1.85"
name = "tidyid"
version = "2.1.1"
build = false
include = [
"src/**",
"Cargo.toml",
"Cargo.lock",
"README.md",
"LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A secure, high-performance, and human-friendly ID generator for Rust."
documentation = "https://docs.rs/tidyid"
readme = "README.md"
keywords = [
"id",
"generator",
"random",
"secure",
"csprng",
]
categories = [
"algorithms",
"command-line-utilities",
]
license = "MIT"
repository = "https://github.com/sheldonix/tidyid-rust"
[package.metadata.docs.rs]
all-features = true
[features]
default = []
metrics = ["dep:num-bigint"]
wasm_js = ["getrandom/wasm_js"]
[lib]
name = "tidyid"
path = "src/lib.rs"
[[bin]]
name = "tidyid"
path = "src/main.rs"
[dependencies.getrandom]
version = "0.3.4"
[dependencies.num-bigint]
version = "0.4.6"
optional = true
[profile.bench]
lto = "thin"
codegen-units = 1
[profile.release]
lto = "thin"
codegen-units = 1
panic = "abort"
strip = true