Cargo Features
[dependencies]
take-breath = { version = "0.1.5", default-features = false, features = ["notify", "config", "cli"] }
- default = cli, config, notify
-
These default features are set whenever
take-breath
is added without
somewhere in the dependency tree.default-features = false - notify default = notify-rust
- config default = dirs, humantime-serde, toml
-
Enables serde
Affects
take-breath::config
… - cli default = clap
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.
- clap cli
-
Enables clap ^2.33.3
- notify-rust notify
- dirs config
-
Enables dirs ^3.0.2
- toml config
-
Enables toml ^0.5.8
- serde config
- humantime-serde config