Crate features / zerovec
Feature flags · zerovec 0.11.9 · from crates.io 2026-10-24
zerovec features: what each one does, and the line to copy
Short answerzerovec 0.11.9 has 8 features. Nothing is on by default: turn on what you use. It needs Rust 1.83 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
alloc | serde?/alloc | |
databake | dep:databake | |
derive | dep:zerovec-derive | |
hashmap | dep:twox-hash, alloc | |
schemars | dep:schemars, alloc | |
serde | dep:serde | |
std | nothing else (a switch the code checks) | |
yoke | dep:yoke |
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 zerovec declares (rust-version), and the release that changed it:
- 0.9.7 (2024-06-24): Rust 1.66
- 0.10.4 (2024-06-27): Rust 1.67
- 0.11.0 (2024-11-23): Rust 1.71.1
- 0.11.1 (2025-02-26): Rust 1.81
- 0.11.2 (2025-05-07): Rust 1.82
- 0.11.6 (2026-04-01): Rust 1.83
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p zerovec --precise <version>, or use resolver 3, which picks compatible versions for you.
More on zerovec
Real downloads, dependents and alternatives: zerovec crate data (2.5M real downloads a day, 60 dependents).
Security record: zerovec advisories.
docs.rs feature list · crates.io · license Unicode-3.0 · edition 2021
Up next
Before you depend on itzerovec crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?