Email me

Crate features / clap_derive

Feature flags · clap_derive 4.6.7 · from crates.io 2026-10-24

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

Short answerclap_derive 4.6.7 has 5 features. Nothing is on by default: turn on what you use. It needs Rust 1.85 or newer.

Pick features

4.6.7latest version
5features
2optional dependencies
1.85MSRV (rust-version)

Every feature

FeatureIn defaultTurns on
debugnothing else (a switch the code checks)
deprecatednothing else (a switch the code checks)
raw-deprecateddeprecated
unstable-markdowndep:pulldown-cmark, dep:anstyle
unstable-v5deprecated

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

  • 3.2.0 (2022-06-13): Rust 1.56.0
  • 3.2.6 (2022-06-21): Rust 1.56.1
  • 4.0.0-rc.1 (2022-09-20): Rust 1.60.0
  • 4.1.0 (2023-01-13): Rust 1.64.0
  • 3.2.24 (2023-04-25): Rust 1.56.1
  • 4.3.0 (2023-05-19): Rust 1.64.0
  • 4.4.0 (2023-08-24): Rust 1.70.0
  • 4.5.0 (2024-02-08): Rust 1.74
  • 4.6.0 (2026-03-12): Rust 1.85

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

More on clap_derive

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 →

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