Email me

Crate features / cargo_metadata

Feature flags · cargo_metadata 0.23.1 · from crates.io 2026-10-24

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

Short answercargo_metadata 0.23.1 has 2 features. Nothing is on by default: turn on what you use. It needs Rust 1.86.0 or newer.

Pick features

0.23.1latest version
2features
0optional dependencies
1.86.0MSRV (rust-version)

Every feature

FeatureIn defaultTurns on
builderderive_builder
unstablenothing 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 cargo_metadata declares (rust-version), and the release that changed it:

  • 0.15.0 (2022-06-22): Rust 1.42.0
  • 0.17.0 (2023-07-24): Rust 1.56.0
  • 0.19.0 (2024-11-20): Rust 1.73.0
  • 0.19.1 (2024-12-03): Rust 1.78.0
  • 0.20.0 (2025-05-27): Rust 1.82.0
  • 0.21.0 (2025-07-10): Rust 1.86.0

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

More on cargo_metadata

docs.rs feature list · crates.io · license MIT · edition 2021

Up next

Next crateFeature flags for every popular crateRead 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