]> git.lizzy.rs Git - rust.git/blob - Cargo.toml
Auto merge of #7664 - matthiaskrgr:bump_to_2021, r=flip1995
[rust.git] / Cargo.toml
1 [package]
2 name = "clippy"
3 version = "0.1.57"
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 # begin automatic update
25 clippy_lints = { version = "0.1.50", path = "clippy_lints" }
26 # end automatic update
27 semver = "0.11"
28 rustc_tools_util = { version = "0.2.0", path = "rustc_tools_util" }
29 tempfile = { version = "3.1.0", optional = true }
30
31 [dev-dependencies]
32 cargo_metadata = "0.12"
33 compiletest_rs = { version = "0.6.0", features = ["tmp"] }
34 tester = "0.9"
35 regex = "1.4"
36 # This is used by the `collect-metadata` alias.
37 filetime = "0.2"
38
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.0"
43
44 # UI test dependencies
45 clippy_utils = { path = "clippy_utils" }
46 derive-new = "0.5"
47 if_chain = "1.0"
48 itertools = "0.10.1"
49 quote = "1"
50 serde = { version = "1.0", features = ["derive"] }
51 syn = { version = "1", features = ["full"] }
52
53 [build-dependencies]
54 rustc_tools_util = { version = "0.2.0", path = "rustc_tools_util" }
55
56 [features]
57 deny-warnings = ["clippy_lints/deny-warnings"]
58 integration = ["tempfile"]
59 internal-lints = ["clippy_lints/internal-lints"]
60 metadata-collector-lint = ["internal-lints", "clippy_lints/metadata-collector-lint"]
61
62 [package.metadata.rust-analyzer]
63 # This package uses #[feature(rustc_private)]
64 rustc_private = true