]> git.lizzy.rs Git - rust.git/blob - Cargo.toml
Get rid of some unused dependecies
[rust.git] / Cargo.toml
1 [package]
2 name = "clippy"
3 version = "0.1.52"
4 authors = ["The Rust Clippy Developers"]
5 description = "A bunch of helpful lints to avoid common pitfalls in Rust"
6 repository = "https://github.com/rust-lang/rust-clippy"
7 readme = "README.md"
8 license = "MIT OR Apache-2.0"
9 keywords = ["clippy", "lint", "plugin"]
10 categories = ["development-tools", "development-tools::cargo-plugins"]
11 build = "build.rs"
12 edition = "2018"
13 publish = false
14
15 [[bin]]
16 name = "cargo-clippy"
17 test = false
18 path = "src/main.rs"
19
20 [[bin]]
21 name = "clippy-driver"
22 path = "src/driver.rs"
23
24 [dependencies]
25 # begin automatic update
26 clippy_lints = { version = "0.1.50", path = "clippy_lints" }
27 # end automatic update
28 semver = "0.11"
29 rustc_tools_util = { version = "0.2.0", path = "rustc_tools_util" }
30 tempfile = { version = "3.1.0", optional = true }
31
32 [dev-dependencies]
33 cargo_metadata = "0.12"
34 compiletest_rs = { version = "0.6.0", features = ["tmp"] }
35 tester = "0.9"
36 clippy-mini-macro-test = { version = "0.2", path = "mini-macro" }
37 serde = { version = "1.0", features = ["derive"] }
38 derive-new = "0.5"
39 regex = "1.4"
40 quote = "1"
41 syn = { version = "1", features = ["full"] }
42
43 # A noop dependency that changes in the Rust repository, it's a bit of a hack.
44 # See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
45 # for more information.
46 rustc-workspace-hack = "1.0.0"
47
48 [build-dependencies]
49 rustc_tools_util = { version = "0.2.0", path = "rustc_tools_util" }
50
51 [features]
52 deny-warnings = []
53 integration = ["tempfile"]
54 internal-lints = ["clippy_lints/internal-lints"]
55
56 [package.metadata.rust-analyzer]
57 # This package uses #[feature(rustc_private)]
58 rustc_private = true