]> git.lizzy.rs Git - rust.git/blob - Cargo.toml
Merge remote-tracking branch 'upstream/master' into rustup
[rust.git] / Cargo.toml
1 [package]
2 name = "clippy"
3 version = "0.1.55"
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 serde = { version = "1.0", features = ["derive"] }
37 derive-new = "0.5"
38 regex = "1.4"
39 quote = "1"
40 syn = { version = "1", features = ["full"] }
41 # This is used by the `collect-metadata` alias.
42 filetime = "0.2"
43
44 # A noop dependency that changes in the Rust repository, it's a bit of a hack.
45 # See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
46 # for more information.
47 rustc-workspace-hack = "1.0.0"
48
49 [build-dependencies]
50 rustc_tools_util = { version = "0.2.0", path = "rustc_tools_util" }
51
52 [features]
53 deny-warnings = ["clippy_lints/deny-warnings"]
54 integration = ["tempfile"]
55 internal-lints = ["clippy_lints/internal-lints"]
56 metadata-collector-lint = ["internal-lints", "clippy_lints/metadata-collector-lint"]
57
58 [package.metadata.rust-analyzer]
59 # This package uses #[feature(rustc_private)]
60 rustc_private = true