Cargo Features
[dependencies]
duplicate = { version = "1.0.0", default-features = false, features = ["pretty_errors", "module_disambiguation", "fail-on-warnings"] }
- default = module_disambiguation, pretty_errors
-
These default features are set whenever
duplicate
is added without
somewhere in the dependency tree.default-features = false - pretty_errors default = proc-macro-error
- module_disambiguation default = heck
- fail-on-warnings
-
Forces compilation to fail if any warnings are given. Used in CI.
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.