]> git.lizzy.rs Git - rust.git/blobdiff - Cargo.toml
Auto merge of #4922 - oli-cosmian:patch-1, r=flip1995
[rust.git] / Cargo.toml
index feafb83f3c53718330c439ee4fbf3391476d2f15..6b757ac0a2fc6efee8316ca6e02d51b0be3babd4 100644 (file)
@@ -1,8 +1,6 @@
-cargo-features = ["edition"]
-
 [package]
 name = "clippy"
-version = "0.0.206"
+version = "0.0.212"
 authors = [
        "Manish Goregaokar <manishsmail@gmail.com>",
        "Andre Bogus <bogusandre@gmail.com>",
@@ -11,22 +9,18 @@ authors = [
        "Oliver Schneider <clippy-iethah7aipeen8neex1a@oli-obk.de>"
 ]
 description = "A bunch of helpful lints to avoid common pitfalls in Rust"
-repository = "https://github.com/rust-lang-nursery/rust-clippy"
+repository = "https://github.com/rust-lang/rust-clippy"
 readme = "README.md"
-license = "MPL-2.0"
+license = "MIT OR Apache-2.0"
 keywords = ["clippy", "lint", "plugin"]
 categories = ["development-tools", "development-tools::cargo-plugins"]
 build = "build.rs"
 edition = "2018"
+publish = false
 
 [badges]
-travis-ci = { repository = "rust-lang-nursery/rust-clippy" }
-appveyor = { repository = "rust-lang-nursery/rust-clippy" }
-
-[lib]
-name = "clippy"
-plugin = true
-test = false
+travis-ci = { repository = "rust-lang/rust-clippy" }
+appveyor = { repository = "rust-lang/rust-clippy" }
 
 [[bin]]
 name = "cargo-clippy"
@@ -35,28 +29,36 @@ path = "src/main.rs"
 
 [[bin]]
 name = "clippy-driver"
-test = false
 path = "src/driver.rs"
 
 [dependencies]
 # begin automatic update
-clippy_lints = { version = "0.0.206", path = "clippy_lints" }
+clippy_lints = { version = "0.0.212", path = "clippy_lints" }
 # end automatic update
 regex = "1"
 semver = "0.9"
+rustc_tools_util = { version = "0.2.0", path = "rustc_tools_util"}
+git2 = { version = "0.10", optional = true }
+tempfile = { version = "3.1.0", optional = true }
+lazy_static = "1.0"
 
 [dev-dependencies]
-cargo_metadata = "0.5"
-compiletest_rs = "0.3.7"
+cargo_metadata = "0.9.0"
+compiletest_rs = { version = "0.4.0", features = ["tmp"] }
+tester = "0.7"
 lazy_static = "1.0"
-serde_derive = "1.0"
 clippy-mini-macro-test = { version = "0.2", path = "mini-macro" }
-serde = "1.0"
+serde = { version = "1.0", features = ["derive"] }
 derive-new = "0.5"
 
+# A noop dependency that changes in the Rust repository, it's a bit of a hack.
+# See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
+# for more information.
+rustc-workspace-hack = "1.0.0"
+
 [build-dependencies]
-rustc_version = "0.2.2"
-ansi_term = "0.11"
+rustc_tools_util = { version = "0.2.0", path = "rustc_tools_util"}
 
 [features]
-debugging = []
+deny-warnings = []
+integration = ["git2", "tempfile"]