Cargo Features
[dependencies]
clap-adapters = { version = "0.2.1", default-features = false, features = ["full", "reloading", "periodic"] }
- default = full
-
The
full
feature is set by default wheneverclap-adapters
is added without
somewhere in the dependency tree.default-features = false - full default = periodic, reloading
- reloading full = notify, tokio-stream
-
tokio:
Includes basic task execution capabilities
- periodic full = tokio, tokio-stream
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.