Cargo Features
[dependencies]
metrics-dashboard = { version = "0.3.3", default-features = false, features = ["embed", "system"] }
- default = embed
-
The
embed
feature is set by default whenevermetrics-dashboard
is added without
somewhere in the dependency tree.default-features = false - embed default = rust-embed
-
Affects
metrics-dashboard::Files
… - system = sysinfo
-
Affects
metrics-dashboard::metrics_process
…
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.
- rust-embed embed
- sysinfo system?
-
Enables sysinfo ^0.32