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>
Fri, 22 Oct 2021 22:29:14 +0000 (23:29 +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 e67910cf00ef150668ef9f3f2f5fb6856330bd6a..781600fd9e2cea6988472d1805baa8f0bef614ac 100644 (file)
@@ -36,7 +36,7 @@ serde = { version = "1.0", features = ["derive"] }
 derive-new = "0.5"
 regex = "1.4"
 quote = "1"
-syn = { version = "1", features = ["full"] }
+syn = { version = "1", features = ["full", "visit"] }
 # This is used by the `collect-metadata` alias.
 filetime = "0.2"
 
index 049b105ebb79a0b53a90494598a796b853a4fb23..cc480a1ca1008326ea8a4da4c775de0db51fa0db 100644 (file)
@@ -36,7 +36,7 @@ generic-simd = ["bytecount/generic-simd"]
 itertools = "0.8"
 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"