Cargo Features
[dependencies]
duvet-core = { version = "0.4.1", default-features = false, features = ["diff", "http", "testing"] }
- default = diff, http
-
These default features are set whenever
duvet-core
is added without
somewhere in the dependency tree.default-features = false - diff default
-
Enables similar
Affects
duvet-core::diff
… - http default = reqwest
-
Enables http
Affects
duvet-core::http
… - testing = tracing-subscriber
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.