Crate features / uuid
Feature flags · uuid 1.29.0 · from crates.io 2026-10-24
uuid features: what each one does, and the line to copy
Short answeruuid 1.29.0 has 19 features. By default it turns on std; add default-features = false to start from nothing. It needs Rust 1.89.0 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
atomic | dep:atomic | |
borsh | dep:borsh, dep:borsh-derive | |
fast-rng | rng, dep:rand | |
js | dep:wasm-bindgen, dep:js-sys | |
macro-diagnostics | nothing else (a switch the code checks) | |
md5 | dep:md-5 | |
rng | dep:getrandom | |
rng-getrandom | rng, dep:getrandom, uuid-rng-internal-lib, uuid-rng-internal-lib/getrandom | |
rng-rand | rng, dep:rand, uuid-rng-internal-lib, uuid-rng-internal-lib/rand | |
serde | dep:serde_core | |
sha1 | dep:sha1_smol | |
std | yes | wasm-bindgen?/std, js-sys?/std |
v1 | atomic | |
v3 | md5 | |
v4 | rng | |
v5 | sha1 | |
v6 | atomic | |
v7 | rng | |
v8 | nothing else (a switch the code checks) |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version uuid declares (rust-version), and the release that changed it:
- 1.5.0 (2023-10-18): Rust 1.57.0
- 1.6.0 (2023-11-20): Rust 1.60.0
- 1.11.1 (2025-01-10): Rust 1.63.0
- 1.21.0 (2026-02-14): Rust 1.85.0
- 1.27.0 (2026-10-02): Rust 1.89.0
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p uuid --precise <version>, or use resolver 3, which picks compatible versions for you.
More on uuid
Real downloads, dependents and alternatives: uuid crate data (2.6M real downloads a day, 22,614 dependents).
docs.rs feature list · crates.io · license Apache-2.0 OR MIT · edition 2021
Up next
Before you depend on ituuid crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?