Cargo Features
Dylint has no features set by default.
[dependencies]
dylint = { version = "3.0.1", features = ["library_packages", "package_options", "cargo", "cargo-platform", "curl-sys"] }
- library_packages = cargo-util, dunce, fs_extra, glob, hex, home, if_chain, serde-untagged, toml, url
- package_options = heck, if_chain
-
Enables clippy_utils of dylint_internal
Affects
opts::New
,opts::Upgrade
…
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.
- cargo implicit feature
-
Enables cargo ^0.75
smoelius: The
cargo
dependency should be kept in sync with dylint/src/metadata/cargo/toml.rs. - cargo-platform implicit feature
-
Enables cargo-platform
cargo-platform:
Cargo's representation of a target platform
- cargo-util library_packages?
- dunce library_packages?
- fs_extra library_packages?
- glob library_packages?
- heck package_options?
- hex library_packages?
- home library_packages?
- if_chain library_packages? package_options?
- serde-untagged library_packages?
- toml library_packages?
- url library_packages?
- curl-sys implicit feature
-
Enables curl-sys
smoelius: Work around: https://github.com/curl/curl/issues/11893 See: https://github.com/alexcrichton/curl-rust/issues/524#issuecomment-1703325064