diff --git a/node/Cargo.toml b/node/Cargo.toml index 97e51a6644e2d1865743ecd6116f0e472a6c8eec..1f0e66e49ebb5be3e7994962182b07b92ff7aaeb 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -33,7 +33,7 @@ embed = [] native = [] runtime-benchmarks = [ "common-runtime/runtime-benchmarks", - "dc-distance/runtime-benchmarks", + "dc-distance?/runtime-benchmarks", "frame-benchmarking-cli/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks", "frame-system/runtime-benchmarks", @@ -50,7 +50,7 @@ runtime-benchmarks = [ try-runtime = [ "runtime-benchmarks", "common-runtime/try-runtime", - "dc-distance/try-runtime", + "dc-distance?/try-runtime", "distance-oracle?/try-runtime", "frame-system/try-runtime", "g1-runtime/try-runtime", @@ -113,21 +113,28 @@ async-io = { workspace = true } bs58 = { workspace = true } clap = { workspace = true, features = ["derive"] } clap_complete = { workspace = true } -common-runtime = { workspace = true } -dc-distance = { workspace = true } -distance-oracle = { workspace = true, optional = true } frame-benchmarking = { workspace = true } frame-benchmarking-cli = { workspace = true } frame-system = { workspace = true } futures = { workspace = true, features = ["compat"] } -g1-runtime = { workspace = true, optional = true } -gdev-runtime = { workspace = true, optional = true } -gtest-runtime = { workspace = true, optional = true } hex = { workspace = true } jsonrpsee = { workspace = true, features = ["server"] } log = { workspace = true } memmap2 = { workspace = true } num-format = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +serde_yaml = { workspace = true } + +# Local +common-runtime = { workspace = true } +g1-runtime = { workspace = true, optional = true } +gdev-runtime = { workspace = true, optional = true } +gtest-runtime = { workspace = true, optional = true } +distance-oracle = { workspace = true, optional = true } +dc-distance = { workspace = true, optional = true } + +# Substrate pallet-grandpa = { workspace = true, default-features = true } pallet-im-online = { workspace = true, default-features = true } pallet-transaction-payment = { workspace = true, default-features = true } @@ -153,9 +160,6 @@ sc-rpc-api = { workspace = true, default-features = true } sc-telemetry = { workspace = true, default-features = true } sc-transaction-pool = { workspace = true, default-features = true } sc-transaction-pool-api = { workspace = true, default-features = true } -serde = { workspace = true } -serde_json = { workspace = true } -serde_yaml = { workspace = true } sp-api = { workspace = true, default-features = true } sp-authority-discovery = { workspace = true, default-features = true } sp-block-builder = { workspace = true, default-features = true } diff --git a/pallets/authority-members/Cargo.toml b/pallets/authority-members/Cargo.toml index 0062b5c52f3b1628794c7bbf6a89b062f26ac85f..f5f21574af41bef616de061f5c4835fa7a59047e 100644 --- a/pallets/authority-members/Cargo.toml +++ b/pallets/authority-members/Cargo.toml @@ -62,5 +62,5 @@ sp-staking = { workspace = true } sp-std = { workspace = true } [dev-dependencies] -sp-io = { workspace = true } -sp-state-machine = { workspace = true } +sp-io = { workspace = true, default-features = true } +sp-state-machine = { workspace = true, default-features = true } diff --git a/pallets/certification/Cargo.toml b/pallets/certification/Cargo.toml index 86a5b131e239d6d4c8f7844779a6c3f612ff6477..fb661f28c5c556ede0083bda2b80de8cde50022f 100644 --- a/pallets/certification/Cargo.toml +++ b/pallets/certification/Cargo.toml @@ -52,6 +52,6 @@ sp-runtime = { workspace = true } sp-std = { workspace = true } [dev-dependencies] -maplit = { workspace = true } -sp-io = { workspace = true } -sp-keystore = { workspace = true } +maplit = { workspace = true, default-features = true } +sp-io = { workspace = true, default-features = true } +sp-keystore = { workspace = true, default-features = true } diff --git a/pallets/distance/Cargo.toml b/pallets/distance/Cargo.toml index e029709c6d610f958b78e1ec6e3774ac97a35ccf..8b8395e761d043fd1abe9ab1ba0ea2caabe83adf 100644 --- a/pallets/distance/Cargo.toml +++ b/pallets/distance/Cargo.toml @@ -74,5 +74,5 @@ sp-runtime = { workspace = true } sp-std = { workspace = true } [dev-dependencies] -sp-io = { workspace = true } -sp-keystore = { workspace = true } +sp-io = { workspace = true, default-features = true } +sp-keystore = { workspace = true, default-features = true } diff --git a/pallets/duniter-wot/Cargo.toml b/pallets/duniter-wot/Cargo.toml index 1b8885b78d805bd6d17ac55998a97085f084acb3..60cebeba82a3f9f621639df0d9ff88b4d7163e96 100644 --- a/pallets/duniter-wot/Cargo.toml +++ b/pallets/duniter-wot/Cargo.toml @@ -69,4 +69,4 @@ sp-runtime = { workspace = true } sp-std = { workspace = true } [dev-dependencies] -sp-state-machine = { workspace = true } +sp-state-machine = { workspace = true, default-features = true } diff --git a/pallets/identity/Cargo.toml b/pallets/identity/Cargo.toml index ecdf1dc3b64a06828ef21f5c9b88bf63ddd60cff..66fde4ab4d1b65086d5b9eeb5b010bd676fef44d 100644 --- a/pallets/identity/Cargo.toml +++ b/pallets/identity/Cargo.toml @@ -56,5 +56,5 @@ sp-runtime = { workspace = true } sp-std = { workspace = true } [dev-dependencies] -sp-keystore = { workspace = true } -sp-state-machine = { workspace = true } +sp-keystore = { workspace = true, default-features = true } +sp-state-machine = { workspace = true, default-features = true } diff --git a/pallets/membership/Cargo.toml b/pallets/membership/Cargo.toml index 041da990915cda5e654b04fda0d5dae929745ece..390acda8ed6063c7639979f1278878e874f6c4f6 100644 --- a/pallets/membership/Cargo.toml +++ b/pallets/membership/Cargo.toml @@ -52,5 +52,5 @@ sp-runtime = { workspace = true } sp-std = { workspace = true } [dev-dependencies] -maplit = { workspace = true } -sp-io = { workspace = true } +maplit = { workspace = true, default-features = true } +sp-io = { workspace = true, default-features = true } diff --git a/pallets/offences/Cargo.toml b/pallets/offences/Cargo.toml index 86733790b8b4687d66581eb01c1e5fbf20b33bd1..ecbda445539b281e775ba9efb8263d1dc791153a 100644 --- a/pallets/offences/Cargo.toml +++ b/pallets/offences/Cargo.toml @@ -21,10 +21,6 @@ sp-runtime = { workspace = true } sp-staking = { workspace = true } sp-std = { workspace = true } -[dev-dependencies] -sp-core = { workspace = true } -sp-io = { workspace = true } - [features] default = ["std"] std = [ @@ -50,3 +46,7 @@ try-runtime = [ "frame-system/try-runtime", "sp-runtime/try-runtime", ] + +[dev-dependencies] +sp-core = { workspace = true, default-features = true } +sp-io = { workspace = true, default-features = true } diff --git a/pallets/oneshot-account/Cargo.toml b/pallets/oneshot-account/Cargo.toml index 4eb9435a9f881e48b788e70060b6acc47bd53b2c..6062608da310f87424086bf2686426902b96dadc 100644 --- a/pallets/oneshot-account/Cargo.toml +++ b/pallets/oneshot-account/Cargo.toml @@ -59,4 +59,4 @@ sp-runtime = { workspace = true } sp-std = { workspace = true } [dev-dependencies] -pallet-balances = { workspace = true } +pallet-balances = { workspace = true, default-features = true } diff --git a/pallets/quota/Cargo.toml b/pallets/quota/Cargo.toml index 7b951e025cd341c3cafbc8012a269ac2493bbbbd..1cd80e27b8c72f0ddfb87569e49ad6133f958543 100644 --- a/pallets/quota/Cargo.toml +++ b/pallets/quota/Cargo.toml @@ -57,4 +57,4 @@ sp-runtime = { workspace = true } sp-std = { workspace = true } [dev-dependencies] -sp-io = { workspace = true } +sp-io = { workspace = true, default-features = true } diff --git a/pallets/smith-members/Cargo.toml b/pallets/smith-members/Cargo.toml index 47f3b24f2c318e2ae20ae671501e05232232a216..2406e3697b896d2d30d465ba0484614aaeff542d 100644 --- a/pallets/smith-members/Cargo.toml +++ b/pallets/smith-members/Cargo.toml @@ -24,11 +24,6 @@ sp-runtime = { workspace = true } sp-staking = { workspace = true } sp-std = { workspace = true } -[dev-dependencies] -maplit = { workspace = true } -sp-core = { workspace = true } -sp-io = { workspace = true } - [features] default = ["std"] std = [ @@ -60,3 +55,8 @@ try-runtime = [ "pallet-authority-members/try-runtime", "sp-runtime/try-runtime", ] + +[dev-dependencies] +maplit = { workspace = true, default-features = true } +sp-core = { workspace = true, default-features = true } +sp-io = { workspace = true, default-features = true } diff --git a/pallets/universal-dividend/Cargo.toml b/pallets/universal-dividend/Cargo.toml index a859b2f97156601668f076bc65c6adbf9f30c3e8..c0f5b52c9f3f6dd42575ddcca549a82e9bdfc6b2 100644 --- a/pallets/universal-dividend/Cargo.toml +++ b/pallets/universal-dividend/Cargo.toml @@ -65,4 +65,4 @@ sp-runtime = { workspace = true } sp-std = { workspace = true } [dev-dependencies] -sp-core = { workspace = true } +sp-core = { workspace = true, default-features = true }