4 description = "A bunch of helpful lints to avoid common pitfalls in Rust"
5 repository = "https://github.com/rust-lang/rust-clippy"
7 license = "MIT OR Apache-2.0"
8 keywords = ["clippy", "lint", "plugin"]
9 categories = ["development-tools", "development-tools::cargo-plugins"]
20 name = "clippy-driver"
21 path = "src/driver.rs"
24 clippy_lints = { version = "0.1", path = "clippy_lints" }
26 rustc_tools_util = { version = "0.2", path = "rustc_tools_util" }
27 tempfile = { version = "3.2", optional = true }
30 cargo_metadata = "0.14"
31 compiletest_rs = { version = "0.7.1", features = ["tmp"] }
34 # This is used by the `collect-metadata` alias.
37 # A noop dependency that changes in the Rust repository, it's a bit of a hack.
38 # See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
39 # for more information.
40 rustc-workspace-hack = "1.0"
42 # UI test dependencies
43 clippy_utils = { path = "clippy_utils" }
48 serde = { version = "1.0", features = ["derive"] }
49 syn = { version = "1.0", features = ["full"] }
52 rustc_tools_util = { version = "0.2", path = "rustc_tools_util" }
55 deny-warnings = ["clippy_lints/deny-warnings"]
56 integration = ["tempfile"]
57 internal-lints = ["clippy_lints/internal-lints"]
58 metadata-collector-lint = ["internal-lints", "clippy_lints/metadata-collector-lint"]
60 [package.metadata.rust-analyzer]
61 # This package uses #[feature(rustc_private)]