]> git.lizzy.rs Git - rust.git/blob - Cargo.toml
Merge pull request #2917 from mikerite/issue2894
[rust.git] / Cargo.toml
1 cargo-features = ["edition"]
2
3 [package]
4 name = "clippy"
5 version = "0.0.212"
6 authors = [
7         "Manish Goregaokar <manishsmail@gmail.com>",
8         "Andre Bogus <bogusandre@gmail.com>",
9         "Georg Brandl <georg@python.org>",
10         "Martin Carton <cartonmartin@gmail.com>",
11         "Oliver Schneider <clippy-iethah7aipeen8neex1a@oli-obk.de>"
12 ]
13 description = "A bunch of helpful lints to avoid common pitfalls in Rust"
14 repository = "https://github.com/rust-lang-nursery/rust-clippy"
15 readme = "README.md"
16 license = "MPL-2.0"
17 keywords = ["clippy", "lint", "plugin"]
18 categories = ["development-tools", "development-tools::cargo-plugins"]
19 build = "build.rs"
20 edition = "2018"
21
22 [badges]
23 travis-ci = { repository = "rust-lang-nursery/rust-clippy" }
24 appveyor = { repository = "rust-lang-nursery/rust-clippy" }
25
26 [lib]
27 name = "clippy"
28 plugin = true
29 test = false
30
31 [[bin]]
32 name = "cargo-clippy"
33 test = false
34 path = "src/main.rs"
35
36 [[bin]]
37 name = "clippy-driver"
38 test = false
39 path = "src/driver.rs"
40
41 [dependencies]
42 # begin automatic update
43 clippy_lints = { version = "0.0.212", path = "clippy_lints" }
44 # end automatic update
45 regex = "1"
46 semver = "0.9"
47
48 # Not actually needed right now but required to make sure that clippy/ and cargo build
49 # with the same set of features in rust-lang/rust
50 num-traits = "0.2" # enable the default feature
51 backtrace = "0.3"
52
53 # keep in sync with `cargo`'s `Cargo.toml'
54 [target.'cfg(windows)'.dependencies.winapi]
55 version = "0.3"
56 features = [
57   # keep in sync with `cargo`'s `Cargo.toml'
58   "handleapi",
59   "jobapi",
60   "jobapi2",
61   "minwindef",
62   "ntdef",
63   "ntstatus",
64   "processenv",
65   "processthreadsapi",
66   "psapi",
67   "synchapi",
68   "winerror",
69   "winbase",
70   "wincon",
71   "winnt",
72   # no idea where these come from
73   "basetsd",
74   "lmcons",
75   "memoryapi",
76   "minschannel",
77   "minwinbase",
78   "ntsecapi",
79   "profileapi",
80   "schannel",
81   "securitybaseapi",
82   "synchapi",
83   "sysinfoapi",
84   "timezoneapi",
85   "wincrypt",
86 ]
87
88 [dev-dependencies]
89 cargo_metadata = "0.5"
90 compiletest_rs = "0.3.7"
91 lazy_static = "1.0"
92 serde_derive = "1.0"
93 clippy-mini-macro-test = { version = "0.2", path = "mini-macro" }
94 serde = "1.0"
95 derive-new = "0.5"
96
97 [build-dependencies]
98 rustc_version = "0.2.2"
99 ansi_term = "0.11"
100
101 [features]
102 debugging = []