Crate features / serde_spanned
Feature flags · serde_spanned 1.1.2 · from crates.io 2026-10-24
serde_spanned features: what each one does, and the line to copy
Short answerserde_spanned 1.1.2 has 3 features. By default it turns on std, serde; add default-features = false to start from nothing. It needs Rust 1.85 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
alloc | serde_core?/alloc | |
serde | yes | dep:serde_core |
std | yes | alloc, 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_spanned declares (rust-version), and the release that changed it:
- 0.6.0 (2023-01-20): Rust 1.60.0
- 0.6.2 (2023-05-18): Rust 1.64.0
- 0.6.4 (2023-10-23): Rust 1.67
- 0.6.6 (2024-05-15): Rust 1.65
- 0.6.9 (2025-06-06): Rust 1.66
- 1.0.2 (2025-09-18): Rust 1.76
- 1.1.0 (2026-03-23): Rust 1.85
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p serde_spanned --precise <version>, or use resolver 3, which picks compatible versions for you.
More on serde_spanned
docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2024
Up next
Next crateFeature flags for every popular crateRead it next →Also worth your time
Did this answer your question?