Crate features / serde_bytes
Feature flags · serde_bytes 0.11.19 · from crates.io 2026-10-24
serde_bytes features: what each one does, and the line to copy
Short answerserde_bytes 0.11.19 has 2 features. By default it turns on std; add default-features = false to start from nothing. It needs Rust 1.68 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
alloc | serde_core/alloc | |
std | yes | serde_core/std |
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 serde_bytes declares (rust-version), and the release that changed it:
- 0.11.6 (2022-04-30): Rust 1.31
- 0.11.13 (2023-12-27): Rust 1.53
- 0.11.17 (2025-03-09): Rust 1.68
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p serde_bytes --precise <version>, or use resolver 3, which picks compatible versions for you.
More on serde_bytes
docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2018
Up next
Next crateFeature flags for every popular crateRead it next →Also worth your time
Did this answer your question?