Lift dependencies to the workspace (Part 2/x) (#3366)

Lifting some more dependencies to the workspace. Just using the
most-often updated ones for now.
It can be reproduced locally.

```sh
# First you can check if there would be semver incompatible bumps (looks good in this case):
$ zepter transpose dependency lift-to-workspace --ignore-errors syn quote thiserror "regex:^serde.*"

# Then apply the changes:
$ zepter transpose dependency lift-to-workspace --version-resolver=highest syn quote thiserror "regex:^serde.*" --fix

# And format the changes:
$ taplo format --config .config/taplo.toml
```

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
Oliver Tale-Yazdi
2024-02-20 15:28:05 +01:00
committed by GitHub
parent ef6ac94f52
commit e89d0fca35
185 changed files with 283 additions and 274 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
array-bytes = { version = "6.1", default-features = false }
serde = { version = "1.0.196", default-features = false, features = ["alloc", "derive"] }
serde = { features = ["alloc", "derive"], workspace = true }
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive", "max-encoded-len"] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-metadata = { version = "16.0.0", default-features = false, features = ["current"] }
@@ -46,7 +46,7 @@ sp-crypto-hashing-proc-macro = { path = "../../primitives/crypto/hashing/proc-ma
k256 = { version = "0.13.1", default-features = false, features = ["ecdsa"] }
environmental = { version = "1.1.4", default-features = false }
sp-genesis-builder = { path = "../../primitives/genesis-builder", default-features = false }
serde_json = { version = "1.0.113", default-features = false, features = ["alloc"] }
serde_json = { features = ["alloc"], workspace = true }
docify = "0.2.7"
static_assertions = "1.1.0"
@@ -23,8 +23,8 @@ Inflector = "0.11.4"
cfg-expr = "0.15.5"
itertools = "0.10.3"
proc-macro2 = "1.0.56"
quote = "1.0.28"
syn = { version = "2.0.49", features = ["full", "visit-mut"] }
quote = { workspace = true }
syn = { features = ["full", "visit-mut"], workspace = true }
frame-support-procedural-tools = { path = "tools" }
macro_magic = { version = "0.5.0", features = ["proc_support"] }
proc-macro-warning = { version = "1.0.0", default-features = false }
@@ -17,6 +17,6 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
proc-macro-crate = "3.0.0"
proc-macro2 = "1.0.56"
quote = "1.0.28"
syn = { version = "2.0.49", features = ["extra-traits", "full", "visit"] }
quote = { workspace = true }
syn = { features = ["extra-traits", "full", "visit"], workspace = true }
frame-support-procedural-tools-derive = { path = "derive" }
@@ -19,5 +19,5 @@ proc-macro = true
[dependencies]
proc-macro2 = "1.0.56"
quote = { version = "1.0.28", features = ["proc-macro"] }
syn = { version = "2.0.49", features = ["extra-traits", "full", "parsing", "proc-macro"] }
quote = { features = ["proc-macro"], workspace = true }
syn = { features = ["extra-traits", "full", "parsing", "proc-macro"], workspace = true }
+1 -1
View File
@@ -16,7 +16,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
static_assertions = "1.1.0"
serde = { version = "1.0.196", default-features = false, features = ["derive"] }
serde = { features = ["derive"], workspace = true }
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-metadata = { version = "16.0.0", default-features = false, features = ["current"] }
@@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
serde = { version = "1.0.196", default-features = false, features = ["derive"] }
serde = { features = ["derive"], workspace = true }
frame-support = { path = "../..", default-features = false }
frame-system = { path = "../../../system", default-features = false }
sp-runtime = { path = "../../../../primitives/runtime", default-features = false }