[package] name = "scru128" version = "3.1.0" authors = ["LiosK "] license = "Apache-2.0" edition = "2021" description = "SCRU128: Sortable, Clock and Random number-based Unique identifier" repository = "https://github.com/scru128/rust" keywords = ["identifier", "uuid", "guid", "ulid", "ksuid"] categories = ["algorithms"] [features] default = ["global_gen"] std = ["fstr/std"] rand = ["dep:rand"] default_rng = ["std", "rand", "rand/std", "dep:rand_chacha"] global_gen = ["default_rng"] serde = ["dep:serde"] [dependencies] fstr = { version = "0.2", default-features = false } rand = { version = "0.8", default-features = false, optional = true } rand_chacha = { version = "0.3", optional = true } serde = { version = "1.0", default-features = false, optional = true } [dev-dependencies] rand = { version = "0.8", default-features = false, features = ["std_rng"] } regex = { version = "1.10", default-features = false, features = ["std"] } serde_test = "1.0" [package.metadata.docs.rs] # RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features --no-deps --open all-features = true rustdoc-args = ["--cfg", "docsrs"]