Crate features / yoke
Feature flags · yoke 0.8.4 · from crates.io 2026-10-24
yoke features: what each one does, and the line to copy
Short answeryoke 0.8.4 has 4 features. By default it turns on alloc, zerofrom; add default-features = false to start from nothing. It needs Rust 1.82 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
alloc | yes | stable_deref_trait/alloc, zerofrom/alloc |
derive | dep:yoke-derive, zerofrom/derive | |
serde | nothing else (a switch the code checks) | |
zerofrom | yes | dep:zerofrom |
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 yoke declares (rust-version), and the release that changed it:
- 0.7.2 (2023-09-22): Rust 1.66
- 0.7.3 (2023-11-16): Rust 1.67
- 0.7.5 (2024-11-23): Rust 1.71.1
- 0.8.0 (2025-02-26): Rust 1.81
- 0.8.1 (2025-10-28): Rust 1.82
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p yoke --precise <version>, or use resolver 3, which picks compatible versions for you.
More on yoke
Real downloads, dependents and alternatives: yoke crate data (2.6M real downloads a day, 104 dependents).
docs.rs feature list · crates.io · license Unicode-3.0 · edition 2021
Up next
Before you depend on ityoke crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?