Skip to content

Commit

Permalink
Remove workspace deps in templates
Browse files Browse the repository at this point in the history
  • Loading branch information
rzadp committed May 27, 2024
1 parent 2352982 commit 109a13b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/misc-sync-templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,6 @@ jobs:
mv Cargo.temp ./templates/${{ matrix.template }}/Cargo.toml
toml get Cargo.toml 'workspace.lints' --output-toml >> ./templates/${{ matrix.template }}/Cargo.toml
toml get Cargo.toml 'workspace.dependencies' --output-toml >> ./templates/${{ matrix.template }}/Cargo.toml
working-directory: polkadot-sdk
- name: Print the result Cargo.tomls for debugging
if: runner.debug == '1'
Expand Down
2 changes: 1 addition & 1 deletion templates/minimal/node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ clap = { version = "4.5.3", features = ["derive"] }
futures = { version = "0.3.30", features = ["thread-pool"] }
futures-timer = "3.0.1"
jsonrpsee = { version = "0.22", features = ["server"] }
serde_json = { workspace = true, default-features = true }
serde_json = { version = "1.0.114", default-features = true }

sc-cli = { path = "../../../substrate/client/cli" }
sc-executor = { path = "../../../substrate/client/executor" }
Expand Down
6 changes: 3 additions & 3 deletions templates/parachain/node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ workspace = true

[dependencies]
clap = { version = "4.5.3", features = ["derive"] }
log = { workspace = true, default-features = true }
log = { version = "0.4.21", default-features = true }
codec = { package = "parity-scale-codec", version = "3.6.12" }
serde = { features = ["derive"], workspace = true, default-features = true }
serde = { features = ["derive"], version = "1.0.197", default-features = true }
jsonrpsee = { version = "0.22", features = ["server"] }
futures = "0.3.28"
serde_json = { workspace = true, default-features = true }
serde_json = { version = "1.0.114", default-features = true }
docify = "0.2.8"

# Local
Expand Down
2 changes: 1 addition & 1 deletion templates/parachain/runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ codec = { package = "parity-scale-codec", version = "3.6.12", default-features =
"derive",
] }
hex-literal = { version = "0.4.1", optional = true }
log = { workspace = true }
log = { version = "0.4.21" }
scale-info = { version = "2.11.1", default-features = false, features = [
"derive",
] }
Expand Down
2 changes: 1 addition & 1 deletion templates/solochain/node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
clap = { version = "4.5.3", features = ["derive"] }
futures = { version = "0.3.30", features = ["thread-pool"] }
serde_json = { workspace = true, default-features = true }
serde_json = { version = "1.0.114", default-features = true }
jsonrpsee = { version = "0.22", features = ["server"] }

# substrate client
Expand Down

0 comments on commit 109a13b

Please sign in to comment.