Cargo Features
[dependencies]
dipstick = { version = "0.9.2", default-features = false, features = ["self_metrics", "tokio", "bench", "crossbeam-channel", "parking_lot", "tiny_http", "doc-comment"] }
- default = crossbeam-channel, parking_lot, self_metrics
-
These default features are set whenever
dipstick
is added without
somewhere in the dependency tree.default-features = false - self_metrics default
- tokio
- bench
-
Affects
dipstick::bench
…
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.
- crossbeam-channel default
- parking_lot default
- tiny_http implicit feature
-
Enables tiny_http
optional dep for standalone http pull metrics
- doc-comment implicit feature
-
Enables doc-comment
doc-comment:
Macro to generate doc comments