]> git.lizzy.rs Git - rust.git/blob - Cargo.toml
Auto merge of #5401 - dtolnay:option, r=Manishearth
[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 # FIXME(flip1995): Add GHA badge once rust-lang/crates.io#1838 is merged
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.0.212", path = "clippy_lints" }
36 # end automatic update
37 regex = "1"
38 semver = "0.9"
39 rustc_tools_util = { version = "0.2.0", path = "rustc_tools_util"}
40 tempfile = { version = "3.1.0", optional = true }
41 lazy_static = "1.0"
42
43 [dev-dependencies]
44 cargo_metadata = "0.9.0"
45 compiletest_rs = { version = "0.4.0", features = ["tmp"] }
46 tester = "0.7"
47 lazy_static = "1.0"
48 clippy-mini-macro-test = { version = "0.2", path = "mini-macro" }
49 serde = { version = "1.0", features = ["derive"] }
50 derive-new = "0.5"
51
52 # A noop dependency that changes in the Rust repository, it's a bit of a hack.
53 # See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
54 # for more information.
55 rustc-workspace-hack = "1.0.0"
56
57 [build-dependencies]
58 rustc_tools_util = { version = "0.2.0", path = "rustc_tools_util"}
59
60 [features]
61 deny-warnings = []
62 integration = ["tempfile"]