]> git.proxmox.com Git - rustc.git/blob - src/tools/clippy/Cargo.toml
New upstream version 1.62.1+dfsg1
[rustc.git] / src / tools / clippy / Cargo.toml
1 [package]
2 name = "clippy"
3 version = "0.1.62"
4 description = "A bunch of helpful lints to avoid common pitfalls in Rust"
5 repository = "https://github.com/rust-lang/rust-clippy"
6 readme = "README.md"
7 license = "MIT OR Apache-2.0"
8 keywords = ["clippy", "lint", "plugin"]
9 categories = ["development-tools", "development-tools::cargo-plugins"]
10 build = "build.rs"
11 edition = "2021"
12 publish = false
13
14 [[bin]]
15 name = "cargo-clippy"
16 test = false
17 path = "src/main.rs"
18
19 [[bin]]
20 name = "clippy-driver"
21 path = "src/driver.rs"
22
23 [dependencies]
24 clippy_lints = { path = "clippy_lints" }
25 semver = "1.0"
26 rustc_tools_util = { path = "rustc_tools_util" }
27 tempfile = { version = "3.2", optional = true }
28
29 [dev-dependencies]
30 compiletest_rs = { version = "0.7.1", features = ["tmp"] }
31 tester = "0.9"
32 regex = "1.5"
33 # This is used by the `collect-metadata` alias.
34 filetime = "0.2"
35
36 # A noop dependency that changes in the Rust repository, it's a bit of a hack.
37 # See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
38 # for more information.
39 rustc-workspace-hack = "1.0"
40
41 # UI test dependencies
42 clippy_utils = { path = "clippy_utils" }
43 derive-new = "0.5"
44 if_chain = "1.0"
45 itertools = "0.10.1"
46 quote = "1.0"
47 serde = { version = "1.0.125", features = ["derive"] }
48 syn = { version = "1.0", features = ["full"] }
49 futures = "0.3"
50 parking_lot = "0.11.2"
51 tokio = { version = "1", features = ["io-util"] }
52 rustc-semver = "1.1"
53
54 [build-dependencies]
55 rustc_tools_util = { version = "0.2", path = "rustc_tools_util" }
56
57 [features]
58 deny-warnings = ["clippy_lints/deny-warnings"]
59 integration = ["tempfile"]
60 internal = ["clippy_lints/internal"]
61
62 [package.metadata.rust-analyzer]
63 # This package uses #[feature(rustc_private)]
64 rustc_private = true