Constant cargo::util::lints::IMPLICIT_FEATURES
source ยท const IMPLICIT_FEATURES: Lint;
Expand description
By default, cargo will treat any optional dependency as a feature. As of
cargo 1.60, these can be disabled by declaring a feature that activates the
optional dependency as dep:<name>
(see RFC #3143).
In the 2024 edition, cargo
will stop exposing optional dependencies as
features implicitly, requiring users to add foo = ["dep:foo"]
if they
still want it exposed.
For more information, see RFC #3491