Cargo Features
[dependencies]
bugreport = { version = "0.5.0", default-features = false, features = ["collector_operating_system", "git_hash", "format_markdown", "format_plaintext"] }
- default = collector_operating_system, format_markdown, git_hash
-
These default features are set whenever
bugreport
is added without
somewhere in the dependency tree.default-features = false - collector_operating_system default = sys-info
-
Affects
collector::OperatingSystem
… - git_hash default = git-version
- format_markdown default
- format_plaintext
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.