Crate features / serde_derive
Feature flags · serde_derive 1.0.229 · from crates.io 2026-10-24
serde_derive features: what each one does, and the line to copy
Short answerserde_derive 1.0.229 has 1 feature. Nothing is on by default: turn on what you use. It needs Rust 1.71 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
deserialize_in_place | 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 serde_derive declares (rust-version), and the release that changed it:
- 1.0.131 (2021-12-09): Rust 1.31
- 1.0.157 (2023-03-18): Rust 1.56
- 1.0.211 (2024-10-22): Rust 1.61
- 1.0.229 (2026-07-18): Rust 1.71
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p serde_derive --precise <version>, or use resolver 3, which picks compatible versions for you.
More on serde_derive
docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2021
Up next
Next crateFeature flags for every popular crateRead it next →Also worth your time
Did this answer your question?