Cargo Features
[dependencies]
rotz = { version = "0.10.0", default-features = false, features = ["yaml", "toml", "json", "all-formats", "profiling", "tracing-subscriber"] }
- default = all-formats
-
These default features are set whenever
rotz
is added without
somewhere in the dependency tree.default-features = false Enables http_attohttpc of handlebars_misc_helpers ^0.13.0
- yaml all-formats = serde_yaml
- toml all-formats = serde_toml
- json all-formats = serde_json
- all-formats default = json, toml, yaml
- profiling = tracing, tracing-tracy
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.
- serde_yaml yaml?
- serde_toml toml?
-
Enables toml
- serde_json json?
- tracing profiling?
- tracing-tracy profiling?
-
Enables tracing-tracy ^0.10.4
- tracing-subscriber implicit feature
-
Enables tracing-subscriber
tracing-subscriber:
Utilities for implementing and composing
tracing
subscribers