Skip to content

Commit 109a13b

Browse files
committed
Remove workspace deps in templates
1 parent 2352982 commit 109a13b

File tree

5 files changed

+6
-8
lines changed

5 files changed

+6
-8
lines changed

.github/workflows/misc-sync-templates.yml

-2
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,6 @@ jobs:
106106
mv Cargo.temp ./templates/${{ matrix.template }}/Cargo.toml
107107
108108
toml get Cargo.toml 'workspace.lints' --output-toml >> ./templates/${{ matrix.template }}/Cargo.toml
109-
110-
toml get Cargo.toml 'workspace.dependencies' --output-toml >> ./templates/${{ matrix.template }}/Cargo.toml
111109
working-directory: polkadot-sdk
112110
- name: Print the result Cargo.tomls for debugging
113111
if: runner.debug == '1'

templates/minimal/node/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ clap = { version = "4.5.3", features = ["derive"] }
2121
futures = { version = "0.3.30", features = ["thread-pool"] }
2222
futures-timer = "3.0.1"
2323
jsonrpsee = { version = "0.22", features = ["server"] }
24-
serde_json = { workspace = true, default-features = true }
24+
serde_json = { version = "1.0.114", default-features = true }
2525

2626
sc-cli = { path = "../../../substrate/client/cli" }
2727
sc-executor = { path = "../../../substrate/client/executor" }

templates/parachain/node/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ workspace = true
1818

1919
[dependencies]
2020
clap = { version = "4.5.3", features = ["derive"] }
21-
log = { workspace = true, default-features = true }
21+
log = { version = "0.4.21", default-features = true }
2222
codec = { package = "parity-scale-codec", version = "3.6.12" }
23-
serde = { features = ["derive"], workspace = true, default-features = true }
23+
serde = { features = ["derive"], version = "1.0.197", default-features = true }
2424
jsonrpsee = { version = "0.22", features = ["server"] }
2525
futures = "0.3.28"
26-
serde_json = { workspace = true, default-features = true }
26+
serde_json = { version = "1.0.114", default-features = true }
2727
docify = "0.2.8"
2828

2929
# Local

templates/parachain/runtime/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ codec = { package = "parity-scale-codec", version = "3.6.12", default-features =
2424
"derive",
2525
] }
2626
hex-literal = { version = "0.4.1", optional = true }
27-
log = { workspace = true }
27+
log = { version = "0.4.21" }
2828
scale-info = { version = "2.11.1", default-features = false, features = [
2929
"derive",
3030
] }

templates/solochain/node/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ targets = ["x86_64-unknown-linux-gnu"]
2020
[dependencies]
2121
clap = { version = "4.5.3", features = ["derive"] }
2222
futures = { version = "0.3.30", features = ["thread-pool"] }
23-
serde_json = { workspace = true, default-features = true }
23+
serde_json = { version = "1.0.114", default-features = true }
2424
jsonrpsee = { version = "0.22", features = ["server"] }
2525

2626
# substrate client

0 commit comments

Comments
 (0)