Cargo Features
Dylint has no features set by default.
[dependencies]
dylint = { version = "3.5.0", features = ["library_packages", "package_options", "cargo", "cargo-platform"] }
- library_packages = cargo-util, cargo-util-schemas, dunce, fs_extra, glob, hex, if_chain, serde-untagged, toml, url
-
Enables home of dylint_internal
- package_options = chrono, heck, if_chain, rewriter, syntect
-
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.81
smoelius: The
cargo
dependency should be kept in sync with: dylint/src/library_packages/cargo_lib/toml/mod.rs - cargo-platform implicit feature
-
Enables cargo-platform
cargo-platform:
Cargo's representation of a target platform
- cargo-util library_packages?
- cargo-util-schemas library_packages?
- chrono package_options?
- dunce library_packages?
- fs_extra library_packages?
- glob library_packages?
- heck package_options?
- hex library_packages?
- if_chain library_packages? package_options?
- rewriter package_options?
- serde-untagged library_packages?
- syntect package_options?
-
Enables syntect
smoelius:
syntect
can tokenize incomplete Rust fragments, e.g., code with unbalanced delimiters. - toml library_packages?
- url library_packages?