Email me

Crate features / getopts

Feature flags · getopts 0.2.24 · from crates.io 2026-10-24

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

Short answergetopts 0.2.24 has 2 features. By default it turns on unicode; add default-features = false to start from nothing. It needs Rust 1.66 or newer.

Pick features

0.2.24latest version
2features
1optional dependencies
1.66MSRV (rust-version)

Every feature

FeatureIn defaultTurns on
rustc-dep-of-stdstd, core
unicodeyesdep:unicode-width

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

  • 0.2.22 (2025-06-09): Rust 1.49
  • 0.2.23 (2025-06-09): Rust 1.66

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

More on getopts

Real downloads, dependents and alternatives: getopts crate data (419.1K real downloads a day, 522 dependents).

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

Up next

Before you depend on itgetopts 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