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 = { path = "clippy_lints" }
26 rustc_tools_util = { path = "rustc_tools_util" }
27 tempfile = { version = "3.2", optional = true }
31 compiletest_rs = { version = "0.8", features = ["tmp"] }
36 # This is used by the `collect-metadata` alias.
39 # A noop dependency that changes in the Rust repository, it's a bit of a hack.
40 # See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
41 # for more information.
42 rustc-workspace-hack = "1.0"
44 # UI test dependencies
45 clippy_utils = { path = "clippy_utils" }
50 serde = { version = "1.0.125", features = ["derive"] }
51 syn = { version = "1.0", features = ["full"] }
54 tokio = { version = "1", features = ["io-util"] }
58 rustc_tools_util = { version = "0.2", path = "rustc_tools_util" }
61 deny-warnings = ["clippy_lints/deny-warnings"]
62 integration = ["tempfile"]
63 internal = ["clippy_lints/internal", "tempfile"]
65 [package.metadata.rust-analyzer]
66 # This package uses #[feature(rustc_private)]