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 clippy-mini-macro-test = { version = "0.2", path = "mini-macro" }
37 serde = { version = "1.0", features = ["derive"] }
41 syn = { version = "1", features = ["full"] }
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" }
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)]