Skip to content

Commit 703256e

Browse files
committed
Fix nostd build
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
1 parent 813ba6b commit 703256e

18 files changed

Lines changed: 3368 additions & 1683 deletions

File tree

Cargo.lock

Lines changed: 2 additions & 81 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ resolver = "2"
1010

1111
members = [
1212
"umbrella",
13+
1314
"bridges/bin/runtime-common",
1415
"bridges/chains/chain-asset-hub-rococo",
1516
"bridges/chains/chain-asset-hub-westend",
@@ -516,7 +517,11 @@ members = [
516517
"templates/parachain/pallets/template",
517518
"templates/parachain/runtime",
518519
]
519-
default-members = ["polkadot", "substrate/bin/node/cli"]
520+
default-members = [
521+
"polkadot",
522+
"substrate/bin/node/cli",
523+
"umbrella",
524+
]
520525

521526
[workspace.lints.rust]
522527
suspicious_double_ref_op = { level = "allow", priority = 2 }

bridges/snowbridge/pallets/ethereum-client/Cargo.toml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,7 @@ serde = { workspace = true, default-features = true }
5454

5555
[features]
5656
default = ["std"]
57-
fuzzing = [
58-
"hex-literal",
59-
"pallet-timestamp",
60-
"serde",
61-
"serde_json",
62-
"sp-io",
63-
]
57+
fuzzing = ["hex-literal", "pallet-timestamp", "serde", "serde_json", "sp-io"]
6458
std = [
6559
"bp-runtime/std",
6660
"byte-slice-cast/std",

bridges/snowbridge/pallets/outbound-queue/merkle-tree/Cargo.toml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,4 @@ sp-crypto-hashing = { path = "../../../../../substrate/primitives/crypto/hashing
3030

3131
[features]
3232
default = ["std"]
33-
std = [
34-
"codec/std",
35-
"scale-info/std",
36-
"sp-core/std",
37-
"sp-runtime/std",
38-
]
33+
std = ["codec/std", "scale-info/std", "sp-core/std", "sp-runtime/std"]

cumulus/polkadot-parachain/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,4 +172,6 @@ try-runtime = [
172172
"sp-runtime/try-runtime",
173173
]
174174
fast-runtime = ["bridge-hub-rococo-runtime/fast-runtime"]
175-
elastic-scaling-experimental = ["polkadot-service/elastic-scaling-experimental"]
175+
elastic-scaling-experimental = [
176+
"polkadot-service/elastic-scaling-experimental",
177+
]

polkadot/node/service/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,10 @@ try-runtime = [
218218
"sp-runtime/try-runtime",
219219
"westend-runtime?/try-runtime",
220220
]
221-
fast-runtime = ["rococo-runtime?/fast-runtime", "westend-runtime?/fast-runtime"]
221+
fast-runtime = [
222+
"rococo-runtime?/fast-runtime",
223+
"westend-runtime?/fast-runtime",
224+
]
222225

223226
malus = ["full-node"]
224227
runtime-metrics = [

polkadot/xcm/Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,8 @@ std = [
4040
"serde/std",
4141
"sp-weights/std",
4242
]
43-
json-schema = ["bounded-collections/json-schema", "dep:schemars", "sp-weights/json-schema"]
43+
json-schema = [
44+
"bounded-collections/json-schema",
45+
"dep:schemars",
46+
"sp-weights/json-schema",
47+
]

0 commit comments

Comments
 (0)