]> git.lizzy.rs Git - rust.git/blob - Cargo.toml
Rustup to rust-lang/rust#66931
[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 [badges]
22 travis-ci = { repository = "rust-lang/rust-clippy" }
23 appveyor = { repository = "rust-lang/rust-clippy" }
24
25 [[bin]]
26 name = "cargo-clippy"
27 test = false
28 path = "src/main.rs"
29
30 [[bin]]
31 name = "clippy-driver"
32 path = "src/driver.rs"
33
34 [dependencies]
35 # begin automatic update
36 clippy_lints = { version = "0.0.212", path = "clippy_lints" }
37 # end automatic update
38 regex = "1"
39 semver = "0.9"
40 rustc_tools_util = { version = "0.2.0", path = "rustc_tools_util"}
41 git2 = { version = "0.10", optional = true }
42 tempfile = { version = "3.1.0", optional = true }
43 lazy_static = "1.0"
44
45 [dev-dependencies]
46 cargo_metadata = "0.9.0"
47 compiletest_rs = { version = "0.4.0", features = ["tmp"] }
48 tester = "0.7"
49 lazy_static = "1.0"
50 clippy-mini-macro-test = { version = "0.2", path = "mini-macro" }
51 serde = { version = "1.0", features = ["derive"] }
52 derive-new = "0.5"
53
54 # A noop dependency that changes in the Rust repository, it's a bit of a hack.
55 # See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
56 # for more information.
57 rustc-workspace-hack = "1.0.0"
58
59 [build-dependencies]
60 rustc_tools_util = { version = "0.2.0", path = "rustc_tools_util"}
61
62 [features]
63 deny-warnings = []
64 integration = ["git2", "tempfile"]