Email me

Crate features · 719 crates

Rust crate feature flags: what to turn on, and the line to copy

Pick a crate, tick the features you need, and copy a correct Cargo.toml line. Every feature shows what it turns on and which optional dependencies it pulls in.

719crates with features
7202features explained
573declare an MSRV
Rust 1.80median MSRV declared

By real use

Feature flags in 4 lines

  • Features are switches a crate offers to compile optional code or dependencies.
  • default lists what is on unless you write default-features = false.
  • Features add up across your whole dependency tree: if any crate turns one on, everyone gets it.
  • Turning off defaults is the main way to cut compile time and binary size.

Up next

Most askedtokio featuresRead it next →

Also worth your time

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