Cargo Features
[dependencies]
argc = { version = "1.21.1", default-features = false, features = ["application", "native-runtime", "eval", "eval-bash", "build", "mangen", "completions", "compgen", "export", "wrap-help"] }
- default = application
-
The
application
feature is set by default wheneverargc
is added without
somewhere in the dependency tree.default-features = false - application default = base64, build, compgen, completions, eval-bash, export, mangen, native-runtime, num_cpus, path-absolutize, threadpool, wrap-help
-
Feature required for argc the application. Should be disabled when depending on argc as a library.
- native-runtime application = which
-
Affects
runtime::navite
… - eval eval-bash?
-
Affects
argc::eval
… - eval-bash application = eval
-
Affects
utils::ARGC_REQUIRE_TOOLS
,utils::ARGC_LOAD_DOTENV
… - build application
-
Affects
utils::ARGC_REQUIRE_TOOLS
,utils::ARGC_LOAD_DOTENV
… - mangen application = roff
- completions application
- compgen application = dirs, natord
- export application = serde_json
-
Affects
command::CommandValue
,argc::export
,param::FlagOptionValue
,param::PositionalValue
,param::EnvValue
… - wrap-help application = textwrap
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.