Crate features / serde_with_macros
Feature flags · serde_with_macros 3.24.0 · from crates.io 2026-10-24
serde_with_macros features: what each one does, and the line to copy
Short answerserde_with_macros 3.24.0 has 3 features. Nothing is on by default: turn on what you use. It needs Rust 1.88 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
schemars_0_8 | nothing else (a switch the code checks) | |
schemars_0_9 | nothing else (a switch the code checks) | |
schemars_1 | 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_with_macros declares (rust-version), and the release that changed it:
- 1.5.1 (2021-10-18): Rust 1.46
- 2.0.0-rc.0 (2022-06-29): Rust 1.60
- 3.1.0 (2023-07-17): Rust 1.61
- 3.2.0 (2023-08-04): Rust 1.64
- 3.6.0 (2024-01-30): Rust 1.65
- 3.8.2 (2024-06-30): Rust 1.67
- 3.12.0 (2024-12-25): Rust 1.70
- 3.13.0 (2025-06-14): Rust 1.74
- 3.15.0 (2025-10-03): Rust 1.76
- 3.17.0 (2026-02-25): Rust 1.82
- 3.18.0 (2026-03-13): Rust 1.88
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p serde_with_macros --precise <version>, or use resolver 3, which picks compatible versions for you.
More on serde_with_macros
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?