119625d8cSopenharmony_ci//! ## Documentation: Feature Flags
219625d8cSopenharmony_ci//!
319625d8cSopenharmony_ci//! Available [compile-time feature flags](https://doc.rust-lang.org/cargo/reference/features.html#dependency-features)
419625d8cSopenharmony_ci//!
519625d8cSopenharmony_ci//! #### Default Features
619625d8cSopenharmony_ci//!
719625d8cSopenharmony_ci//! * **std**: _Not Currently Used._ Placeholder for supporting `no_std` environments in a backwards compatible manner.
819625d8cSopenharmony_ci//! * **color**: Turns on colored error messages.
919625d8cSopenharmony_ci//! * **help**: Auto-generate help output
1019625d8cSopenharmony_ci//! * **usage**: Auto-generate usage
1119625d8cSopenharmony_ci//! * **error-context**: Include contextual information for errors (which arg failed, etc)
1219625d8cSopenharmony_ci//! * **suggestions**: Turns on the `Did you mean '--myoption'?` feature for when users make typos.
1319625d8cSopenharmony_ci//!
1419625d8cSopenharmony_ci//! #### Optional features
1519625d8cSopenharmony_ci//!
1619625d8cSopenharmony_ci//! * **deprecated**: Guided experience to prepare for next breaking release (at different stages of development, this may become default)
1719625d8cSopenharmony_ci//! * **derive**: Enables the custom derive (i.e. `#[derive(Parser)]`). Without this you must use one of the other methods of creating a `clap` CLI listed above.
1819625d8cSopenharmony_ci//! * **cargo**: Turns on macros that read values from [`CARGO_*` environment variables](https://doc.rust-lang.org/cargo/reference/environment-variables.html#environment-variables-cargo-sets-for-crates).
1919625d8cSopenharmony_ci//! * **env**: Turns on the usage of environment variables during parsing.
2019625d8cSopenharmony_ci//! * **unicode**: Turns on support for unicode characters (including emoji) in arguments and help messages.
2119625d8cSopenharmony_ci//! * **wrap_help**: Turns on the help text wrapping feature, based on the terminal size.
2219625d8cSopenharmony_ci//! * **string**: Allow runtime generated strings (e.g. with [`Str`][crate::builder::Str]).
2319625d8cSopenharmony_ci//!
2419625d8cSopenharmony_ci//! #### Experimental features
2519625d8cSopenharmony_ci//!
2619625d8cSopenharmony_ci//! **Warning:** These may contain breaking changes between minor releases.
2719625d8cSopenharmony_ci//!
2819625d8cSopenharmony_ci//! * **unstable-replace**: Enable [`Command::replace`](https://github.com/clap-rs/clap/issues/2836)
2919625d8cSopenharmony_ci//! * **unstable-v5**: Preview features which will be stable on the v5.0 release
30