]> git.lizzy.rs Git - rust.git/blob - Cargo.toml
Rollup merge of #6308 - matthiaskrgr:internal_lints, r=flip1995
[rust.git] / Cargo.toml
1 [package]
2 name = "clippy"
3 version = "0.0.212"
4 authors = [
5         "Manish Goregaokar <manishsmail@gmail.com>",
6         "Andre Bogus <bogusandre@gmail.com>",
7         "Georg Brandl <georg@python.org>",
8         "Martin Carton <cartonmartin@gmail.com>",
9         "Oliver Schneider <clippy-iethah7aipeen8neex1a@oli-obk.de>"
10 ]
11 description = "A bunch of helpful lints to avoid common pitfalls in Rust"
12 repository = "https://github.com/rust-lang/rust-clippy"
13 readme = "README.md"
14 license = "MIT OR Apache-2.0"
15 keywords = ["clippy", "lint", "plugin"]
16 categories = ["development-tools", "development-tools::cargo-plugins"]
17 build = "build.rs"
18 edition = "2018"
19 publish = false
20
21 [[bin]]
22 name = "cargo-clippy"
23 test = false
24 path = "src/main.rs"
25
26 [[bin]]
27 name = "clippy-driver"
28 path = "src/driver.rs"
29
30 [dependencies]
31 # begin automatic update
32 clippy_lints = { version = "0.0.212", path = "clippy_lints" }
33 # end automatic update
34 semver = "0.11"
35 rustc_tools_util = { version = "0.2.0", path = "rustc_tools_util" }
36 tempfile = { version = "3.1.0", optional = true }
37
38 [dev-dependencies]
39 cargo_metadata = "0.12"
40 compiletest_rs = { version = "0.5.0", features = ["tmp"] }
41 tester = "0.7"
42 clippy-mini-macro-test = { version = "0.2", path = "mini-macro" }
43 serde = { version = "1.0", features = ["derive"] }
44 derive-new = "0.5"
45
46 # A noop dependency that changes in the Rust repository, it's a bit of a hack.
47 # See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
48 # for more information.
49 rustc-workspace-hack = "1.0.0"
50
51 [build-dependencies]
52 rustc_tools_util = { version = "0.2.0", path = "rustc_tools_util" }
53
54 [features]
55 deny-warnings = []
56 integration = ["tempfile"]
57 internal-lints = ["clippy_lints/internal-lints"]