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 # begin automatic update
25 clippy_lints = { version = "0.1.50", path = "clippy_lints" }
26 # end automatic update
28 rustc_tools_util = { version = "0.2.0", path = "rustc_tools_util" }
29 tempfile = { version = "3.1.0", optional = true }
32 cargo_metadata = "0.12"
33 compiletest_rs = { version = "0.6.0", features = ["tmp"] }
35 serde = { version = "1.0", features = ["derive"] }
39 syn = { version = "1", features = ["full"] }
40 # This is used by the `collect-metadata` alias.
43 # A noop dependency that changes in the Rust repository, it's a bit of a hack.
44 # See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
45 # for more information.
46 rustc-workspace-hack = "1.0.0"
49 rustc_tools_util = { version = "0.2.0", path = "rustc_tools_util" }
52 deny-warnings = ["clippy_lints/deny-warnings"]
53 integration = ["tempfile"]
54 internal-lints = ["clippy_lints/internal-lints"]
55 metadata-collector-lint = ["internal-lints", "clippy_lints/metadata-collector-lint"]
57 [package.metadata.rust-analyzer]
58 # This package uses #[feature(rustc_private)]