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