Email me

Crate features / serde

Feature flags · serde 1.0.229 · from crates.io 2026-10-24

serde features: what each one does, and the line to copy

Short answerserde 1.0.229 has 5 features. By default it turns on std; add default-features = false to start from nothing. It needs Rust 1.56 or newer.

Pick features

1.0.229latest version
5features
0optional dependencies
1.56MSRV (rust-version)

Every feature

FeatureIn defaultTurns on
allocserde_core/alloc
deriveserde_derive
rcserde_core/rc
stdyesserde_core/std
unstableserde_core/unstable

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 declares (rust-version), and the release that changed it:

  • 1.0.131 (2021-12-09): Rust 1.15
  • 1.0.137 (2022-05-01): Rust 1.13
  • 1.0.153 (2023-03-07): Rust 1.19
  • 1.0.180 (2023-07-31): Rust 1.31
  • 1.0.220 (2025-09-13): Rust 1.56

Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p serde --precise <version>, or use resolver 3, which picks compatible versions for you.

More on serde

Real downloads, dependents and alternatives: serde crate data (4.3M real downloads a day, 133,588 dependents).

docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2021

Up next

Before you depend on itserde crate dataReal downloads, dependents, alternatives.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ