Cargo Features
[dependencies]
clap-adapters = { version = "0.2.2", 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.
- notify reloading?
-
Enables notify ^6.1.1
Optional dependencies
- tokio periodic? reloading?
- tokio-stream periodic? reloading?