d-0005-clippy-feature-sync
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Sat, 2 Oct 2021 00:08:00 +0000 (01:08 +0100)
committerXimin Luo <infinity0@debian.org>
Tue, 29 Mar 2022 11:23:46 +0000 (12:23 +0100)
enable features needed by rustfmt to make build system happy and speedup build.
this is what rustc_workspace_hack does in the upstream build.

Gbp-Pq: Name d-0005-clippy-feature-sync.patch

src/tools/clippy/Cargo.toml
src/tools/rustfmt/Cargo.toml

index 295d1a0857e9fb27afd55ed4168d46810f6cea61..a416fb7132f8cd54620e28a9ee02ca47d4699d65 100644 (file)
@@ -25,6 +25,7 @@ clippy_lints = { version = "0.1", path = "clippy_lints" }
 semver = "1.0"
 rustc_tools_util = { version = "0.2", path = "rustc_tools_util" }
 tempfile = { version = "3.2", optional = true }
+memchr = { version = "2.4", default_features = false, features = ["use_std"] }
 
 [dev-dependencies]
 cargo_metadata = "0.14"
@@ -41,7 +42,7 @@ if_chain = "1.0"
 itertools = "0.10"
 quote = "1.0"
 serde = { version = "1.0", features = ["derive"] }
-syn = { version = "1.0", features = ["full"] }
+syn = { version = "1.0", features = ["full", "visit"] }
 
 [build-dependencies]
 rustc_tools_util = { version = "0.2", path = "rustc_tools_util" }
index f92b1dc0c0b83389f8783b01667d5f0bc0382bdb..9e3b2a76f838ccf744b9a3731fc62e1d5c8e7365 100644 (file)
@@ -36,7 +36,7 @@ generic-simd = ["bytecount/generic-simd"]
 itertools = "0.9"
 toml = "0.5"
 serde = { version = "1.0", features = ["derive"] }
-serde_json = "1.0"
+serde_json = { version = "1.0", features = ["unbounded_depth"] }
 unicode-segmentation = "1.0.0"
 regex = "1.0"
 term = "0.6"