4 authors = ["The Rust Clippy Developers"]
5 description = "A bunch of helpful lints to avoid common pitfalls in Rust"
6 repository = "https://github.com/rust-lang/rust-clippy"
8 license = "MIT OR Apache-2.0"
9 keywords = ["clippy", "lint", "plugin"]
10 categories = ["development-tools", "development-tools::cargo-plugins"]
21 name = "clippy-driver"
22 path = "src/driver.rs"
25 # begin automatic update
26 clippy_lints = { version = "0.1.50", path = "clippy_lints" }
27 # end automatic update
29 rustc_tools_util = { version = "0.2.0", path = "rustc_tools_util" }
30 tempfile = { version = "3.1.0", optional = true }
33 cargo_metadata = "0.12"
34 compiletest_rs = { version = "0.6.0", features = ["tmp"] }
36 serde = { version = "1.0", features = ["derive"] }
40 syn = { version = "1", features = ["full"] }
41 # This is used by the `collect-metadata` alias.
44 # A noop dependency that changes in the Rust repository, it's a bit of a hack.
45 # See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
46 # for more information.
47 rustc-workspace-hack = "1.0.0"
50 rustc_tools_util = { version = "0.2.0", path = "rustc_tools_util" }
53 deny-warnings = ["clippy_lints/deny-warnings"]
54 integration = ["tempfile"]
55 internal-lints = ["clippy_lints/internal-lints"]
56 metadata-collector-lint = ["internal-lints", "clippy_lints/metadata-collector-lint"]
58 [package.metadata.rust-analyzer]
59 # This package uses #[feature(rustc_private)]