]> git.lizzy.rs Git - rust.git/blob - Cargo.toml
Auto merge of #6780 - matthiaskrgr:lintcheck2, r=flip1995
[rust.git] / Cargo.toml
1 [package]
2 name = "clippy"
3 version = "0.1.52"
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 [workspace]
22 exclude = ["clippy_dev", "mini-macro", "target/lintcheck/crates"]
23
24 [[bin]]
25 name = "cargo-clippy"
26 test = false
27 path = "src/main.rs"
28
29 [[bin]]
30 name = "clippy-driver"
31 path = "src/driver.rs"
32
33 [dependencies]
34 # begin automatic update
35 clippy_lints = { version = "0.1.50", path = "clippy_lints" }
36 # end automatic update
37 semver = "0.11"
38 rustc_tools_util = { version = "0.2.0", path = "rustc_tools_util" }
39 tempfile = { version = "3.1.0", optional = true }
40
41 [dev-dependencies]
42 cargo_metadata = "0.12"
43 compiletest_rs = { version = "0.6.0", features = ["tmp"] }
44 tester = "0.9"
45 clippy-mini-macro-test = { version = "0.2", path = "mini-macro" }
46 serde = { version = "1.0", features = ["derive"] }
47 derive-new = "0.5"
48
49 # A noop dependency that changes in the Rust repository, it's a bit of a hack.
50 # See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
51 # for more information.
52 rustc-workspace-hack = "1.0.0"
53
54 [build-dependencies]
55 rustc_tools_util = { version = "0.2.0", path = "rustc_tools_util" }
56
57 [features]
58 deny-warnings = []
59 integration = ["tempfile"]
60 internal-lints = ["clippy_lints/internal-lints"]