From: Debian Rust Maintainers Date: Sat, 2 Oct 2021 00:08:00 +0000 (+0100) Subject: d-0004-clippy-feature-sync X-Git-Tag: archive/raspbian/1.66.0+dfsg1-1+rpi1^2~25 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7f050554fcd85f830a6f76ecea4381701b5cd1e0;p=rustc.git d-0004-clippy-feature-sync 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 --- diff --git a/src/tools/clippy/Cargo.toml b/src/tools/clippy/Cargo.toml index 3980db9f57..fdf1a03ebb 100644 --- a/src/tools/clippy/Cargo.toml +++ b/src/tools/clippy/Cargo.toml @@ -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"] } diff --git a/src/tools/rustfmt/Cargo.toml b/src/tools/rustfmt/Cargo.toml index 27b91f25d7..12d156744b 100644 --- a/src/tools/rustfmt/Cargo.toml +++ b/src/tools/rustfmt/Cargo.toml @@ -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"