[package]
authors = [
"Ashley Mannix<ashleymannix@live.com.au>",
"Dylan DPC<dylan.dpc@gmail.com>",
"Hunar Roop Kahlon<hunar.roop@gmail.com>"
]
categories = [
"data-structures",
"no-std",
"parser-implementations",
"wasm"
]
description = "A library to generate and parse UUIDs."
documentation = "https://docs.rs/uuid"
edition = "2018"
include = [
"src",
"README.md",
"LICENSE-APACHE",
"LICENSE-MIT",
]
keywords = [
"guid",
"unique",
"uuid"
]
license = "Apache-2.0 OR MIT"
homepage = "https://github.com/uuid-rs/uuid"
name = "uuid"
readme = "README.md"
repository = "https://github.com/uuid-rs/uuid"
version = "1.11.0"
rust-version = "1.60.0"
[package.metadata.docs.rs]
rustc-args = ["--cfg", "uuid_unstable"]
rustdoc-args = ["--cfg", "uuid_unstable"]
targets = ["x86_64-unknown-linux-gnu"]
features = ["serde", "arbitrary", "slog", "borsh", "v1", "v3", "v4", "v5", "v6", "v7", "v8"]
[package.metadata.playground]
features = ["serde", "v1", "v3", "v4", "v5", "v6", "v7", "v8"]
[lints.rust]
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(uuid_unstable)'] }
[badges.is-it-maintained-issue-resolution]
repository = "uuid-rs/uuid"
[badges.is-it-maintained-open-issues]
repository = "uuid-rs/uuid"
[badges.maintenance]
status = "actively-developed"
[features]
default = ["std"]
std = []
macro-diagnostics = ["dep:uuid-macro-internal"]
v1 = ["atomic"]
v3 = ["md5"]
v4 = ["rng"]
v5 = ["sha1"]
v6 = ["atomic"]
v7 = ["rng"]
v8 = []
js = ["dep:wasm-bindgen", "getrandom?/js"]
rng = ["dep:getrandom"]
fast-rng = ["rng", "dep:rand"]
sha1 = ["dep:sha1_smol"]
md5 = ["dep:md-5"]
atomic = ["dep:atomic"]
borsh = ["dep:borsh", "dep:borsh-derive"]
[dependencies.bytemuck]
version = "1.14.0"
optional = true
features = ["derive"]
[dependencies.serde]
default-features = false
optional = true
version = "1.0.56"
[dependencies.slog]
optional = true
version = "2"
[dependencies.arbitrary]
optional = true
version = "1.1.3"
[dependencies.zerocopy]
optional = true
version = "0.8"
features = ["derive"]
[dependencies.borsh]
optional = true
version = "1"
default-features = false
[dependencies.borsh-derive]
optional = true
version = "1"
default-features = false
[dependencies.getrandom]
optional = true
version = "0.2"
[dependencies.rand]
optional = true
version = "0.8"
[dependencies.md-5]
default-features = false
optional = true
version = "0.10"
[dependencies.sha1_smol]
default-features = false
optional = true
version = "1"
[dependencies.uuid-macro-internal]
version = "1.11.0"
path = "macros"
optional = true
[dependencies.atomic]
default-features = false
optional = true
version = "0.6"
[target.'cfg(all(target_arch = "wasm32", target_vendor = "unknown", target_os = "unknown"))'.dependencies.wasm-bindgen]
version = "0.2"
optional = true
[dev-dependencies.bincode]
version = "1.0"
[dev-dependencies.serde_derive]
version = "1.0.79"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.serde_test]
version = "1.0.56"
[target.'cfg(target = "wasm32-unknown-unknown")'.dev-dependencies.wasm-bindgen]
version = "0.2"
[target.'cfg(all(target_arch = "wasm32", target_vendor = "unknown", target_os = "unknown"))'.dev-dependencies.wasm-bindgen-test]
version = "0.3"
[dev-dependencies.trybuild]
version = "1.0.52"
[dev-dependencies.rustversion]
version = "1"
[workspace]
members = [
"macros",
"examples",
"tests/smoke-test",
]