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)
committerJeremy Bícha <jbicha@ubuntu.com>
Mon, 26 Jun 2023 21:16:27 +0000 (22:16 +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-0004-clippy-feature-sync.patch

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

index a844a5d734a471744f0cadb191f97d1f02ca2d5f..4dd3f552a71c1c4da2909e64fa7d5ca01b4b5514 100644 (file)
@@ -43,7 +43,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 27b91f25d78b5d6137090bb5ed9b94e199d8cbe7..12d156744b3b298655c1385acf9c454ed711155b 100644 (file)
@@ -49,7 +49,7 @@ lazy_static = "1.4"
 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"