d-0004-clippy-feature-sync
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Sat, 2 Oct 2021 00:08:00 +0000 (01:08 +0100)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 13 Jun 2024 11:01:11 +0000 (11:01 +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-0004-clippy-feature-sync.patch

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

index a24d2f4139e89a2c393b0b26cee2653f2cb1f217..3681c85b997e90ed41bf3968219a46d2073cae05 100644 (file)
@@ -44,7 +44,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.12"
 tokio = { version = "1", features = ["io-util"] }
index 12ed65453e19ea1af3150b7e55f50c3cc024b249..f85b738ed56ddc8fb188f14199058b8f62ae645d 100644 (file)
@@ -46,10 +46,12 @@ getopts = "0.2"
 ignore = "0.4"
 itertools = "0.10"
 lazy_static = "1.4"
+# added for sync with clippy
+libc = { version = "0.2", features = ["extra_traits"] }
 log = "0.4"
 regex = "1.5"
 serde = { version = "1.0", features = ["derive"] }
-serde_json = "1.0"
+serde_json = { version = "1.0", features = ["unbounded_depth"] }
 term = "0.7"
 thiserror = "1.0"
 toml = "0.5"