Cargo Features

[dependencies]
duplicate = { version = "2.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 default-features = false somewhere in the dependency tree.

pretty_errors default

Enables proc-macro2 and proc-macro2-diagnostics

module_disambiguation default

Enables heck

fail-on-warnings

Forces compilation to fail if any warnings are given. Used in CI.