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)
committerFabian Gruenbichler <debian@fabian.gruenbichler.email>
Mon, 31 Oct 2022 13:19:34 +0000 (13:19 +0000)
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 b3540ba523e2491ad4c802f593cc9a9416363cfa..06aef2bbaebf664f30d68d4e22836245f4c34e3e 100644 (file)
@@ -25,6 +25,7 @@ clippy_lints = { path = "clippy_lints" }
 semver = "1.0"
 rustc_tools_util = { path = "rustc_tools_util" }
 tempfile = { version = "3.2", optional = true }
+memchr = { version = "2.4", default_features = false, features = ["use_std"] }
 
 [dev-dependencies]
 compiletest_rs = { version = "0.7.1", features = ["tmp"] }
@@ -40,7 +41,7 @@ if_chain = "1.0"
 itertools = "0.10.1"
 quote = "1.0"
 serde = { version = "1.0.125", features = ["derive"] }
-syn = { version = "1.0", features = ["full"] }
+syn = { version = "1.0", features = ["full", "visit"] }
 futures = "0.3"
 parking_lot = "0.11.2"
 tokio = { version = "1", features = ["io-util"] }
index 22fef4461c702bbd9508b8557415ed5ba9ff8b49..1dba61d5df6024a5d6a13fb5a4ee5e8609aa4e6f 100644 (file)
@@ -36,7 +36,7 @@ generic-simd = ["bytecount/generic-simd"]
 itertools = "0.10.1"
 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"