cargo
1.79.0-nightly
(e3181b091 2024-04-18)
Module lints
Structs
Enums
Constants
Functions
In cargo::util
?
Settings
Module
cargo
::
util
::
lints
Copy item path
source
·
[
−
]
Structs
§
Lint
LintGroup
Enums
§
LintLevel
Constants
§
IMPLICIT_FEATURES
🔒
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
).
Functions
§
check_implicit_features
get_span
🔒
rel_cwd_manifest_path
🔒
Gets the relative path to a manifest from the current working directory, or the absolute path of the manifest if a relative path cannot be constructed