repo: name: paritytech/polkadot-sdk ref: ec7817e5adc2f3a91dd94b0465dd61b4c1b07ab7 cases: - cmd: transpose dependency lift-to-workspace regex:.* --version-resolver=highest --ignore-errors --fix stderr: | [WARN] Unstable feature - do not rely on this! [ERROR] Failed to lift up 'bandersnatch_vrfs': Cannot lift git dependencies [ERROR] Failed to lift up 'finality-grandpa': Dependency 'finality-grandpa' is used 2 times with and 5 times without an alias: 2 times: grandpa from sp-consensus-grandpa, pallet-grandpa 5 times: no alias from bp-header-chain, bp-test-utils, pallet-bridge-grandpa, … (2 more) This cannot be fixed automatically since it would break your code and configs. [ERROR] Failed to lift up 'frame-support': Dependency 'frame-support' is used 1 time with and 222 times without an alias: 1 time : renamed-frame-support from frame-support-test-compile-pass 222 times: no alias from asset-hub-rococo-emulated-chain, asset-hub-rococo-integration-tests, asset-hub-rococo-runtime, … (219 more) This cannot be fixed automatically since it would break your code and configs. [ERROR] Failed to lift up 'frame-system': Dependency 'frame-system' is used 1 time with and 185 times without an alias: 1 time : renamed-frame-system from frame-support-test-compile-pass 185 times: no alias from asset-hub-rococo-runtime, asset-hub-westend-runtime, asset-test-utils, … (182 more) This cannot be fixed automatically since it would break your code and configs. [WARN] Dependency 'pallet-elections-phragmen' is renamed to itself in 'westend-runtime' [WARN] Dependency 'pallet-staking-reward-curve' is renamed to itself in 'westend-runtime' [ERROR] Failed to lift up 'parity-scale-codec': Dependency 'parity-scale-codec' is used 298 times with and 57 times without an alias: 295 times: codec from bridge-runtime-common, bp-header-chain, bp-runtime, … (292 more) 1 time : scale from pallet-contracts-uapi 2 times: scale-codec from pallet-sassafras, sp-consensus-sassafras 57 times: no alias from cumulus-pallet-session-benchmarking, cumulus-relay-chain-interface, cumulus-relay-chain-rpc-interface, … (54 more) This cannot be fixed automatically since it would break your code and configs. [WARN] Dependency 'polkadot-erasure-coding' is renamed to itself in 'polkadot-subsystem-bench' [ERROR] Failed to lift up 'polkadot-erasure-coding': Dependency 'polkadot-erasure-coding' is used 3 times with and 8 times without an alias: 2 times: erasure from polkadot-node-core-av-store, polkadot-test-malus 1 time : erasure-coding from polkadot-node-core-backing 8 times: no alias from erasure_coding_fuzzer, polkadot-availability-distribution, polkadot-availability-recovery, … (5 more) This cannot be fixed automatically since it would break your code and configs. [WARN] Dependency 'polkadot-node-primitives' is renamed to itself in 'polkadot-erasure-coding' [ERROR] Failed to lift up 'polkadot-node-primitives': Dependency 'polkadot-node-primitives' is used 1 time with and 37 times without an alias: 1 time : primitives from erasure_coding_fuzzer 37 times: no alias from cumulus-client-collator, cumulus-client-consensus-aura, cumulus-client-network, … (34 more) This cannot be fixed automatically since it would break your code and configs. [ERROR] Failed to lift up 'polkadot-node-subsystem-test-helpers': Dependency 'polkadot-node-subsystem-test-helpers' is used 1 time with and 27 times without an alias: 1 time : node-test-helpers from polkadot-overseer 27 times: no alias from cumulus-client-collator, polkadot-approval-distribution, polkadot-availability-bitfield-distribution, … (24 more) This cannot be fixed automatically since it would break your code and configs. [ERROR] Failed to lift up 'polkadot-parachain-primitives': Dependency 'polkadot-parachain-primitives' is used 2 times with and 41 times without an alias: 2 times: parachain from test-parachain-adder, test-parachain-undying 41 times: no alias from asset-hub-rococo-runtime, asset-hub-westend-runtime, bridge-hub-rococo-runtime, … (38 more) This cannot be fixed automatically since it would break your code and configs. [ERROR] Failed to lift up 'polkadot-primitives': Dependency 'polkadot-primitives' is used 12 times with and 72 times without an alias: 12 times: primitives from staging-xcm-builder, polkadot-runtime-parachains, polkadot-runtime-metrics, … (9 more) 72 times: no alias from bp-bridge-hub-cumulus, cumulus-client-collator, cumulus-client-consensus-aura, … (69 more) This cannot be fixed automatically since it would break your code and configs. [ERROR] Failed to lift up 'polkadot-primitives-test-helpers': Dependency 'polkadot-primitives-test-helpers' is used 14 times with and 10 times without an alias: 14 times: test-helpers from polkadot-runtime-parachains, polkadot-runtime-common, polkadot-overseer, … (11 more) 10 times: no alias from polkadot-approval-distribution, polkadot-availability-distribution, polkadot-availability-recovery, … (7 more) This cannot be fixed automatically since it would break your code and configs. [ERROR] Failed to lift up 'polkadot-runtime-common': Dependency 'polkadot-runtime-common' is used 6 times with and 21 times without an alias: 6 times: runtime-common from polkadot-test-runtime, test-runtime-constants, rococo-runtime, … (3 more) 21 times: no alias from asset-hub-rococo-runtime, asset-hub-westend-integration-tests, asset-hub-westend-runtime, … (18 more) This cannot be fixed automatically since it would break your code and configs. [ERROR] Failed to lift up 'polkadot-runtime-parachains': Dependency 'polkadot-runtime-parachains' is used 3 times with and 14 times without an alias: 3 times: runtime-parachains from polkadot-runtime-common, rococo-runtime, westend-runtime 14 times: no alias from cumulus-pallet-parachain-system, cumulus-pallet-xcmp-queue, cumulus-primitives-utility, … (11 more) This cannot be fixed automatically since it would break your code and configs. [ERROR] Failed to lift up 'polkadot-service': Dependency 'polkadot-service' is used 1 time with and 6 times without an alias: 1 time : service from polkadot-cli 6 times: no alias from cumulus-relay-chain-inprocess-interface, cumulus-test-service, polkadot-parachain-bin, … (3 more) This cannot be fixed automatically since it would break your code and configs. [ERROR] Failed to lift up 'polkadot-statement-table': Dependency 'polkadot-statement-table' is used 1 time with and 1 time without an alias: 1 time : statement-table from polkadot-node-core-backing 1 time : no alias from polkadot-node-subsystem-types This cannot be fixed automatically since it would break your code and configs. [ERROR] Failed to lift up 'polkavm-derive': Dependency 'polkavm-derive' already exists in the workspace but could not validate its compatibility [ERROR] Failed to lift up 'polkavm-linker': Dependency 'polkavm-linker' already exists in the workspace but could not validate its compatibility [ERROR] Failed to lift up 'pyroscope': Dependency 'pyroscope' is used 1 time with and 1 time without an alias: 1 time : pyro from polkadot-cli 1 time : no alias from polkadot-subsystem-bench This cannot be fixed automatically since it would break your code and configs. [WARN] Dependency 'rococo-runtime-constants' is renamed to itself in 'rococo-runtime' [ERROR] Failed to lift up 'rustc-hex': Dependency 'rustc-hex' is used 2 times with and 4 times without an alias: 2 times: hex from snowbridge-ethereum, snowbridge-router-primitives 4 times: no alias from polkadot-runtime-common, polkadot-runtime-parachains, polkadot-test-runtime, … (1 more) This cannot be fixed automatically since it would break your code and configs. [ERROR] Failed to lift up 'sc-client-api': Dependency 'sc-client-api' is used 1 time with and 66 times without an alias: 1 time : client from polkadot-overseer 66 times: no alias from cumulus-client-cli, cumulus-client-collator, cumulus-client-consensus-aura, … (63 more) This cannot be fixed automatically since it would break your code and configs. [ERROR] Failed to lift up 'sc-consensus-babe': Dependency 'sc-consensus-babe' is used 2 times with and 10 times without an alias: 2 times: babe from polkadot-test-service, polkadot-service 10 times: no alias from cumulus-client-consensus-aura, cumulus-client-consensus-common, node-rpc, … (7 more) This cannot be fixed automatically since it would break your code and configs. [ERROR] Failed to lift up 'sc-consensus-beefy': Dependency 'sc-consensus-beefy' is used 2 times with and 4 times without an alias: 2 times: beefy from polkadot-service, staging-node-cli 4 times: no alias from node-rpc, polkadot-rpc, polkadot-sdk-docs, … (1 more) This cannot be fixed automatically since it would break your code and configs. [ERROR] Failed to lift up 'sc-consensus-grandpa': Dependency 'sc-consensus-grandpa' is used 6 times with and 6 times without an alias: 6 times: grandpa from polkadot-test-service, polkadot-service, staging-node-cli, … (3 more) 6 times: no alias from node-rpc, node-template, polkadot-rpc, … (3 more) This cannot be fixed automatically since it would break your code and configs. [ERROR] Failed to lift up 'sc-service': Dependency 'sc-service' is used 1 time with and 29 times without an alias: 1 time : service from polkadot-service 29 times: no alias from cumulus-client-cli, cumulus-client-service, cumulus-relay-chain-minimal-node, … (26 more) This cannot be fixed automatically since it would break your code and configs. [ERROR] Failed to lift up 'sc-telemetry': Dependency 'sc-telemetry' is used 1 time with and 18 times without an alias: 1 time : telemetry from polkadot-service 18 times: no alias from cumulus-client-consensus-aura, cumulus-client-service, cumulus-relay-chain-inprocess-interface, … (15 more) This cannot be fixed automatically since it would break your code and configs. [ERROR] Failed to lift up 'sc-transaction-pool-api': Dependency 'sc-transaction-pool-api' is used 1 time with and 26 times without an alias: 1 time : txpool-api from polkadot-rpc 26 times: no alias from cumulus-test-service, minimal-node, node-bench, … (23 more) This cannot be fixed automatically since it would break your code and configs. [ERROR] Failed to lift up 'snowbridge-beacon-primitives': Dependency 'snowbridge-beacon-primitives' is used 1 time with and 6 times without an alias: 1 time : primitives from snowbridge-pallet-ethereum-client 6 times: no alias from bridge-hub-rococo-runtime, snowbridge-core, snowbridge-pallet-ethereum-client-fixtures, … (3 more) This cannot be fixed automatically since it would break your code and configs. [WARN] Dependency 'sp-application-crypto' is renamed to itself in 'polkadot-primitives-test-helpers' [ERROR] Failed to lift up 'sp-application-crypto': Dependency 'sp-application-crypto' is used 1 time with and 49 times without an alias: 1 time : application-crypto from polkadot-primitives 49 times: no alias from bp-test-utils, cumulus-client-consensus-aura, cumulus-pallet-aura-ext, … (46 more) This cannot be fixed automatically since it would break your code and configs. [ERROR] Failed to lift up 'sp-authority-discovery': Dependency 'sp-authority-discovery' is used 3 times with and 17 times without an alias: 3 times: authority-discovery-primitives from polkadot-test-runtime, rococo-runtime, westend-runtime 17 times: no alias from cumulus-relay-chain-rpc-interface, cumulus-test-service, emulated-integration-tests-common, … (14 more) This cannot be fixed automatically since it would break your code and configs. [ERROR] Failed to lift up 'sp-block-builder': Dependency 'sp-block-builder' is used 3 times with and 37 times without an alias: 3 times: block-builder-api from polkadot-test-runtime, rococo-runtime, westend-runtime 37 times: no alias from asset-hub-rococo-runtime, asset-hub-westend-runtime, bridge-hub-rococo-runtime, … (34 more) This cannot be fixed automatically since it would break your code and configs. [ERROR] Failed to lift up 'sp-consensus': Dependency 'sp-consensus' is used 2 times with and 52 times without an alias: 2 times: consensus_common from polkadot-test-service, polkadot-service 52 times: no alias from cumulus-client-collator, cumulus-client-consensus-aura, cumulus-client-consensus-common, … (49 more) This cannot be fixed automatically since it would break your code and configs. [ERROR] Failed to lift up 'sp-consensus-babe': Dependency 'sp-consensus-babe' is used 4 times with and 24 times without an alias: 4 times: babe-primitives from polkadot-test-runtime, polkadot-test-service, rococo-runtime, … (1 more) 24 times: no alias from cumulus-relay-chain-minimal-node, cumulus-relay-chain-rpc-interface, emulated-integration-tests-common, … (21 more) This cannot be fixed automatically since it would break your code and configs. [ERROR] Failed to lift up 'sp-consensus-beefy': Dependency 'sp-consensus-beefy' is used 8 times with and 6 times without an alias: 8 times: beefy-primitives from polkadot-test-runtime, polkadot-service, rococo-runtime, … (5 more) 6 times: no alias from kitchensink-runtime, mmr-gadget, pallet-beefy, … (3 more) This cannot be fixed automatically since it would break your code and configs. [ERROR] Failed to lift up 'sp-consensus-grandpa': Dependency 'sp-consensus-grandpa' is used 3 times with and 15 times without an alias: 1 time : grandpa-primitives from staging-node-cli 2 times: grandpa_primitives from polkadot-test-service, polkadot-service 15 times: no alias from bp-header-chain, bp-test-utils, cumulus-test-service, … (12 more) This cannot be fixed automatically since it would break your code and configs. [ERROR] Failed to lift up 'sp-core': Dependency 'sp-core' is used 1 time with and 324 times without an alias: 1 time : primitives from polkadot-primitives 324 times: no alias from asset-hub-rococo-emulated-chain, asset-hub-rococo-runtime, asset-hub-westend-emulated-chain, … (321 more) This cannot be fixed automatically since it would break your code and configs. [ERROR] Failed to lift up 'sp-inherents': Dependency 'sp-inherents' is used 7 times with and 57 times without an alias: 7 times: inherents from polkadot-runtime-parachains, polkadot-primitives, polkadot-test-runtime, … (4 more) 57 times: no alias from asset-hub-rococo-runtime, asset-hub-westend-runtime, bridge-hub-rococo-runtime, … (54 more) This cannot be fixed automatically since it would break your code and configs. [ERROR] Failed to lift up 'sp-keyring': Dependency 'sp-keyring' is used 4 times with and 59 times without an alias: 4 times: keyring from polkadot-runtime-parachains, polkadot-test-runtime, rococo-runtime, … (1 more) 59 times: no alias from bridge-hub-rococo-runtime, bridge-hub-test-utils, bridge-hub-westend-runtime, … (56 more) This cannot be fixed automatically since it would break your code and configs. [WARN] Dependency 'sp-maybe-compressed-blob' is renamed to itself in 'polkadot-node-core-candidate-validation' [WARN] Dependency 'sp-offchain' is renamed to itself in 'polkadot-service' [ERROR] Failed to lift up 'sp-offchain': Dependency 'sp-offchain' is used 3 times with and 26 times without an alias: 3 times: offchain-primitives from polkadot-test-runtime, rococo-runtime, westend-runtime 26 times: no alias from asset-hub-rococo-runtime, asset-hub-westend-runtime, bridge-hub-rococo-runtime, … (23 more) This cannot be fixed automatically since it would break your code and configs. [ERROR] Failed to lift up 'sp-runtime': Dependency 'sp-runtime' is used 1 time with and 334 times without an alias: 1 time : runtime_primitives from polkadot-primitives 334 times: no alias from asset-hub-rococo-integration-tests, asset-hub-rococo-runtime, asset-hub-westend-integration-tests, … (331 more) This cannot be fixed automatically since it would break your code and configs. [WARN] Dependency 'sp-std' is renamed to itself in 'polkadot-runtime-parachains' [WARN] Dependency 'sp-std' is renamed to itself in 'polkadot-runtime-metrics' [WARN] Dependency 'sp-std' is renamed to itself in 'polkadot-primitives' [WARN] Dependency 'sp-std' is renamed to itself in 'polkadot-runtime-common' [WARN] Dependency 'sp-std' is renamed to itself in 'slot-range-helper' [WARN] Dependency 'sp-std' is renamed to itself in 'rococo-runtime' [WARN] Dependency 'sp-std' is renamed to itself in 'westend-runtime' [ERROR] Failed to lift up 'sp-transaction-pool': Dependency 'sp-transaction-pool' is used 3 times with and 27 times without an alias: 3 times: tx-pool-api from polkadot-test-runtime, rococo-runtime, westend-runtime 27 times: no alias from asset-hub-rococo-runtime, asset-hub-westend-runtime, bridge-hub-rococo-runtime, … (24 more) This cannot be fixed automatically since it would break your code and configs. [ERROR] Failed to lift up 'substrate-frame-rpc-system': Dependency 'substrate-frame-rpc-system' is used 2 times with and 4 times without an alias: 2 times: frame-rpc-system from polkadot-rpc, polkadot-parachain-bin 4 times: no alias from minimal-node, node-rpc, node-template, … (1 more) This cannot be fixed automatically since it would break your code and configs. [ERROR] Failed to lift up 'substrate-prometheus-endpoint': Dependency 'substrate-prometheus-endpoint' is used 22 times with and 8 times without an alias: 1 time : prometheus from sc-consensus-beefy 20 times: prometheus-endpoint from sc-client-api, sc-service, sc-network, … (17 more) 1 time : prometheus_endpoint from polkadot-subsystem-bench 8 times: no alias from cumulus-client-consensus-aura, cumulus-client-consensus-common, cumulus-client-consensus-relay-chain, … (5 more) This cannot be fixed automatically since it would break your code and configs. [ERROR] Failed to lift up 'test-parachain-adder': Dependency 'test-parachain-adder' is used 2 times with and 1 time without an alias: 2 times: adder from polkadot-node-core-pvf, test-parachains 1 time : no alias from test-parachain-adder-collator This cannot be fixed automatically since it would break your code and configs. [WARN] Dependency 'test-runtime-constants' is renamed to itself in 'polkadot-test-runtime' [WARN] Dependency 'westend-runtime-constants' is renamed to itself in 'westend-runtime' diff: | diff --git Cargo.toml Cargo.toml index 774ce1b52a..81417afd1a 100644 --- Cargo.toml +++ Cargo.toml @@ -547,0 +548,675 @@ thiserror = { version = "1.0.48" } +Inflector = { version = "0.11.4" } +aes-gcm = { version = "0.10" } +ahash = { version = "0.8.2" } +alloy-primitives = { version = "0.4.2", default-features = false } +alloy-rlp = { version = "0.3.3", default-features = false } +alloy-sol-types = { version = "0.4.2", default-features = false } +always-assert = { version = "0.1" } +ansi_term = { version = "0.12.1" } +anyhow = { version = "1.0.68" } +aquamarine = { version = "0.5.0" } +arbitrary = { version = "1.3.2" } +ark-bls12-377 = { version = "0.4.0", default-features = false } +ark-bls12-377-ext = { version = "0.4.1", default-features = false } +ark-bls12-381 = { version = "0.4.0", default-features = false } +ark-bls12-381-ext = { version = "0.4.1", default-features = false } +ark-bw6-761 = { version = "0.4.0", default-features = false } +ark-bw6-761-ext = { version = "0.4.1", default-features = false } +ark-ec = { version = "0.4.2", default-features = false } +ark-ed-on-bls12-377 = { version = "0.4.0", default-features = false } +ark-ed-on-bls12-377-ext = { version = "0.4.1", default-features = false } +ark-ed-on-bls12-381-bandersnatch = { version = "0.4.0", default-features = false } +ark-ed-on-bls12-381-bandersnatch-ext = { version = "0.4.1", default-features = false } +ark-scale = { version = "0.0.12", default-features = false } +array-bytes = { version = "6.1.0", default-features = false } +arrayvec = { version = "0.7.4" } +assert_cmd = { version = "2.0.10" } +assert_matches = { version = "1.5.0" } +asset-hub-rococo-emulated-chain = { path = "cumulus/parachains/integration-tests/emulated/chains/parachains/assets/asset-hub-rococo" } +asset-hub-rococo-runtime = { path = "cumulus/parachains/runtimes/assets/asset-hub-rococo", default-features = false } +asset-hub-westend-emulated-chain = { path = "cumulus/parachains/integration-tests/emulated/chains/parachains/assets/asset-hub-westend" } +asset-hub-westend-runtime = { path = "cumulus/parachains/runtimes/assets/asset-hub-westend" } +asset-test-utils = { path = "cumulus/parachains/runtimes/assets/test-utils" } +assets-common = { path = "cumulus/parachains/runtimes/assets/common", default-features = false } +async-channel = { version = "1.8.0" } +async-trait = { version = "0.1.74" } +asynchronous-codec = { version = "0.6" } +backtrace = { version = "0.3.64" } +bandersnatch_vrfs = { version = "*", default-features = false } +binary-merkle-tree = { path = "substrate/utils/binary-merkle-tree", default-features = false } +bincode = { version = "1.3.3" } +bip39 = { version = "2.0.0", default-features = false } +bitflags = { version = "1.3.2" } +bitvec = { version = "1.0.1", default-features = false } +blake2 = { version = "0.10.4", default-features = false } +blake2b_simd = { version = "1.0.1", default-features = false } +blake3 = { version = "1.5" } +bounded-collections = { version = "0.2.0", default-features = false } +bounded-vec = { version = "0.7" } +bp-asset-hub-rococo = { path = "bridges/primitives/chain-asset-hub-rococo", default-features = false } +bp-asset-hub-westend = { path = "bridges/primitives/chain-asset-hub-westend", default-features = false } +bp-bridge-hub-cumulus = { path = "bridges/primitives/chain-bridge-hub-cumulus", default-features = false } +bp-bridge-hub-polkadot = { path = "bridges/primitives/chain-bridge-hub-polkadot", default-features = false } +bp-bridge-hub-rococo = { path = "bridges/primitives/chain-bridge-hub-rococo", default-features = false } +bp-bridge-hub-westend = { path = "bridges/primitives/chain-bridge-hub-westend", default-features = false } +bp-header-chain = { path = "bridges/primitives/header-chain", default-features = false } +bp-messages = { path = "bridges/primitives/messages", default-features = false } +bp-parachains = { path = "bridges/primitives/parachains", default-features = false } +bp-polkadot-bulletin = { path = "bridges/primitives/chain-polkadot-bulletin", default-features = false } +bp-polkadot-core = { path = "bridges/primitives/polkadot-core", default-features = false } +bp-relayers = { path = "bridges/primitives/relayers", default-features = false } +bp-rococo = { path = "bridges/primitives/chain-rococo", default-features = false } +bp-runtime = { path = "bridges/primitives/runtime", default-features = false } +bp-test-utils = { path = "bridges/primitives/test-utils", default-features = false } +bp-westend = { path = "bridges/primitives/chain-westend", default-features = false } +bp-xcm-bridge-hub = { path = "bridges/primitives/xcm-bridge-hub", default-features = false } +bp-xcm-bridge-hub-router = { path = "bridges/primitives/xcm-bridge-hub-router", default-features = false } +bridge-hub-common = { path = "cumulus/parachains/runtimes/bridge-hubs/common", default-features = false } +bridge-hub-rococo-emulated-chain = { path = "cumulus/parachains/integration-tests/emulated/chains/parachains/bridges/bridge-hub-rococo" } +bridge-hub-rococo-runtime = { path = "cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo", default-features = false } +bridge-hub-test-utils = { path = "cumulus/parachains/runtimes/bridge-hubs/test-utils" } +bridge-hub-westend-emulated-chain = { path = "cumulus/parachains/integration-tests/emulated/chains/parachains/bridges/bridge-hub-westend" } +bridge-hub-westend-runtime = { path = "cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend", default-features = false } +bridge-runtime-common = { path = "bridges/bin/runtime-common", default-features = false } +bs58 = { version = "0.5.0", default-features = false } +build-helper = { version = "0.1.1" } +byte-slice-cast = { version = "1.2.1", default-features = false } +byteorder = { version = "1.3.2", default-features = false } +bytes = { version = "1.4.0", default-features = false } +cargo_metadata = { version = "0.15.4" } +cfg-expr = { version = "0.15.5" } +cfg-if = { version = "1.0" } +chrono = { version = "0.4.31" } +cid = { version = "0.9.0" } +mmr-lib = { version = "0.5.2", default-features = false, package = "ckb-merkle-mountain-range" } +clap = { version = "4.5.1" } +clap-num = { version = "1.0.2" } +clap_complete = { version = "4.0.2" } +coarsetime = { version = "0.1.22" } +collectives-westend-emulated-chain = { path = "cumulus/parachains/integration-tests/emulated/chains/parachains/collectives/collectives-westend" } +collectives-westend-runtime = { path = "cumulus/parachains/runtimes/collectives/collectives-westend" } +color-eyre = { version = "0.6.1", default-features = false } +color-print = { version = "0.3.4" } +colored = { version = "2.0.4" } +comfy-table = { version = "7.1.0", default-features = false } +console = { version = "0.15.8" } +contracts-rococo-runtime = { path = "cumulus/parachains/runtimes/contracts/contracts-rococo" } +coretime-rococo-runtime = { path = "cumulus/parachains/runtimes/coretime/coretime-rococo" } +coretime-westend-runtime = { path = "cumulus/parachains/runtimes/coretime/coretime-westend" } +cpu-time = { version = "1.0.0" } +criterion = { version = "0.5.1", default-features = false } +cumulus-client-cli = { path = "cumulus/client/cli" } +cumulus-client-collator = { path = "cumulus/client/collator" } +cumulus-client-consensus-aura = { path = "cumulus/client/consensus/aura" } +cumulus-client-consensus-common = { path = "cumulus/client/consensus/common" } +cumulus-client-consensus-proposer = { path = "cumulus/client/consensus/proposer" } +cumulus-client-consensus-relay-chain = { path = "cumulus/client/consensus/relay-chain" } +cumulus-client-network = { path = "cumulus/client/network" } +cumulus-client-parachain-inherent = { path = "cumulus/client/parachain-inherent" } +cumulus-client-pov-recovery = { path = "cumulus/client/pov-recovery" } +cumulus-client-service = { path = "cumulus/client/service" } +cumulus-pallet-aura-ext = { path = "cumulus/pallets/aura-ext", default-features = false } +cumulus-pallet-parachain-system = { path = "cumulus/pallets/parachain-system", default-features = false } +cumulus-pallet-parachain-system-proc-macro = { path = "cumulus/pallets/parachain-system/proc-macro", default-features = false } +cumulus-pallet-session-benchmarking = { path = "cumulus/pallets/session-benchmarking", default-features = false } +cumulus-pallet-solo-to-para = { path = "cumulus/pallets/solo-to-para", default-features = false } +cumulus-pallet-xcm = { path = "cumulus/pallets/xcm", default-features = false } +cumulus-pallet-xcmp-queue = { path = "cumulus/pallets/xcmp-queue", default-features = false } +cumulus-ping = { path = "cumulus/parachains/pallets/ping", default-features = false } +cumulus-primitives-aura = { path = "cumulus/primitives/aura", default-features = false } +cumulus-primitives-core = { path = "cumulus/primitives/core", default-features = false } +cumulus-primitives-parachain-inherent = { path = "cumulus/primitives/parachain-inherent", default-features = false } +cumulus-primitives-proof-size-hostfunction = { path = "cumulus/primitives/proof-size-hostfunction", default-features = false } +cumulus-primitives-timestamp = { path = "cumulus/primitives/timestamp", default-features = false } +cumulus-primitives-utility = { path = "cumulus/primitives/utility", default-features = false } +cumulus-relay-chain-inprocess-interface = { path = "cumulus/client/relay-chain-inprocess-interface" } +cumulus-relay-chain-interface = { path = "cumulus/client/relay-chain-interface" } +cumulus-relay-chain-minimal-node = { path = "cumulus/client/relay-chain-minimal-node" } +cumulus-relay-chain-rpc-interface = { path = "cumulus/client/relay-chain-rpc-interface" } +cumulus-test-client = { path = "cumulus/test/client" } +cumulus-test-relay-sproof-builder = { path = "cumulus/test/relay-sproof-builder", default-features = false } +cumulus-test-runtime = { path = "cumulus/test/runtime" } +cumulus-test-service = { path = "cumulus/test/service" } +curve25519-dalek = { version = "4.1.1" } +derivative = { version = "2.2.0", default-features = false } +derive-syn-parse = { version = "0.1.5" } +derive_more = { version = "0.99.17", default-features = false } +digest = { version = "0.10.3", default-features = false } +directories = { version = "5.0.1" } +dlmalloc = { version = "0.2.4" } +docify = { version = "0.2.7" } +dyn-clonable = { version = "0.9.0" } +dyn-clone = { version = "1.0.16" } +ed25519-dalek = { version = "2.1", default-features = false } +ed25519-zebra = { version = "3.1.0", default-features = false } +either = { version = "1.8.1", default-features = false } +emulated-integration-tests-common = { path = "cumulus/parachains/integration-tests/emulated/common", default-features = false } +enumflags2 = { version = "0.7.7" } +enumn = { version = "0.1.12" } +env_logger = { version = "0.9.0" } +environmental = { version = "1.1.4", default-features = false } +ethabi = { version = "1.0.0", default-features = false, package = "ethabi-decode" } +ethbloom = { version = "0.13.0", default-features = false } +ethereum-types = { version = "0.14.1", default-features = false } +exit-future = { version = "0.2.0" } +expander = { version = "2.0.0" } +fatality = { version = "0.0.6" } +fdlimit = { version = "0.3.0" } +femme = { version = "2.2.1" } +filetime = { version = "0.2.16" } +flate2 = { version = "1.0" } +fnv = { version = "1.0.6" } +fork-tree = { path = "substrate/utils/fork-tree" } +fraction = { version = "0.13.1" } +frame = { path = "substrate/frame", default-features = false } +frame-benchmarking = { path = "substrate/frame/benchmarking", default-features = false } +frame-benchmarking-cli = { path = "substrate/utils/frame/benchmarking-cli" } +frame-benchmarking-pallet-pov = { path = "substrate/frame/benchmarking/pov", default-features = false } +frame-election-provider-solution-type = { path = "substrate/frame/election-provider-support/solution-type" } +frame-election-provider-support = { path = "substrate/frame/election-provider-support", default-features = false } +frame-executive = { path = "substrate/frame/executive", default-features = false } +frame-metadata = { version = "16.0.0", default-features = false } +remote-externalities = { path = "substrate/utils/frame/remote-externalities", package = "frame-remote-externalities" } +frame-support-procedural = { path = "substrate/frame/support/procedural", default-features = false } +frame-support-procedural-tools = { path = "substrate/frame/support/procedural/tools" } +frame-support-procedural-tools-derive = { path = "substrate/frame/support/procedural/tools/derive" } +frame-support-test = { path = "substrate/frame/support/test" } +test-pallet = { path = "substrate/frame/support/test/pallet", default-features = false, package = "frame-support-test-pallet" } +frame-system-benchmarking = { path = "substrate/frame/system/benchmarking", default-features = false } +frame-system-rpc-runtime-api = { path = "substrate/frame/system/rpc/runtime-api", default-features = false } +frame-try-runtime = { path = "substrate/frame/try-runtime", default-features = false } +fs4 = { version = "0.7.0" } +fs_extra = { version = "1.3.0" } +futures = { version = "0.3.29" } +futures-channel = { version = "0.3.23" } +futures-timer = { version = "3.0.2" } +futures-util = { version = "0.3.30", default-features = false } +generate-bags = { path = "substrate/utils/frame/generate-bags" } +gethostname = { version = "0.2.3" } +glob = { version = "0.3" } +glutton-westend-runtime = { path = "cumulus/parachains/runtimes/glutton/glutton-westend" } +governor = { version = "0.6.0" } +handlebars = { version = "4.2.2" } +hash-db = { version = "0.16.0", default-features = false } +hash256-std-hasher = { version = "0.15.2", default-features = false } +hex = { version = "0.4.3", default-features = false } +hex-literal = { version = "0.4.1", default-features = false } +hkdf = { version = "0.12.0" } +honggfuzz = { version = "0.5.55" } +http = { version = "0.2.8" } +hyper = { version = "0.14.27", default-features = false } +hyper-rustls = { version = "0.24.0" } +impl-serde = { version = "0.4.0", default-features = false } +impl-trait-for-tuples = { version = "0.2.2" } +indexmap = { version = "2.0.0" } +indicatif = { version = "0.17.7" } +integer-sqrt = { version = "0.1.2" } +ip_network = { version = "0.4.1" } +is-terminal = { version = "0.4.9" } +is_executable = { version = "1.0.1" } +itertools = { version = "0.11.0" } +jsonrpsee = { version = "0.22" } +jsonrpsee-core = { version = "0.22" } +k256 = { version = "0.13.1", default-features = false } +kitchensink-runtime = { path = "substrate/bin/node/runtime" } +kvdb = { version = "0.13.0" } +kvdb-memorydb = { version = "0.13.0" } +kvdb-rocksdb = { version = "0.19.0" } +kvdb-shared-tests = { version = "0.11.0" } +landlock = { version = "0.3.0" } +lazy_static = { version = "1.4.0" } +libc = { version = "0.2.152" } +libfuzzer-sys = { version = "0.4" } +libp2p = { version = "0.51.4" } +libp2p-identity = { version = "0.1.3" } +libsecp256k1 = { version = "0.7.0", default-features = false } +linked-hash-map = { version = "0.5.4" } +linked_hash_set = { version = "0.1.3" } +linregress = { version = "0.5.1" } +lite-json = { version = "0.2.0", default-features = false } +macro_magic = { version = "0.5.0" } +maplit = { version = "1.0.2" } +memmap2 = { version = "0.9.3" } +memory-db = { version = "0.32.0", default-features = false } +merlin = { version = "3.0", default-features = false } +mick-jaeger = { version = "0.1.8" } +runtime = { path = "substrate/bin/minimal/runtime", package = "minimal-runtime" } +mixnet = { version = "0.7.0" } +mmr-gadget = { path = "substrate/client/merkle-mountain-range" } +mmr-rpc = { path = "substrate/client/merkle-mountain-range/rpc" } +mockall = { version = "0.11.3" } +multiaddr = { version = "0.17.1" } +multihash = { version = "0.18.1", default-features = false } +multihash-codetable = { version = "0.1.1" } +multistream-select = { version = "0.12.1" } +names = { version = "0.14.0", default-features = false } +nix = { version = "0.27.1" } +node-primitives = { path = "substrate/bin/node/primitives", default-features = false } +node-rpc = { path = "substrate/bin/node/rpc" } +node-template-runtime = { path = "substrate/bin/node-template/runtime" } +node-testing = { path = "substrate/bin/node/testing" } +nohash-hasher = { version = "0.2.0" } +num-bigint = { version = "0.4.3" } +num-format = { version = "0.4.3" } +num-rational = { version = "0.4.1" } +num-traits = { version = "0.2.17", default-features = false } +num_cpus = { version = "1.13.1" } +once_cell = { version = "1.19" } +orchestra = { version = "0.3.5", default-features = false } +pallet-alliance = { path = "substrate/frame/alliance", default-features = false } +pallet-asset-conversion = { path = "substrate/frame/asset-conversion", default-features = false } +pallet-asset-conversion-tx-payment = { path = "substrate/frame/transaction-payment/asset-conversion-tx-payment", default-features = false } +pallet-asset-rate = { path = "substrate/frame/asset-rate", default-features = false } +pallet-asset-tx-payment = { path = "substrate/frame/transaction-payment/asset-tx-payment", default-features = false } +pallet-assets = { path = "substrate/frame/assets", default-features = false } +pallet-aura = { path = "substrate/frame/aura", default-features = false } +pallet-authority-discovery = { path = "substrate/frame/authority-discovery", default-features = false } +pallet-authorship = { path = "substrate/frame/authorship", default-features = false } +pallet-babe = { path = "substrate/frame/babe", default-features = false } +pallet-bags-list = { path = "substrate/frame/bags-list", default-features = false } +pallet-bags-list-remote-tests = { path = "substrate/frame/bags-list/remote-tests" } +pallet-balances = { path = "substrate/frame/balances", default-features = false } +pallet-beefy = { path = "substrate/frame/beefy", default-features = false } +pallet-beefy-mmr = { path = "substrate/frame/beefy-mmr", default-features = false } +pallet-bounties = { path = "substrate/frame/bounties", default-features = false } +pallet-bridge-grandpa = { path = "bridges/modules/grandpa", default-features = false } +pallet-bridge-messages = { path = "bridges/modules/messages", default-features = false } +pallet-bridge-parachains = { path = "bridges/modules/parachains", default-features = false } +pallet-bridge-relayers = { path = "bridges/modules/relayers", default-features = false } +pallet-broker = { path = "substrate/frame/broker", default-features = false } +pallet-child-bounties = { path = "substrate/frame/child-bounties", default-features = false } +pallet-collator-selection = { path = "cumulus/pallets/collator-selection", default-features = false } +pallet-collective = { path = "substrate/frame/collective", default-features = false } +pallet-collective-content = { path = "cumulus/parachains/pallets/collective-content", default-features = false } +pallet-contracts = { path = "substrate/frame/contracts", default-features = false } +pallet-contracts-fixtures = { path = "substrate/frame/contracts/fixtures" } +pallet-contracts-proc-macro = { path = "substrate/frame/contracts/proc-macro" } +pallet-contracts-uapi = { path = "substrate/frame/contracts/uapi", default-features = false } +pallet-conviction-voting = { path = "substrate/frame/conviction-voting", default-features = false } +pallet-core-fellowship = { path = "substrate/frame/core-fellowship", default-features = false } +pallet-default-config-example = { path = "substrate/frame/examples/default-config", default-features = false } +pallet-democracy = { path = "substrate/frame/democracy", default-features = false } +pallet-dev-mode = { path = "substrate/frame/examples/dev-mode", default-features = false } +pallet-election-provider-multi-phase = { path = "substrate/frame/election-provider-multi-phase", default-features = false } +pallet-election-provider-support-benchmarking = { path = "substrate/frame/election-provider-support/benchmarking", default-features = false } +pallet-elections-phragmen = { path = "substrate/frame/elections-phragmen", default-features = false } +pallet-example-basic = { path = "substrate/frame/examples/basic", default-features = false } +pallet-example-frame-crate = { path = "substrate/frame/examples/frame-crate", default-features = false } +pallet-example-kitchensink = { path = "substrate/frame/examples/kitchensink", default-features = false } +pallet-example-offchain-worker = { path = "substrate/frame/examples/offchain-worker", default-features = false } +pallet-example-split = { path = "substrate/frame/examples/split", default-features = false } +pallet-example-tasks = { path = "substrate/frame/examples/tasks", default-features = false } +pallet-examples = { path = "substrate/frame/examples" } +pallet-fast-unstake = { path = "substrate/frame/fast-unstake", default-features = false } +pallet-glutton = { path = "substrate/frame/glutton", default-features = false } +pallet-grandpa = { path = "substrate/frame/grandpa", default-features = false } +pallet-identity = { path = "substrate/frame/identity", default-features = false } +pallet-im-online = { path = "substrate/frame/im-online", default-features = false } +pallet-indices = { path = "substrate/frame/indices", default-features = false } +pallet-insecure-randomness-collective-flip = { path = "substrate/frame/insecure-randomness-collective-flip", default-features = false } +pallet-lottery = { path = "substrate/frame/lottery", default-features = false } +pallet-membership = { path = "substrate/frame/membership", default-features = false } +pallet-message-queue = { path = "substrate/frame/message-queue", default-features = false } +pallet-mixnet = { path = "substrate/frame/mixnet", default-features = false } +pallet-mmr = { path = "substrate/frame/merkle-mountain-range", default-features = false } +pallet-multisig = { path = "substrate/frame/multisig", default-features = false } +pallet-nft-fractionalization = { path = "substrate/frame/nft-fractionalization", default-features = false } +pallet-nfts = { path = "substrate/frame/nfts", default-features = false } +pallet-nfts-runtime-api = { path = "substrate/frame/nfts/runtime-api", default-features = false } +pallet-nis = { path = "substrate/frame/nis", default-features = false } +pallet-nomination-pools = { path = "substrate/frame/nomination-pools", default-features = false } +pallet-nomination-pools-benchmarking = { path = "substrate/frame/nomination-pools/benchmarking", default-features = false } +pallet-nomination-pools-runtime-api = { path = "substrate/frame/nomination-pools/runtime-api", default-features = false } +pallet-offences = { path = "substrate/frame/offences", default-features = false } +pallet-offences-benchmarking = { path = "substrate/frame/offences/benchmarking", default-features = false } +pallet-paged-list = { path = "substrate/frame/paged-list", default-features = false } +pallet-parachain-template = { path = "cumulus/parachain-template/pallets/template", default-features = false } +pallet-parameters = { path = "substrate/frame/parameters", default-features = false } +pallet-preimage = { path = "substrate/frame/preimage", default-features = false } +pallet-proxy = { path = "substrate/frame/proxy", default-features = false } +pallet-ranked-collective = { path = "substrate/frame/ranked-collective", default-features = false } +pallet-recovery = { path = "substrate/frame/recovery", default-features = false } +pallet-referenda = { path = "substrate/frame/referenda", default-features = false } +pallet-remark = { path = "substrate/frame/remark", default-features = false } +pallet-root-testing = { path = "substrate/frame/root-testing", default-features = false } +pallet-safe-mode = { path = "substrate/frame/safe-mode", default-features = false } +pallet-salary = { path = "substrate/frame/salary", default-features = false } +pallet-scheduler = { path = "substrate/frame/scheduler", default-features = false } +pallet-session = { path = "substrate/frame/session", default-features = false } +pallet-session-benchmarking = { path = "substrate/frame/session/benchmarking", default-features = false } +pallet-skip-feeless-payment = { path = "substrate/frame/transaction-payment/skip-feeless-payment", default-features = false } +pallet-society = { path = "substrate/frame/society", default-features = false } +pallet-staking = { path = "substrate/frame/staking", default-features = false } +pallet-staking-reward-curve = { path = "substrate/frame/staking/reward-curve", default-features = false } +pallet-staking-reward-fn = { path = "substrate/frame/staking/reward-fn", default-features = false } +pallet-staking-runtime-api = { path = "substrate/frame/staking/runtime-api", default-features = false } +pallet-state-trie-migration = { path = "substrate/frame/state-trie-migration", default-features = false } +pallet-statement = { path = "substrate/frame/statement", default-features = false } +pallet-sudo = { path = "substrate/frame/sudo", default-features = false } +pallet-template = { path = "substrate/bin/node-template/pallets/template", default-features = false } +pallet-timestamp = { path = "substrate/frame/timestamp", default-features = false } +pallet-tips = { path = "substrate/frame/tips", default-features = false } +pallet-transaction-payment = { path = "substrate/frame/transaction-payment", default-features = false } +pallet-transaction-payment-rpc = { path = "substrate/frame/transaction-payment/rpc" } +pallet-transaction-payment-rpc-runtime-api = { path = "substrate/frame/transaction-payment/rpc/runtime-api", default-features = false } +pallet-transaction-storage = { path = "substrate/frame/transaction-storage", default-features = false } +pallet-treasury = { path = "substrate/frame/treasury", default-features = false } +pallet-tx-pause = { path = "substrate/frame/tx-pause", default-features = false } +pallet-uniques = { path = "substrate/frame/uniques", default-features = false } +pallet-utility = { path = "substrate/frame/utility", default-features = false } +pallet-vesting = { path = "substrate/frame/vesting", default-features = false } +pallet-whitelist = { path = "substrate/frame/whitelist", default-features = false } +pallet-xcm = { path = "polkadot/xcm/pallet-xcm", default-features = false } +pallet-xcm-benchmarks = { path = "polkadot/xcm/pallet-xcm-benchmarks", default-features = false } +pallet-xcm-bridge-hub = { path = "bridges/modules/xcm-bridge-hub", default-features = false } +pallet-xcm-bridge-hub-router = { path = "bridges/modules/xcm-bridge-hub-router", default-features = false } +parachain-template-runtime = { path = "cumulus/parachain-template/runtime" } +parachains-common = { path = "cumulus/parachains/common", default-features = false } +parachains-runtimes-test-utils = { path = "cumulus/parachains/runtimes/test-utils", default-features = false } +parity-bytes = { version = "0.1.2", default-features = false } +parity-db = { version = "0.4.12" } +parity-util-mem = { version = "0.12.0" } +parity-wasm = { version = "0.45.0" } +parking_lot = { version = "0.12.1", default-features = false } +partial_sort = { version = "0.2.0" } +paste = { version = "1.0.14", default-features = false } +penpal-emulated-chain = { path = "cumulus/parachains/integration-tests/emulated/chains/parachains/testing/penpal" } +penpal-runtime = { path = "cumulus/parachains/runtimes/testing/penpal" } +people-rococo-emulated-chain = { path = "cumulus/parachains/integration-tests/emulated/chains/parachains/people/people-rococo" } +people-rococo-runtime = { path = "cumulus/parachains/runtimes/people/people-rococo" } +people-westend-emulated-chain = { path = "cumulus/parachains/integration-tests/emulated/chains/parachains/people/people-westend" } +people-westend-runtime = { path = "cumulus/parachains/runtimes/people/people-westend" } +pin-project = { version = "1.1.3" } +platforms = { version = "3.0" } +polkadot-approval-distribution = { path = "polkadot/node/network/approval-distribution" } +polkadot-availability-bitfield-distribution = { path = "polkadot/node/network/bitfield-distribution" } +polkadot-availability-distribution = { path = "polkadot/node/network/availability-distribution" } +polkadot-availability-recovery = { path = "polkadot/node/network/availability-recovery" } +polkadot-cli = { path = "polkadot/cli", default-features = false } +polkadot-collator-protocol = { path = "polkadot/node/network/collator-protocol" } +polkadot-core-primitives = { path = "polkadot/core-primitives", default-features = false } +polkadot-dispute-distribution = { path = "polkadot/node/network/dispute-distribution" } +polkadot-gossip-support = { path = "polkadot/node/network/gossip-support" } +polkadot-network-bridge = { path = "polkadot/node/network/bridge" } +polkadot-node-collation-generation = { path = "polkadot/node/collation-generation" } +polkadot-node-core-approval-voting = { path = "polkadot/node/core/approval-voting" } +polkadot-node-core-av-store = { path = "polkadot/node/core/av-store" } +polkadot-node-core-backing = { path = "polkadot/node/core/backing" } +polkadot-node-core-bitfield-signing = { path = "polkadot/node/core/bitfield-signing" } +polkadot-node-core-candidate-validation = { path = "polkadot/node/core/candidate-validation" } +polkadot-node-core-chain-api = { path = "polkadot/node/core/chain-api" } +polkadot-node-core-chain-selection = { path = "polkadot/node/core/chain-selection" } +polkadot-node-core-dispute-coordinator = { path = "polkadot/node/core/dispute-coordinator" } +polkadot-node-core-parachains-inherent = { path = "polkadot/node/core/parachains-inherent" } +polkadot-node-core-prospective-parachains = { path = "polkadot/node/core/prospective-parachains" } +polkadot-node-core-provisioner = { path = "polkadot/node/core/provisioner" } +polkadot-node-core-pvf = { path = "polkadot/node/core/pvf" } +polkadot-node-core-pvf-checker = { path = "polkadot/node/core/pvf-checker" } +polkadot-node-core-pvf-common = { path = "polkadot/node/core/pvf/common" } +polkadot-node-core-pvf-execute-worker = { path = "polkadot/node/core/pvf/execute-worker" } +polkadot-node-core-pvf-prepare-worker = { path = "polkadot/node/core/pvf/prepare-worker" } +polkadot-node-core-runtime-api = { path = "polkadot/node/core/runtime-api" } +polkadot-node-jaeger = { path = "polkadot/node/jaeger" } +polkadot-node-metrics = { path = "polkadot/node/metrics" } +polkadot-node-network-protocol = { path = "polkadot/node/network/protocol" } +polkadot-node-subsystem = { path = "polkadot/node/subsystem" } +polkadot-node-subsystem-types = { path = "polkadot/node/subsystem-types" } +polkadot-node-subsystem-util = { path = "polkadot/node/subsystem-util" } +polkadot-overseer = { path = "polkadot/node/overseer" } +polkadot-rpc = { path = "polkadot/rpc" } +polkadot-runtime-metrics = { path = "polkadot/runtime/metrics", default-features = false } +polkadot-statement-distribution = { path = "polkadot/node/network/statement-distribution" } +polkadot-test-client = { path = "polkadot/node/test/client" } +polkadot-test-runtime = { path = "polkadot/runtime/test-runtime" } +polkadot-test-service = { path = "polkadot/node/test/service" } +portpicker = { version = "0.1.1" } +pretty_assertions = { version = "1.3.0" } +primitive-types = { version = "0.12.1", default-features = false } +metered = { version = "0.6.1", default-features = false, package = "prioritized-metered-channel" } +proc-macro-crate = { version = "3.0.0" } +proc-macro-warning = { version = "1.0.0", default-features = false } +proc-macro2 = { version = "1.0.64" } +procfs = { version = "0.16.0" } +prometheus = { version = "0.13.0", default-features = false } +prometheus-parse = { version = "0.2.2" } +prost = { version = "0.12" } +prost-build = { version = "0.11" } +pyroscope_pprofrs = { version = "0.2.7" } +quickcheck = { version = "1.0.3", default-features = false } +rand = { version = "0.8.5", default-features = false } +rand_chacha = { version = "0.3.1", default-features = false } +rand_core = { version = "0.6.2" } +rand_distr = { version = "0.4.3" } +rand_pcg = { version = "0.3.1" } +rayon = { version = "1.5.1" } +novelpoly = { version = "2.0.0", package = "reed-solomon-novelpoly" } +ref-cast = { version = "1.0.0" } +regex = { version = "1.10.2" } +reqwest = { version = "0.11", default-features = false } +rlp = { version = "0.5.2", default-features = false } +rococo-emulated-chain = { path = "cumulus/parachains/integration-tests/emulated/chains/relays/rococo" } +rococo-parachain-runtime = { path = "cumulus/parachains/runtimes/testing/rococo-parachain" } +rococo-runtime = { path = "polkadot/runtime/rococo" } +rococo-runtime-constants = { path = "polkadot/runtime/rococo/constants", default-features = false } +rococo-system-emulated-network = { path = "cumulus/parachains/integration-tests/emulated/networks/rococo-system" } +rococo-westend-system-emulated-network = { path = "cumulus/parachains/integration-tests/emulated/networks/rococo-westend-system" } +rpassword = { version = "7.0.0" } +rstest = { version = "0.18.2" } +rustc-hash = { version = "1.1.0" } +rustix = { version = "0.36.7", default-features = false } +rustversion = { version = "1.0.6" } +rusty-fork = { version = "0.3.0", default-features = false } +safe-mix = { version = "1.0", default-features = false } +sc-allocator = { path = "substrate/client/allocator" } +sc-authority-discovery = { path = "substrate/client/authority-discovery" } +sc-basic-authorship = { path = "substrate/client/basic-authorship" } +sc-block-builder = { path = "substrate/client/block-builder" } +sc-chain-spec = { path = "substrate/client/chain-spec" } +sc-chain-spec-derive = { path = "substrate/client/chain-spec/derive" } +sc-cli = { path = "substrate/client/cli", default-features = false } +sc-client-db = { path = "substrate/client/db", default-features = false } +sc-consensus = { path = "substrate/client/consensus/common" } +sc-consensus-aura = { path = "substrate/client/consensus/aura" } +sc-consensus-babe-rpc = { path = "substrate/client/consensus/babe/rpc" } +sc-consensus-beefy-rpc = { path = "substrate/client/consensus/beefy/rpc" } +sc-consensus-epochs = { path = "substrate/client/consensus/epochs" } +sc-consensus-grandpa-rpc = { path = "substrate/client/consensus/grandpa/rpc" } +sc-consensus-manual-seal = { path = "substrate/client/consensus/manual-seal" } +sc-consensus-pow = { path = "substrate/client/consensus/pow" } +sc-consensus-slots = { path = "substrate/client/consensus/slots" } +sc-executor = { path = "substrate/client/executor" } +sc-executor-common = { path = "substrate/client/executor/common" } +sc-executor-wasmtime = { path = "substrate/client/executor/wasmtime" } +sc-informant = { path = "substrate/client/informant" } +sc-keystore = { path = "substrate/client/keystore", default-features = false } +sc-mixnet = { path = "substrate/client/mixnet" } +sc-network = { path = "substrate/client/network" } +sc-network-bitswap = { path = "substrate/client/network/bitswap" } +sc-network-common = { path = "substrate/client/network/common" } +sc-network-gossip = { path = "substrate/client/network-gossip" } +sc-network-light = { path = "substrate/client/network/light" } +sc-network-statement = { path = "substrate/client/network/statement" } +sc-network-sync = { path = "substrate/client/network/sync" } +sc-network-test = { path = "substrate/client/network/test" } +sc-network-transactions = { path = "substrate/client/network/transactions" } +sc-offchain = { path = "substrate/client/offchain" } +sc-proposer-metrics = { path = "substrate/client/proposer-metrics" } +sc-rpc = { path = "substrate/client/rpc" } +sc-rpc-api = { path = "substrate/client/rpc-api" } +sc-rpc-server = { path = "substrate/client/rpc-servers" } +sc-rpc-spec-v2 = { path = "substrate/client/rpc-spec-v2" } +sc-runtime-test = { path = "substrate/client/executor/runtime-test" } +sc-service-test = { path = "substrate/client/service/test" } +sc-state-db = { path = "substrate/client/state-db" } +sc-statement-store = { path = "substrate/client/statement-store" } +sc-storage-monitor = { path = "substrate/client/storage-monitor" } +sc-sync-state-rpc = { path = "substrate/client/sync-state-rpc" } +sc-sysinfo = { path = "substrate/client/sysinfo" } +sc-tracing = { path = "substrate/client/tracing" } +sc-tracing-proc-macro = { path = "substrate/client/tracing/proc-macro" } +sc-transaction-pool = { path = "substrate/client/transaction-pool" } +sc-utils = { path = "substrate/client/utils" } +scale-info = { version = "2.10.0", default-features = false } +schemars = { version = "0.8.13", default-features = false } +schnellru = { version = "0.2.1" } +schnorrkel = { version = "0.11.4", default-features = false } +seccompiler = { version = "0.4.0" } +secp256k1 = { version = "0.28.0", default-features = false } +secrecy = { version = "0.8.0", default-features = false } +seedling-runtime = { path = "cumulus/parachains/runtimes/starters/seedling" } +separator = { version = "0.4.1" } +serial_test = { version = "2.0.0" } +sha1 = { version = "0.10.6" } +sha2 = { version = "0.10.7", default-features = false } +sha3 = { version = "0.10.0", default-features = false } +shell-runtime = { path = "cumulus/parachains/runtimes/starters/shell" } +simple-mermaid = { version = "0.1.1" } +slot-range-helper = { path = "polkadot/runtime/common/slot_range_helper", default-features = false } +slotmap = { version = "1.0" } +smallvec = { version = "1.11.0", default-features = false } +smoldot = { version = "0.11.0", default-features = false } +smoldot-light = { version = "0.9.0", default-features = false } +snowbridge-core = { path = "bridges/snowbridge/primitives/core", default-features = false } +snowbridge-ethereum = { path = "bridges/snowbridge/primitives/ethereum", default-features = false } +milagro-bls = { version = "1.5.4", default-features = false, package = "snowbridge-milagro-bls" } +snowbridge-outbound-queue-merkle-tree = { path = "bridges/snowbridge/pallets/outbound-queue/merkle-tree", default-features = false } +snowbridge-outbound-queue-runtime-api = { path = "bridges/snowbridge/pallets/outbound-queue/runtime-api", default-features = false } +snowbridge-pallet-ethereum-client = { path = "bridges/snowbridge/pallets/ethereum-client", default-features = false } +snowbridge-pallet-ethereum-client-fixtures = { path = "bridges/snowbridge/pallets/ethereum-client/fixtures", default-features = false } +snowbridge-pallet-inbound-queue = { path = "bridges/snowbridge/pallets/inbound-queue", default-features = false } +snowbridge-pallet-inbound-queue-fixtures = { path = "bridges/snowbridge/pallets/inbound-queue/fixtures", default-features = false } +snowbridge-pallet-outbound-queue = { path = "bridges/snowbridge/pallets/outbound-queue", default-features = false } +snowbridge-pallet-system = { path = "bridges/snowbridge/pallets/system", default-features = false } +snowbridge-router-primitives = { path = "bridges/snowbridge/primitives/router", default-features = false } +snowbridge-runtime-common = { path = "bridges/snowbridge/runtime/runtime-common", default-features = false } +snowbridge-runtime-test-common = { path = "bridges/snowbridge/runtime/test-common" } +snowbridge-system-runtime-api = { path = "bridges/snowbridge/pallets/system/runtime-api", default-features = false } +soketto = { version = "0.7.1" } +sp-api = { path = "substrate/primitives/api", default-features = false } +sp-api-proc-macro = { path = "substrate/primitives/api/proc-macro", default-features = false } +sp-arithmetic = { path = "substrate/primitives/arithmetic", default-features = false } +sp-blockchain = { path = "substrate/primitives/blockchain" } +sp-consensus-aura = { path = "substrate/primitives/consensus/aura", default-features = false } +sp-consensus-pow = { path = "substrate/primitives/consensus/pow" } +sp-consensus-sassafras = { path = "substrate/primitives/consensus/sassafras", default-features = false } +sp-consensus-slots = { path = "substrate/primitives/consensus/slots", default-features = false } +sp-crypto-hashing = { path = "substrate/primitives/crypto/hashing", default-features = false } +sp-crypto-hashing-proc-macro = { path = "substrate/primitives/crypto/hashing/proc-macro" } +sp-database = { path = "substrate/primitives/database" } +sp-debug-derive = { path = "substrate/primitives/debug-derive", default-features = false } +sp-externalities = { path = "substrate/primitives/externalities", default-features = false } +sp-genesis-builder = { path = "substrate/primitives/genesis-builder", default-features = false } +sp-io = { path = "substrate/primitives/io", default-features = false } +sp-keystore = { path = "substrate/primitives/keystore", default-features = false } +sp-maybe-compressed-blob = { path = "substrate/primitives/maybe-compressed-blob" } +sp-metadata-ir = { path = "substrate/primitives/metadata-ir", default-features = false } +sp-mixnet = { path = "substrate/primitives/mixnet", default-features = false } +sp-mmr-primitives = { path = "substrate/primitives/merkle-mountain-range", default-features = false } +sp-npos-elections = { path = "substrate/primitives/npos-elections", default-features = false } +sp-panic-handler = { path = "substrate/primitives/panic-handler" } +sp-rpc = { path = "substrate/primitives/rpc" } +sp-runtime-interface = { path = "substrate/primitives/runtime-interface", default-features = false } +sp-runtime-interface-proc-macro = { path = "substrate/primitives/runtime-interface/proc-macro" } +sp-runtime-interface-test-wasm = { path = "substrate/primitives/runtime-interface/test-wasm" } +sp-runtime-interface-test-wasm-deprecated = { path = "substrate/primitives/runtime-interface/test-wasm-deprecated" } +sp-session = { path = "substrate/primitives/session", default-features = false } +sp-staking = { path = "substrate/primitives/staking", default-features = false } +sp-state-machine = { path = "substrate/primitives/state-machine", default-features = false } +sp-statement-store = { path = "substrate/primitives/statement-store", default-features = false } +sp-std = { path = "substrate/primitives/std", default-features = false } +sp-storage = { path = "substrate/primitives/storage", default-features = false } +sp-test-primitives = { path = "substrate/primitives/test-primitives" } +sp-timestamp = { path = "substrate/primitives/timestamp", default-features = false } +sp-tracing = { path = "substrate/primitives/tracing", default-features = false } +sp-transaction-storage-proof = { path = "substrate/primitives/transaction-storage-proof", default-features = false } +sp-trie = { path = "substrate/primitives/trie", default-features = false } +sp-version = { path = "substrate/primitives/version", default-features = false } +sp-version-proc-macro = { path = "substrate/primitives/version/proc-macro", default-features = false } +sp-wasm-interface = { path = "substrate/primitives/wasm-interface", default-features = false } +sp-weights = { path = "substrate/primitives/weights", default-features = false } +spinners = { version = "4.1.0" } +ss58-registry = { version = "1.34.0", default-features = false } +ssz_rs = { version = "0.9.0", default-features = false } +ssz_rs_derive = { version = "0.9.0", default-features = false } +chain-spec-builder = { path = "substrate/bin/utils/chain-spec-builder", package = "staging-chain-spec-builder" } +node-cli = { path = "substrate/bin/node/cli", package = "staging-node-cli" } +node-inspect = { path = "substrate/bin/node/inspect", package = "staging-node-inspect" } +parachain-info = { path = "cumulus/parachains/pallets/parachain-info", default-features = false, package = "staging-parachain-info" } +tracking-allocator = { path = "polkadot/node/tracking-allocator", package = "staging-tracking-allocator" } +xcm = { path = "polkadot/xcm", default-features = false, package = "staging-xcm" } +xcm-builder = { path = "polkadot/xcm/xcm-builder", default-features = false, package = "staging-xcm-builder" } +xcm-executor = { path = "polkadot/xcm/xcm-executor", default-features = false, package = "staging-xcm-executor" } +static_assertions = { version = "1.1.0", default-features = false } +static_init = { version = "1.0.3" } +strum = { version = "0.24.1", default-features = false } +subkey = { path = "substrate/bin/utils/subkey" } +substrate-bip39 = { version = "0.4.5" } +substrate-build-script-utils = { path = "substrate/utils/build-script-utils" } +substrate-cli-test-utils = { path = "substrate/test-utils/cli" } +substrate-frame-cli = { path = "substrate/utils/frame/frame-utilities-cli" } +substrate-rpc-client = { path = "substrate/utils/frame/rpc/client" } +substrate-state-trie-migration-rpc = { path = "substrate/utils/frame/rpc/state-trie-migration-rpc" } +substrate-test-client = { path = "substrate/test-utils/client" } +substrate-test-runtime = { path = "substrate/test-utils/runtime" } +substrate-test-runtime-client = { path = "substrate/test-utils/runtime/client" } +substrate-test-runtime-transaction-pool = { path = "substrate/test-utils/runtime/transaction-pool" } +substrate-test-utils = { path = "substrate/test-utils" } +substrate-wasm-builder = { path = "substrate/utils/wasm-builder" } +tar = { version = "0.4" } +tempfile = { version = "3.8.1" } +halt = { path = "polkadot/parachain/test-parachains/halt", package = "test-parachain-halt" } +test-parachain-undying = { path = "polkadot/parachain/test-parachains/undying" } +test-runtime-constants = { path = "polkadot/runtime/test-runtime/constants", default-features = false } +testnet-parachains-constants = { path = "cumulus/parachains/runtimes/constants", default-features = false } +thousands = { version = "0.2.0" } +threadpool = { version = "1.7" } +tikv-jemalloc-ctl = { version = "0.5.0" } +tikv-jemallocator = { version = "0.5.0" } +tiny-keccak = { version = "2.0.2" } +tokio = { version = "1.32.0", default-features = false } +tokio-retry = { version = "0.3.0" } +tokio-stream = { version = "0.1.14" } +tokio-test = { version = "0.4.2" } +tokio-tungstenite = { version = "0.17" } +tokio-util = { version = "0.7.8" } +toml = { version = "0.8.8" } +toml_edit = { version = "0.19" } +tower = { version = "0.4.13" } +tower-http = { version = "0.4.0" } +tracing = { version = "0.1.37", default-features = false } +tracing-core = { version = "0.1.32", default-features = false } +tracing-futures = { version = "0.2.4" } +gum = { path = "polkadot/node/gum", package = "tracing-gum" } +gum-proc-macro = { path = "polkadot/node/gum/proc-macro", package = "tracing-gum-proc-macro" } +tracing-log = { version = "0.1.3" } +tracing-subscriber = { version = "0.3.0" } +trie-bench = { version = "0.38.0" } +trie-db = { version = "0.28.0", default-features = false } +trie-root = { version = "0.18.0", default-features = false } +trie-standardmap = { version = "0.16.0" } +try-runtime-cli = { path = "substrate/utils/frame/try-runtime/cli" } +trybuild = { version = "1.0.88" } +tt-call = { version = "1.0.8" } +twox-hash = { version = "1.6.3", default-features = false } +unsigned-varint = { version = "0.7.1" } +url = { version = "2.4.0" } +w3f-bls = { version = "0.1.3", default-features = false } +wait-timeout = { version = "0.2" } +walkdir = { version = "2.4.0" } +wasm-bindgen-test = { version = "0.3.19" } +wasm-instrument = { version = "0.4", default-features = false } +wasm-opt = { version = "0.116" } +wasm-timer = { version = "0.2.5" } +wasmi = { version = "0.31", default-features = false } +wasmtime = { version = "8.0.1", default-features = false } +wat = { version = "1.0.0" } +westend-emulated-chain = { path = "cumulus/parachains/integration-tests/emulated/chains/relays/westend", default-features = false } +westend-runtime = { path = "polkadot/runtime/westend" } +westend-runtime-constants = { path = "polkadot/runtime/westend/constants", default-features = false } +westend-system-emulated-network = { path = "cumulus/parachains/integration-tests/emulated/networks/westend-system" } +x25519-dalek = { version = "2.0" } +xcm-emulator = { path = "cumulus/xcm/xcm-emulator" } +xcm-procedural = { path = "polkadot/xcm/procedural" } +xcm-simulator = { path = "polkadot/xcm/xcm-simulator" } +zeroize = { version = "1.4.3", default-features = false } +zstd = { version = "0.12.4", default-features = false } diff --git bridges/bin/runtime-common/Cargo.toml bridges/bin/runtime-common/Cargo.toml index fac88b20ca..9719e0509c 100644 --- bridges/bin/runtime-common/Cargo.toml +++ bridges/bin/runtime-common/Cargo.toml @@ -15 +15 @@ codec = { package = "parity-scale-codec", version = "3.1.5", default-features = -hash-db = { version = "0.16.0", default-features = false } +hash-db = { workspace = true } @@ -17,2 +17,2 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -static_assertions = { version = "1.1", optional = true } +scale-info = { features = ["derive"] , workspace = true } +static_assertions = { optional = true , workspace = true, default-features = true } @@ -22,12 +22,12 @@ static_assertions = { version = "1.1", optional = true } -bp-header-chain = { path = "../../primitives/header-chain", default-features = false } -bp-messages = { path = "../../primitives/messages", default-features = false } -bp-parachains = { path = "../../primitives/parachains", default-features = false } -bp-polkadot-core = { path = "../../primitives/polkadot-core", default-features = false } -bp-relayers = { path = "../../primitives/relayers", default-features = false } -bp-runtime = { path = "../../primitives/runtime", default-features = false } -bp-xcm-bridge-hub = { path = "../../primitives/xcm-bridge-hub", default-features = false } -bp-xcm-bridge-hub-router = { path = "../../primitives/xcm-bridge-hub-router", default-features = false } -pallet-bridge-grandpa = { path = "../../modules/grandpa", default-features = false } -pallet-bridge-messages = { path = "../../modules/messages", default-features = false } -pallet-bridge-parachains = { path = "../../modules/parachains", default-features = false } -pallet-bridge-relayers = { path = "../../modules/relayers", default-features = false } +bp-header-chain = { workspace = true } +bp-messages = { workspace = true } +bp-parachains = { workspace = true } +bp-polkadot-core = { workspace = true } +bp-relayers = { workspace = true } +bp-runtime = { workspace = true } +bp-xcm-bridge-hub = { workspace = true } +bp-xcm-bridge-hub-router = { workspace = true } +pallet-bridge-grandpa = { workspace = true } +pallet-bridge-messages = { workspace = true } +pallet-bridge-parachains = { workspace = true } +pallet-bridge-relayers = { workspace = true } @@ -39,3 +39,3 @@ frame-system = { path = "../../../substrate/frame/system", default-features = fa -pallet-transaction-payment = { path = "../../../substrate/frame/transaction-payment", default-features = false } -pallet-utility = { path = "../../../substrate/frame/utility", default-features = false } -sp-api = { path = "../../../substrate/primitives/api", default-features = false } +pallet-transaction-payment = { workspace = true } +pallet-utility = { workspace = true } +sp-api = { workspace = true } @@ -43 +43 @@ sp-core = { path = "../../../substrate/primitives/core", default-features = fals -sp-io = { path = "../../../substrate/primitives/io", default-features = false } +sp-io = { workspace = true } @@ -45,2 +45,2 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-std = { path = "../../../substrate/primitives/std", default-features = false } -sp-trie = { path = "../../../substrate/primitives/trie", default-features = false } +sp-std = { workspace = true } +sp-trie = { workspace = true } @@ -49,2 +49,2 @@ sp-trie = { path = "../../../substrate/primitives/trie", default-features = fals -xcm = { package = "staging-xcm", path = "../../../polkadot/xcm", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../../../polkadot/xcm/xcm-builder", default-features = false } +xcm = { workspace = true } +xcm-builder = { workspace = true } @@ -53,2 +53,2 @@ xcm-builder = { package = "staging-xcm-builder", path = "../../../polkadot/xcm/x -bp-test-utils = { path = "../../primitives/test-utils" } -pallet-balances = { path = "../../../substrate/frame/balances" } +bp-test-utils = { workspace = true, default-features = true } +pallet-balances = { workspace = true, default-features = true } diff --git bridges/modules/grandpa/Cargo.toml bridges/modules/grandpa/Cargo.toml index dccd7b3bdc..d9f508e7fd 100644 --- bridges/modules/grandpa/Cargo.toml +++ bridges/modules/grandpa/Cargo.toml @@ -18 +18 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -22,2 +22,2 @@ scale-info = { version = "2.10.0", default-features = false, features = ["derive -bp-runtime = { path = "../../primitives/runtime", default-features = false } -bp-header-chain = { path = "../../primitives/header-chain", default-features = false } +bp-runtime = { workspace = true } +bp-header-chain = { workspace = true } @@ -31,2 +31,2 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-std = { path = "../../../substrate/primitives/std", default-features = false } -sp-trie = { path = "../../../substrate/primitives/trie", default-features = false } +sp-std = { workspace = true } +sp-trie = { workspace = true } @@ -35,2 +35,2 @@ sp-trie = { path = "../../../substrate/primitives/trie", default-features = fals -bp-test-utils = { path = "../../primitives/test-utils", default-features = false, optional = true } -frame-benchmarking = { path = "../../../substrate/frame/benchmarking", default-features = false, optional = true } +bp-test-utils = { optional = true , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -40 +40 @@ sp-core = { path = "../../../substrate/primitives/core" } -sp-io = { path = "../../../substrate/primitives/io" } +sp-io = { workspace = true, default-features = true } diff --git bridges/modules/messages/Cargo.toml bridges/modules/messages/Cargo.toml index 173d6f1c16..5c8c85198c 100644 --- bridges/modules/messages/Cargo.toml +++ bridges/modules/messages/Cargo.toml @@ -15,2 +15,2 @@ log = { workspace = true } -num-traits = { version = "0.2", default-features = false } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +num-traits = { workspace = true } +scale-info = { features = ["derive"] , workspace = true } @@ -20,2 +20,2 @@ scale-info = { version = "2.10.0", default-features = false, features = ["derive -bp-messages = { path = "../../primitives/messages", default-features = false } -bp-runtime = { path = "../../primitives/runtime", default-features = false } +bp-messages = { workspace = true } +bp-runtime = { workspace = true } @@ -25 +25 @@ bp-runtime = { path = "../../primitives/runtime", default-features = false } -frame-benchmarking = { path = "../../../substrate/frame/benchmarking", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } @@ -29 +29 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-std = { path = "../../../substrate/primitives/std", default-features = false } +sp-std = { workspace = true } @@ -32,3 +32,3 @@ sp-std = { path = "../../../substrate/primitives/std", default-features = false -bp-test-utils = { path = "../../primitives/test-utils" } -pallet-balances = { path = "../../../substrate/frame/balances" } -sp-io = { path = "../../../substrate/primitives/io" } +bp-test-utils = { workspace = true, default-features = true } +pallet-balances = { workspace = true, default-features = true } +sp-io = { workspace = true, default-features = true } diff --git bridges/modules/parachains/Cargo.toml bridges/modules/parachains/Cargo.toml index e454a6f288..f0cd6bbd28 100644 --- bridges/modules/parachains/Cargo.toml +++ bridges/modules/parachains/Cargo.toml @@ -15 +15 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -19,5 +19,5 @@ scale-info = { version = "2.10.0", default-features = false, features = ["derive -bp-header-chain = { path = "../../primitives/header-chain", default-features = false } -bp-parachains = { path = "../../primitives/parachains", default-features = false } -bp-polkadot-core = { path = "../../primitives/polkadot-core", default-features = false } -bp-runtime = { path = "../../primitives/runtime", default-features = false } -pallet-bridge-grandpa = { path = "../grandpa", default-features = false } +bp-header-chain = { workspace = true } +bp-parachains = { workspace = true } +bp-polkadot-core = { workspace = true } +bp-runtime = { workspace = true } +pallet-bridge-grandpa = { workspace = true } @@ -27 +27 @@ pallet-bridge-grandpa = { path = "../grandpa", default-features = false } -frame-benchmarking = { path = "../../../substrate/frame/benchmarking", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } @@ -31,2 +31,2 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-std = { path = "../../../substrate/primitives/std", default-features = false } -sp-trie = { path = "../../../substrate/primitives/trie", default-features = false } +sp-std = { workspace = true } +sp-trie = { workspace = true } @@ -35,2 +35,2 @@ sp-trie = { path = "../../../substrate/primitives/trie", default-features = fals -bp-header-chain = { path = "../../primitives/header-chain" } -bp-test-utils = { path = "../../primitives/test-utils" } +bp-header-chain = { workspace = true, default-features = true } +bp-test-utils = { workspace = true, default-features = true } @@ -38 +38 @@ sp-core = { path = "../../../substrate/primitives/core" } -sp-io = { path = "../../../substrate/primitives/io" } +sp-io = { workspace = true, default-features = true } diff --git bridges/modules/relayers/Cargo.toml bridges/modules/relayers/Cargo.toml index b78da5cbee..360c9ed43c 100644 --- bridges/modules/relayers/Cargo.toml +++ bridges/modules/relayers/Cargo.toml @@ -15 +15 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -19,4 +19,4 @@ scale-info = { version = "2.10.0", default-features = false, features = ["derive -bp-messages = { path = "../../primitives/messages", default-features = false } -bp-relayers = { path = "../../primitives/relayers", default-features = false } -bp-runtime = { path = "../../primitives/runtime", default-features = false } -pallet-bridge-messages = { path = "../messages", default-features = false } +bp-messages = { workspace = true } +bp-relayers = { workspace = true } +bp-runtime = { workspace = true } +pallet-bridge-messages = { workspace = true } @@ -26 +26 @@ pallet-bridge-messages = { path = "../messages", default-features = false } -frame-benchmarking = { path = "../../../substrate/frame/benchmarking", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } @@ -29 +29 @@ frame-system = { path = "../../../substrate/frame/system", default-features = fa -sp-arithmetic = { path = "../../../substrate/primitives/arithmetic", default-features = false } +sp-arithmetic = { workspace = true } @@ -31 +31 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-std = { path = "../../../substrate/primitives/std", default-features = false } +sp-std = { workspace = true } @@ -34,3 +34,3 @@ sp-std = { path = "../../../substrate/primitives/std", default-features = false -bp-runtime = { path = "../../primitives/runtime" } -pallet-balances = { path = "../../../substrate/frame/balances" } -sp-io = { path = "../../../substrate/primitives/io" } +bp-runtime = { workspace = true, default-features = true } +pallet-balances = { workspace = true, default-features = true } +sp-io = { workspace = true, default-features = true } diff --git bridges/modules/xcm-bridge-hub-router/Cargo.toml bridges/modules/xcm-bridge-hub-router/Cargo.toml index 20f8ff4407..4740e889f0 100644 --- bridges/modules/xcm-bridge-hub-router/Cargo.toml +++ bridges/modules/xcm-bridge-hub-router/Cargo.toml @@ -15 +15 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["bit-vec", "derive", "serde"] } +scale-info = { features = ["bit-vec", "derive", "serde"] , workspace = true } @@ -19 +19 @@ scale-info = { version = "2.10.0", default-features = false, features = ["bit-ve -bp-xcm-bridge-hub-router = { path = "../../primitives/xcm-bridge-hub-router", default-features = false } +bp-xcm-bridge-hub-router = { workspace = true } @@ -23 +23 @@ bp-xcm-bridge-hub-router = { path = "../../primitives/xcm-bridge-hub-router", de -frame-benchmarking = { path = "../../../substrate/frame/benchmarking", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } @@ -28 +28 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-std = { path = "../../../substrate/primitives/std", default-features = false } +sp-std = { workspace = true } @@ -32,2 +32,2 @@ sp-std = { path = "../../../substrate/primitives/std", default-features = false -xcm = { package = "staging-xcm", path = "../../../polkadot/xcm", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../../../polkadot/xcm/xcm-builder", default-features = false } +xcm = { workspace = true } +xcm-builder = { workspace = true } @@ -36,2 +36,2 @@ xcm-builder = { package = "staging-xcm-builder", path = "../../../polkadot/xcm/x -sp-io = { path = "../../../substrate/primitives/io" } -sp-std = { path = "../../../substrate/primitives/std" } +sp-io = { workspace = true, default-features = true } +sp-std = { workspace = true, default-features = true } diff --git bridges/modules/xcm-bridge-hub/Cargo.toml bridges/modules/xcm-bridge-hub/Cargo.toml index e10119e864..6258d8d1da 100644 --- bridges/modules/xcm-bridge-hub/Cargo.toml +++ bridges/modules/xcm-bridge-hub/Cargo.toml @@ -15 +15 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -18,5 +18,5 @@ scale-info = { version = "2.10.0", default-features = false, features = ["derive -bp-messages = { path = "../../primitives/messages", default-features = false } -bp-runtime = { path = "../../primitives/runtime", default-features = false } -bp-xcm-bridge-hub = { path = "../../primitives/xcm-bridge-hub", default-features = false } -pallet-bridge-messages = { path = "../messages", default-features = false } -bridge-runtime-common = { path = "../../bin/runtime-common", default-features = false } +bp-messages = { workspace = true } +bp-runtime = { workspace = true } +bp-xcm-bridge-hub = { workspace = true } +pallet-bridge-messages = { workspace = true } +bridge-runtime-common = { workspace = true } @@ -29 +29 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-std = { path = "../../../substrate/primitives/std", default-features = false } +sp-std = { workspace = true } @@ -32,3 +32,3 @@ sp-std = { path = "../../../substrate/primitives/std", default-features = false -xcm = { package = "staging-xcm", path = "../../../polkadot/xcm", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../../../polkadot/xcm/xcm-builder", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../../polkadot/xcm/xcm-executor", default-features = false } +xcm = { workspace = true } +xcm-builder = { workspace = true } +xcm-executor = { workspace = true } @@ -37,3 +37,3 @@ xcm-executor = { package = "staging-xcm-executor", path = "../../../polkadot/xcm -bp-header-chain = { path = "../../primitives/header-chain" } -pallet-balances = { path = "../../../substrate/frame/balances" } -sp-io = { path = "../../../substrate/primitives/io" } +bp-header-chain = { workspace = true, default-features = true } +pallet-balances = { workspace = true, default-features = true } +sp-io = { workspace = true, default-features = true } diff --git bridges/primitives/chain-asset-hub-rococo/Cargo.toml bridges/primitives/chain-asset-hub-rococo/Cargo.toml index 4dfa149e0e..50abc7ab5a 100644 --- bridges/primitives/chain-asset-hub-rococo/Cargo.toml +++ bridges/primitives/chain-asset-hub-rococo/Cargo.toml @@ -14 +14 @@ codec = { package = "parity-scale-codec", version = "3.1.5", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -20 +20 @@ frame-support = { path = "../../../substrate/frame/support", default-features = -bp-xcm-bridge-hub-router = { path = "../xcm-bridge-hub-router", default-features = false } +bp-xcm-bridge-hub-router = { workspace = true } diff --git bridges/primitives/chain-asset-hub-westend/Cargo.toml bridges/primitives/chain-asset-hub-westend/Cargo.toml index c9bd437562..84b35d7ed3 100644 --- bridges/primitives/chain-asset-hub-westend/Cargo.toml +++ bridges/primitives/chain-asset-hub-westend/Cargo.toml @@ -14 +14 @@ codec = { package = "parity-scale-codec", version = "3.1.5", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -20 +20 @@ frame-support = { path = "../../../substrate/frame/support", default-features = -bp-xcm-bridge-hub-router = { path = "../xcm-bridge-hub-router", default-features = false } +bp-xcm-bridge-hub-router = { workspace = true } diff --git bridges/primitives/chain-bridge-hub-cumulus/Cargo.toml bridges/primitives/chain-bridge-hub-cumulus/Cargo.toml index d35eefa1c4..c6b9b7b858 100644 --- bridges/primitives/chain-bridge-hub-cumulus/Cargo.toml +++ bridges/primitives/chain-bridge-hub-cumulus/Cargo.toml @@ -15,3 +15,3 @@ workspace = true -bp-polkadot-core = { path = "../polkadot-core", default-features = false } -bp-messages = { path = "../messages", default-features = false } -bp-runtime = { path = "../runtime", default-features = false } +bp-polkadot-core = { workspace = true } +bp-messages = { workspace = true } +bp-runtime = { workspace = true } @@ -23,2 +23,2 @@ frame-support = { path = "../../../substrate/frame/support", default-features = -sp-api = { path = "../../../substrate/primitives/api", default-features = false } -sp-std = { path = "../../../substrate/primitives/std", default-features = false } +sp-api = { workspace = true } +sp-std = { workspace = true } diff --git bridges/primitives/chain-bridge-hub-kusama/Cargo.toml bridges/primitives/chain-bridge-hub-kusama/Cargo.toml index 8d71b3f5eb..497e7ed95a 100644 --- bridges/primitives/chain-bridge-hub-kusama/Cargo.toml +++ bridges/primitives/chain-bridge-hub-kusama/Cargo.toml @@ -15,3 +15,3 @@ workspace = true -bp-bridge-hub-cumulus = { path = "../chain-bridge-hub-cumulus", default-features = false } -bp-runtime = { path = "../runtime", default-features = false } -bp-messages = { path = "../messages", default-features = false } +bp-bridge-hub-cumulus = { workspace = true } +bp-runtime = { workspace = true } +bp-messages = { workspace = true } @@ -22 +22 @@ frame-support = { path = "../../../substrate/frame/support", default-features = -sp-api = { path = "../../../substrate/primitives/api", default-features = false } +sp-api = { workspace = true } @@ -24 +24 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-std = { path = "../../../substrate/primitives/std", default-features = false } +sp-std = { workspace = true } diff --git bridges/primitives/chain-bridge-hub-polkadot/Cargo.toml bridges/primitives/chain-bridge-hub-polkadot/Cargo.toml index 4e89e8a5c9..0f8cd9c2cc 100644 --- bridges/primitives/chain-bridge-hub-polkadot/Cargo.toml +++ bridges/primitives/chain-bridge-hub-polkadot/Cargo.toml @@ -16,3 +16,3 @@ workspace = true -bp-bridge-hub-cumulus = { path = "../chain-bridge-hub-cumulus", default-features = false } -bp-runtime = { path = "../runtime", default-features = false } -bp-messages = { path = "../messages", default-features = false } +bp-bridge-hub-cumulus = { workspace = true } +bp-runtime = { workspace = true } +bp-messages = { workspace = true } @@ -23 +23 @@ frame-support = { path = "../../../substrate/frame/support", default-features = -sp-api = { path = "../../../substrate/primitives/api", default-features = false } +sp-api = { workspace = true } @@ -25 +25 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-std = { path = "../../../substrate/primitives/std", default-features = false } +sp-std = { workspace = true } diff --git bridges/primitives/chain-bridge-hub-rococo/Cargo.toml bridges/primitives/chain-bridge-hub-rococo/Cargo.toml index 1643d934a9..6cc402bc10 100644 --- bridges/primitives/chain-bridge-hub-rococo/Cargo.toml +++ bridges/primitives/chain-bridge-hub-rococo/Cargo.toml @@ -15,3 +15,3 @@ workspace = true -bp-bridge-hub-cumulus = { path = "../chain-bridge-hub-cumulus", default-features = false } -bp-runtime = { path = "../runtime", default-features = false } -bp-messages = { path = "../messages", default-features = false } +bp-bridge-hub-cumulus = { workspace = true } +bp-runtime = { workspace = true } +bp-messages = { workspace = true } @@ -22 +22 @@ frame-support = { path = "../../../substrate/frame/support", default-features = -sp-api = { path = "../../../substrate/primitives/api", default-features = false } +sp-api = { workspace = true } @@ -24 +24 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-std = { path = "../../../substrate/primitives/std", default-features = false } +sp-std = { workspace = true } diff --git bridges/primitives/chain-bridge-hub-westend/Cargo.toml bridges/primitives/chain-bridge-hub-westend/Cargo.toml index 32a7850c53..664521713e 100644 --- bridges/primitives/chain-bridge-hub-westend/Cargo.toml +++ bridges/primitives/chain-bridge-hub-westend/Cargo.toml @@ -16,3 +16,3 @@ workspace = true -bp-bridge-hub-cumulus = { path = "../chain-bridge-hub-cumulus", default-features = false } -bp-runtime = { path = "../runtime", default-features = false } -bp-messages = { path = "../messages", default-features = false } +bp-bridge-hub-cumulus = { workspace = true } +bp-runtime = { workspace = true } +bp-messages = { workspace = true } @@ -23 +23 @@ frame-support = { path = "../../../substrate/frame/support", default-features = -sp-api = { path = "../../../substrate/primitives/api", default-features = false } +sp-api = { workspace = true } @@ -25 +25 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-std = { path = "../../../substrate/primitives/std", default-features = false } +sp-std = { workspace = true } diff --git bridges/primitives/chain-kusama/Cargo.toml bridges/primitives/chain-kusama/Cargo.toml index 0660f34602..a452edd811 100644 --- bridges/primitives/chain-kusama/Cargo.toml +++ bridges/primitives/chain-kusama/Cargo.toml @@ -16,3 +16,3 @@ workspace = true -bp-header-chain = { path = "../header-chain", default-features = false } -bp-polkadot-core = { path = "../polkadot-core", default-features = false } -bp-runtime = { path = "../runtime", default-features = false } +bp-header-chain = { workspace = true } +bp-polkadot-core = { workspace = true } +bp-runtime = { workspace = true } @@ -23,2 +23,2 @@ frame-support = { path = "../../../substrate/frame/support", default-features = -sp-api = { path = "../../../substrate/primitives/api", default-features = false } -sp-std = { path = "../../../substrate/primitives/std", default-features = false } +sp-api = { workspace = true } +sp-std = { workspace = true } diff --git bridges/primitives/chain-polkadot-bulletin/Cargo.toml bridges/primitives/chain-polkadot-bulletin/Cargo.toml index 15c824fcbd..1189fbd79b 100644 --- bridges/primitives/chain-polkadot-bulletin/Cargo.toml +++ bridges/primitives/chain-polkadot-bulletin/Cargo.toml @@ -14 +14 @@ codec = { package = "parity-scale-codec", version = "3.1.5", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -18,4 +18,4 @@ scale-info = { version = "2.10.0", default-features = false, features = ["derive -bp-header-chain = { path = "../header-chain", default-features = false } -bp-messages = { path = "../messages", default-features = false } -bp-polkadot-core = { path = "../polkadot-core", default-features = false } -bp-runtime = { path = "../runtime", default-features = false } +bp-header-chain = { workspace = true } +bp-messages = { workspace = true } +bp-polkadot-core = { workspace = true } +bp-runtime = { workspace = true } @@ -27 +27 @@ frame-system = { path = "../../../substrate/frame/system", default-features = fa -sp-api = { path = "../../../substrate/primitives/api", default-features = false } +sp-api = { workspace = true } @@ -29 +29 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-std = { path = "../../../substrate/primitives/std", default-features = false } +sp-std = { workspace = true } diff --git bridges/primitives/chain-polkadot/Cargo.toml bridges/primitives/chain-polkadot/Cargo.toml index 6421b7f401..6ff786b8d8 100644 --- bridges/primitives/chain-polkadot/Cargo.toml +++ bridges/primitives/chain-polkadot/Cargo.toml @@ -16,3 +16,3 @@ workspace = true -bp-header-chain = { path = "../header-chain", default-features = false } -bp-polkadot-core = { path = "../polkadot-core", default-features = false } -bp-runtime = { path = "../runtime", default-features = false } +bp-header-chain = { workspace = true } +bp-polkadot-core = { workspace = true } +bp-runtime = { workspace = true } @@ -23,2 +23,2 @@ frame-support = { path = "../../../substrate/frame/support", default-features = -sp-api = { path = "../../../substrate/primitives/api", default-features = false } -sp-std = { path = "../../../substrate/primitives/std", default-features = false } +sp-api = { workspace = true } +sp-std = { workspace = true } diff --git bridges/primitives/chain-rococo/Cargo.toml bridges/primitives/chain-rococo/Cargo.toml index de373f0ae6..6ffa9d64af 100644 --- bridges/primitives/chain-rococo/Cargo.toml +++ bridges/primitives/chain-rococo/Cargo.toml @@ -16,3 +16,3 @@ workspace = true -bp-header-chain = { path = "../header-chain", default-features = false } -bp-polkadot-core = { path = "../polkadot-core", default-features = false } -bp-runtime = { path = "../runtime", default-features = false } +bp-header-chain = { workspace = true } +bp-polkadot-core = { workspace = true } +bp-runtime = { workspace = true } @@ -23,2 +23,2 @@ frame-support = { path = "../../../substrate/frame/support", default-features = -sp-api = { path = "../../../substrate/primitives/api", default-features = false } -sp-std = { path = "../../../substrate/primitives/std", default-features = false } +sp-api = { workspace = true } +sp-std = { workspace = true } diff --git bridges/primitives/chain-westend/Cargo.toml bridges/primitives/chain-westend/Cargo.toml index e55a8d649a..a7bf79f2f2 100644 --- bridges/primitives/chain-westend/Cargo.toml +++ bridges/primitives/chain-westend/Cargo.toml @@ -16,3 +16,3 @@ workspace = true -bp-header-chain = { path = "../header-chain", default-features = false } -bp-polkadot-core = { path = "../polkadot-core", default-features = false } -bp-runtime = { path = "../runtime", default-features = false } +bp-header-chain = { workspace = true } +bp-polkadot-core = { workspace = true } +bp-runtime = { workspace = true } @@ -23,2 +23,2 @@ frame-support = { path = "../../../substrate/frame/support", default-features = -sp-api = { path = "../../../substrate/primitives/api", default-features = false } -sp-std = { path = "../../../substrate/primitives/std", default-features = false } +sp-api = { workspace = true } +sp-std = { workspace = true } diff --git bridges/primitives/header-chain/Cargo.toml bridges/primitives/header-chain/Cargo.toml index 205b593365..795905868f 100644 --- bridges/primitives/header-chain/Cargo.toml +++ bridges/primitives/header-chain/Cargo.toml @@ -15 +15 @@ finality-grandpa = { version = "0.16.2", default-features = false } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -20 +20 @@ serde = { features = ["alloc", "derive"], workspace = true } -bp-runtime = { path = "../runtime", default-features = false } +bp-runtime = { workspace = true } @@ -28 +28 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-std = { path = "../../../substrate/primitives/std", default-features = false } +sp-std = { workspace = true } @@ -31,3 +31,3 @@ sp-std = { path = "../../../substrate/primitives/std", default-features = false -bp-test-utils = { path = "../test-utils" } -hex = "0.4" -hex-literal = "0.4" +bp-test-utils = { workspace = true, default-features = true } +hex = { workspace = true, default-features = true } +hex-literal = { workspace = true, default-features = true } diff --git bridges/primitives/messages/Cargo.toml bridges/primitives/messages/Cargo.toml index 8aa6b4b05e..a270e3174d 100644 --- bridges/primitives/messages/Cargo.toml +++ bridges/primitives/messages/Cargo.toml @@ -14 +14 @@ codec = { package = "parity-scale-codec", version = "3.1.5", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["bit-vec", "derive"] } +scale-info = { features = ["bit-vec", "derive"] , workspace = true } @@ -19,2 +19,2 @@ serde = { features = ["alloc", "derive"], workspace = true } -bp-runtime = { path = "../runtime", default-features = false } -bp-header-chain = { path = "../header-chain", default-features = false } +bp-runtime = { workspace = true } +bp-header-chain = { workspace = true } @@ -26 +26 @@ sp-core = { path = "../../../substrate/primitives/core", default-features = fals -sp-std = { path = "../../../substrate/primitives/std", default-features = false } +sp-std = { workspace = true } @@ -29,2 +29,2 @@ sp-std = { path = "../../../substrate/primitives/std", default-features = false -hex = "0.4" -hex-literal = "0.4" +hex = { workspace = true, default-features = true } +hex-literal = { workspace = true, default-features = true } diff --git bridges/primitives/parachains/Cargo.toml bridges/primitives/parachains/Cargo.toml index 575f26193e..a60a58c702 100644 --- bridges/primitives/parachains/Cargo.toml +++ bridges/primitives/parachains/Cargo.toml @@ -14,2 +14,2 @@ codec = { package = "parity-scale-codec", version = "3.1.5", default-features = -impl-trait-for-tuples = "0.2" -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +impl-trait-for-tuples = { workspace = true } +scale-info = { features = ["derive"] , workspace = true } @@ -19,3 +19,3 @@ scale-info = { version = "2.10.0", default-features = false, features = ["derive -bp-header-chain = { path = "../header-chain", default-features = false } -bp-polkadot-core = { path = "../polkadot-core", default-features = false } -bp-runtime = { path = "../runtime", default-features = false } +bp-header-chain = { workspace = true } +bp-polkadot-core = { workspace = true } +bp-runtime = { workspace = true } @@ -28 +28 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-std = { path = "../../../substrate/primitives/std", default-features = false } +sp-std = { workspace = true } diff --git bridges/primitives/polkadot-core/Cargo.toml bridges/primitives/polkadot-core/Cargo.toml index c0dae684b5..c76007a880 100644 --- bridges/primitives/polkadot-core/Cargo.toml +++ bridges/primitives/polkadot-core/Cargo.toml @@ -14,2 +14,2 @@ codec = { package = "parity-scale-codec", version = "3.1.5", default-features = -parity-util-mem = { version = "0.12.0", optional = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +parity-util-mem = { optional = true , workspace = true } +scale-info = { features = ["derive"] , workspace = true } @@ -20,2 +20,2 @@ serde = { optional = true, features = ["derive"], workspace = true, default-feat -bp-messages = { path = "../messages", default-features = false } -bp-runtime = { path = "../runtime", default-features = false } +bp-messages = { workspace = true } +bp-runtime = { workspace = true } @@ -29 +29 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-std = { path = "../../../substrate/primitives/std", default-features = false } +sp-std = { workspace = true } @@ -32 +32 @@ sp-std = { path = "../../../substrate/primitives/std", default-features = false -hex = "0.4" +hex = { workspace = true, default-features = true } diff --git bridges/primitives/relayers/Cargo.toml bridges/primitives/relayers/Cargo.toml index 3bd6809d27..296adfe70a 100644 --- bridges/primitives/relayers/Cargo.toml +++ bridges/primitives/relayers/Cargo.toml @@ -14 +14 @@ codec = { package = "parity-scale-codec", version = "3.1.5", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["bit-vec", "derive"] } +scale-info = { features = ["bit-vec", "derive"] , workspace = true } @@ -18,2 +18,2 @@ scale-info = { version = "2.10.0", default-features = false, features = ["bit-ve -bp-messages = { path = "../messages", default-features = false } -bp-runtime = { path = "../runtime", default-features = false } +bp-messages = { workspace = true } +bp-runtime = { workspace = true } @@ -25 +25 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-std = { path = "../../../substrate/primitives/std", default-features = false } +sp-std = { workspace = true } @@ -28,2 +28,2 @@ sp-std = { path = "../../../substrate/primitives/std", default-features = false -hex = "0.4" -hex-literal = "0.4" +hex = { workspace = true, default-features = true } +hex-literal = { workspace = true, default-features = true } diff --git bridges/primitives/runtime/Cargo.toml bridges/primitives/runtime/Cargo.toml index 22206fb2c3..533b44d07c 100644 --- bridges/primitives/runtime/Cargo.toml +++ bridges/primitives/runtime/Cargo.toml @@ -14,2 +14,2 @@ codec = { package = "parity-scale-codec", version = "3.1.5", default-features = -hash-db = { version = "0.16.0", default-features = false } -impl-trait-for-tuples = "0.2.2" +hash-db = { workspace = true } +impl-trait-for-tuples = { workspace = true } @@ -17,2 +17,2 @@ log = { workspace = true } -num-traits = { version = "0.2", default-features = false } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +num-traits = { workspace = true } +scale-info = { features = ["derive"] , workspace = true } @@ -26 +26 @@ sp-core = { path = "../../../substrate/primitives/core", default-features = fals -sp-io = { path = "../../../substrate/primitives/io", default-features = false } +sp-io = { workspace = true } @@ -28,4 +28,4 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-state-machine = { path = "../../../substrate/primitives/state-machine", default-features = false } -sp-std = { path = "../../../substrate/primitives/std", default-features = false } -sp-trie = { path = "../../../substrate/primitives/trie", default-features = false } -trie-db = { version = "0.28.0", default-features = false } +sp-state-machine = { workspace = true } +sp-std = { workspace = true } +sp-trie = { workspace = true } +trie-db = { workspace = true } @@ -34 +34 @@ trie-db = { version = "0.28.0", default-features = false } -hex-literal = "0.4" +hex-literal = { workspace = true, default-features = true } diff --git bridges/primitives/test-utils/Cargo.toml bridges/primitives/test-utils/Cargo.toml index d379e950b8..340370fd35 100644 --- bridges/primitives/test-utils/Cargo.toml +++ bridges/primitives/test-utils/Cargo.toml @@ -13,4 +13,4 @@ workspace = true -bp-header-chain = { path = "../header-chain", default-features = false } -bp-parachains = { path = "../parachains", default-features = false } -bp-polkadot-core = { path = "../polkadot-core", default-features = false } -bp-runtime = { path = "../runtime", default-features = false } +bp-header-chain = { workspace = true } +bp-parachains = { workspace = true } +bp-polkadot-core = { workspace = true } +bp-runtime = { workspace = true } @@ -18 +18 @@ codec = { package = "parity-scale-codec", version = "3.1.5", default-features = -ed25519-dalek = { version = "2.1", default-features = false } +ed25519-dalek = { workspace = true } @@ -24,2 +24,2 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-std = { path = "../../../substrate/primitives/std", default-features = false } -sp-trie = { path = "../../../substrate/primitives/trie", default-features = false } +sp-std = { workspace = true } +sp-trie = { workspace = true } diff --git bridges/primitives/xcm-bridge-hub-router/Cargo.toml bridges/primitives/xcm-bridge-hub-router/Cargo.toml index 9297a8603c..a9a7b1df85 100644 --- bridges/primitives/xcm-bridge-hub-router/Cargo.toml +++ bridges/primitives/xcm-bridge-hub-router/Cargo.toml @@ -14 +14 @@ codec = { package = "parity-scale-codec", version = "3.1.5", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["bit-vec", "derive"] } +scale-info = { features = ["bit-vec", "derive"] , workspace = true } diff --git bridges/primitives/xcm-bridge-hub/Cargo.toml bridges/primitives/xcm-bridge-hub/Cargo.toml index ad49ec1e83..24dc09fde8 100644 --- bridges/primitives/xcm-bridge-hub/Cargo.toml +++ bridges/primitives/xcm-bridge-hub/Cargo.toml @@ -15 +15 @@ workspace = true -sp-std = { path = "../../../substrate/primitives/std", default-features = false } +sp-std = { workspace = true } diff --git bridges/snowbridge/pallets/ethereum-client/Cargo.toml bridges/snowbridge/pallets/ethereum-client/Cargo.toml index 99b4290531..26f99c2cf8 100644 --- bridges/snowbridge/pallets/ethereum-client/Cargo.toml +++ bridges/snowbridge/pallets/ethereum-client/Cargo.toml @@ -21,6 +21,6 @@ codec = { version = "3.6.1", package = "parity-scale-codec", default-features = -scale-info = { version = "2.9.0", default-features = false, features = ["derive"] } -ssz_rs = { version = "0.9.0", default-features = false } -ssz_rs_derive = { version = "0.9.0", default-features = false } -byte-slice-cast = { version = "1.2.1", default-features = false } -rlp = { version = "0.5.2", default-features = false } -hex-literal = { version = "0.4.1", optional = true } +scale-info = { features = ["derive"] , workspace = true } +ssz_rs = { workspace = true } +ssz_rs_derive = { workspace = true } +byte-slice-cast = { workspace = true } +rlp = { workspace = true } +hex-literal = { optional = true , workspace = true, default-features = true } @@ -29 +29 @@ log = { workspace = true } -frame-benchmarking = { path = "../../../../substrate/frame/benchmarking", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } @@ -33 +33 @@ sp-core = { path = "../../../../substrate/primitives/core", default-features = f -sp-std = { path = "../../../../substrate/primitives/std", default-features = false } +sp-std = { workspace = true } @@ -35 +35 @@ sp-runtime = { path = "../../../../substrate/primitives/runtime", default-featur -sp-io = { path = "../../../../substrate/primitives/io", default-features = false, optional = true } +sp-io = { optional = true , workspace = true } @@ -37,3 +37,3 @@ sp-io = { path = "../../../../substrate/primitives/io", default-features = false -snowbridge-core = { path = "../../primitives/core", default-features = false } -snowbridge-ethereum = { path = "../../primitives/ethereum", default-features = false } -snowbridge-pallet-ethereum-client-fixtures = { path = "./fixtures", default-features = false, optional = true } +snowbridge-core = { workspace = true } +snowbridge-ethereum = { workspace = true } +snowbridge-pallet-ethereum-client-fixtures = { optional = true , workspace = true } @@ -41,3 +41,3 @@ primitives = { package = "snowbridge-beacon-primitives", path = "../../primitive -static_assertions = { version = "1.1.0", default-features = false } -bp-runtime = { path = "../../../primitives/runtime", default-features = false } -pallet-timestamp = { path = "../../../../substrate/frame/timestamp", default-features = false, optional = true } +static_assertions = { workspace = true } +bp-runtime = { workspace = true } +pallet-timestamp = { optional = true , workspace = true } @@ -46 +46 @@ pallet-timestamp = { path = "../../../../substrate/frame/timestamp", default-fea -rand = "0.8.5" +rand = { workspace = true, default-features = true } @@ -49,4 +49,4 @@ serde_json = { workspace = true, default-features = true } -hex-literal = "0.4.1" -pallet-timestamp = { path = "../../../../substrate/frame/timestamp" } -snowbridge-pallet-ethereum-client-fixtures = { path = "./fixtures" } -sp-io = { path = "../../../../substrate/primitives/io" } +hex-literal = { workspace = true, default-features = true } +pallet-timestamp = { workspace = true, default-features = true } +snowbridge-pallet-ethereum-client-fixtures = { workspace = true, default-features = true } +sp-io = { workspace = true, default-features = true } diff --git bridges/snowbridge/pallets/ethereum-client/fixtures/Cargo.toml bridges/snowbridge/pallets/ethereum-client/fixtures/Cargo.toml index fd1914a7d3..1b83de040b 100644 --- bridges/snowbridge/pallets/ethereum-client/fixtures/Cargo.toml +++ bridges/snowbridge/pallets/ethereum-client/fixtures/Cargo.toml @@ -18 +18 @@ targets = ["x86_64-unknown-linux-gnu"] -hex-literal = { version = "0.4.1" } +hex-literal = { workspace = true, default-features = true } @@ -20,2 +20,2 @@ sp-core = { path = "../../../../../substrate/primitives/core", default-features -sp-std = { path = "../../../../../substrate/primitives/std", default-features = false } -frame-benchmarking = { path = "../../../../../substrate/frame/benchmarking", default-features = false, optional = true } +sp-std = { workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -24 +24 @@ frame-system = { path = "../../../../../substrate/frame/system", default-feature -snowbridge-core = { path = "../../../primitives/core", default-features = false } +snowbridge-core = { workspace = true } diff --git bridges/snowbridge/pallets/inbound-queue/Cargo.toml bridges/snowbridge/pallets/inbound-queue/Cargo.toml index c26ef90a22..4c30bfc3bb 100644 --- bridges/snowbridge/pallets/inbound-queue/Cargo.toml +++ bridges/snowbridge/pallets/inbound-queue/Cargo.toml @@ -20,2 +20,2 @@ codec = { version = "3.6.1", package = "parity-scale-codec", default-features = -scale-info = { version = "2.9.0", default-features = false, features = ["derive"] } -hex-literal = { version = "0.4.1", optional = true } +scale-info = { features = ["derive"] , workspace = true } +hex-literal = { optional = true , workspace = true, default-features = true } @@ -23,4 +23,4 @@ log = { workspace = true } -alloy-primitives = { version = "0.4.2", default-features = false, features = ["rlp"] } -alloy-sol-types = { version = "0.4.2", default-features = false } -alloy-rlp = { version = "0.3.3", default-features = false, features = ["derive"] } -num-traits = { version = "0.2.16", default-features = false } +alloy-primitives = { features = ["rlp"] , workspace = true } +alloy-sol-types = { workspace = true } +alloy-rlp = { features = ["derive"] , workspace = true } +num-traits = { workspace = true } @@ -28 +28 @@ num-traits = { version = "0.2.16", default-features = false } -frame-benchmarking = { path = "../../../../substrate/frame/benchmarking", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } @@ -31 +31 @@ frame-system = { path = "../../../../substrate/frame/system", default-features = -pallet-balances = { path = "../../../../substrate/frame/balances", default-features = false } +pallet-balances = { workspace = true } @@ -33,2 +33,2 @@ sp-core = { path = "../../../../substrate/primitives/core", default-features = f -sp-std = { path = "../../../../substrate/primitives/std", default-features = false } -sp-io = { path = "../../../../substrate/primitives/io", default-features = false } +sp-std = { workspace = true } +sp-io = { workspace = true } @@ -37,3 +37,3 @@ sp-runtime = { path = "../../../../substrate/primitives/runtime", default-featur -xcm = { package = "staging-xcm", path = "../../../../polkadot/xcm", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../../../../polkadot/xcm/xcm-builder", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../../../polkadot/xcm/xcm-executor", default-features = false } +xcm = { workspace = true } +xcm-builder = { workspace = true } +xcm-executor = { workspace = true } @@ -41,3 +41,3 @@ xcm-executor = { package = "staging-xcm-executor", path = "../../../../polkadot/ -snowbridge-core = { path = "../../primitives/core", default-features = false } -snowbridge-ethereum = { path = "../../primitives/ethereum", default-features = false } -snowbridge-router-primitives = { path = "../../primitives/router", default-features = false } +snowbridge-core = { workspace = true } +snowbridge-ethereum = { workspace = true } +snowbridge-router-primitives = { workspace = true } @@ -45 +45 @@ snowbridge-beacon-primitives = { path = "../../primitives/beacon", default-featu -snowbridge-pallet-inbound-queue-fixtures = { path = "./fixtures", default-features = false, optional = true } +snowbridge-pallet-inbound-queue-fixtures = { optional = true , workspace = true } @@ -48 +48 @@ snowbridge-pallet-inbound-queue-fixtures = { path = "./fixtures", default-featur -frame-benchmarking = { path = "../../../../substrate/frame/benchmarking" } +frame-benchmarking = { workspace = true, default-features = true } @@ -50,2 +50,2 @@ sp-keyring = { path = "../../../../substrate/primitives/keyring" } -snowbridge-pallet-ethereum-client = { path = "../ethereum-client" } -hex-literal = { version = "0.4.1" } +snowbridge-pallet-ethereum-client = { workspace = true, default-features = true } +hex-literal = { workspace = true, default-features = true } diff --git bridges/snowbridge/pallets/inbound-queue/fixtures/Cargo.toml bridges/snowbridge/pallets/inbound-queue/fixtures/Cargo.toml index 61f1421e05..6bd2f8a32e 100644 --- bridges/snowbridge/pallets/inbound-queue/fixtures/Cargo.toml +++ bridges/snowbridge/pallets/inbound-queue/fixtures/Cargo.toml @@ -18 +18 @@ targets = ["x86_64-unknown-linux-gnu"] -hex-literal = { version = "0.4.1" } +hex-literal = { workspace = true, default-features = true } @@ -20,2 +20,2 @@ sp-core = { path = "../../../../../substrate/primitives/core", default-features -sp-std = { path = "../../../../../substrate/primitives/std", default-features = false } -frame-benchmarking = { path = "../../../../../substrate/frame/benchmarking", default-features = false, optional = true } +sp-std = { workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -24 +24 @@ frame-system = { path = "../../../../../substrate/frame/system", default-feature -snowbridge-core = { path = "../../../primitives/core", default-features = false } +snowbridge-core = { workspace = true } diff --git bridges/snowbridge/pallets/outbound-queue/Cargo.toml bridges/snowbridge/pallets/outbound-queue/Cargo.toml index 40e57db4bb..aa190c7ee1 100644 --- bridges/snowbridge/pallets/outbound-queue/Cargo.toml +++ bridges/snowbridge/pallets/outbound-queue/Cargo.toml @@ -20,2 +20,2 @@ codec = { version = "3.6.1", package = "parity-scale-codec", default-features = -scale-info = { version = "2.9.0", default-features = false, features = ["derive"] } -hex-literal = { version = "0.4.1", optional = true } +scale-info = { features = ["derive"] , workspace = true } +hex-literal = { optional = true , workspace = true, default-features = true } @@ -23 +23 @@ hex-literal = { version = "0.4.1", optional = true } -frame-benchmarking = { path = "../../../../substrate/frame/benchmarking", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } @@ -27 +27 @@ sp-core = { path = "../../../../substrate/primitives/core", default-features = f -sp-std = { path = "../../../../substrate/primitives/std", default-features = false } +sp-std = { workspace = true } @@ -29,2 +29,2 @@ sp-runtime = { path = "../../../../substrate/primitives/runtime", default-featur -sp-io = { path = "../../../../substrate/primitives/io", default-features = false } -sp-arithmetic = { path = "../../../../substrate/primitives/arithmetic", default-features = false } +sp-io = { workspace = true } +sp-arithmetic = { workspace = true } @@ -32 +32 @@ sp-arithmetic = { path = "../../../../substrate/primitives/arithmetic", default- -bridge-hub-common = { path = "../../../../cumulus/parachains/runtimes/bridge-hubs/common", default-features = false } +bridge-hub-common = { workspace = true } @@ -34,3 +34,3 @@ bridge-hub-common = { path = "../../../../cumulus/parachains/runtimes/bridge-hub -snowbridge-core = { path = "../../primitives/core", default-features = false, features = ["serde"] } -snowbridge-outbound-queue-merkle-tree = { path = "merkle-tree", default-features = false } -ethabi = { package = "ethabi-decode", version = "1.0.0", default-features = false } +snowbridge-core = { features = ["serde"] , workspace = true } +snowbridge-outbound-queue-merkle-tree = { workspace = true } +ethabi = { workspace = true } @@ -38 +38 @@ ethabi = { package = "ethabi-decode", version = "1.0.0", default-features = fals -xcm = { package = "staging-xcm", path = "../../../../polkadot/xcm", default-features = false } +xcm = { workspace = true } @@ -41 +41 @@ xcm = { package = "staging-xcm", path = "../../../../polkadot/xcm", default-feat -pallet-message-queue = { path = "../../../../substrate/frame/message-queue", default-features = false } +pallet-message-queue = { workspace = true } @@ -43 +43 @@ sp-keyring = { path = "../../../../substrate/primitives/keyring" } -hex-literal = { version = "0.4.1" } +hex-literal = { workspace = true, default-features = true } diff --git bridges/snowbridge/pallets/outbound-queue/merkle-tree/Cargo.toml bridges/snowbridge/pallets/outbound-queue/merkle-tree/Cargo.toml index c185d5af70..f664d18079 100644 --- bridges/snowbridge/pallets/outbound-queue/merkle-tree/Cargo.toml +++ bridges/snowbridge/pallets/outbound-queue/merkle-tree/Cargo.toml @@ -19 +19 @@ codec = { version = "3.1.5", package = "parity-scale-codec", default-features = -scale-info = { version = "2.7.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -25,5 +25,5 @@ sp-runtime = { path = "../../../../../substrate/primitives/runtime", default-fea -hex-literal = { version = "0.4.1" } -env_logger = "0.9" -hex = "0.4" -array-bytes = "4.1" -sp-crypto-hashing = { path = "../../../../../substrate/primitives/crypto/hashing" } +hex-literal = { workspace = true, default-features = true } +env_logger = { workspace = true } +hex = { workspace = true, default-features = true } +array-bytes = { workspace = true, default-features = true } +sp-crypto-hashing = { workspace = true, default-features = true } diff --git bridges/snowbridge/pallets/outbound-queue/runtime-api/Cargo.toml bridges/snowbridge/pallets/outbound-queue/runtime-api/Cargo.toml index 347b3bae49..d66a1ace14 100644 --- bridges/snowbridge/pallets/outbound-queue/runtime-api/Cargo.toml +++ bridges/snowbridge/pallets/outbound-queue/runtime-api/Cargo.toml @@ -20,2 +20,2 @@ sp-core = { path = "../../../../../substrate/primitives/core", default-features -sp-std = { path = "../../../../../substrate/primitives/std", default-features = false } -sp-api = { path = "../../../../../substrate/primitives/api", default-features = false } +sp-std = { workspace = true } +sp-api = { workspace = true } @@ -23,3 +23,3 @@ frame-support = { path = "../../../../../substrate/frame/support", default-featu -xcm = { package = "staging-xcm", path = "../../../../../polkadot/xcm", default-features = false } -snowbridge-outbound-queue-merkle-tree = { path = "../merkle-tree", default-features = false } -snowbridge-core = { path = "../../../primitives/core", default-features = false } +xcm = { workspace = true } +snowbridge-outbound-queue-merkle-tree = { workspace = true } +snowbridge-core = { workspace = true } diff --git bridges/snowbridge/pallets/system/Cargo.toml bridges/snowbridge/pallets/system/Cargo.toml index f6c642e737..e67ae03c50 100644 --- bridges/snowbridge/pallets/system/Cargo.toml +++ bridges/snowbridge/pallets/system/Cargo.toml @@ -21,2 +21,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.9.0", default-features = false, features = ["derive"] } -frame-benchmarking = { path = "../../../../substrate/frame/benchmarking", default-features = false, optional = true } +scale-info = { features = ["derive"] , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -28,2 +28,2 @@ sp-core = { path = "../../../../substrate/primitives/core", default-features = f -sp-std = { path = "../../../../substrate/primitives/std", default-features = false } -sp-io = { path = "../../../../substrate/primitives/io", default-features = false } +sp-std = { workspace = true } +sp-io = { workspace = true } @@ -32,3 +32,3 @@ sp-runtime = { path = "../../../../substrate/primitives/runtime", default-featur -xcm = { package = "staging-xcm", path = "../../../../polkadot/xcm", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../../../../polkadot/xcm/xcm-builder", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../../../polkadot/xcm/xcm-executor", default-features = false } +xcm = { workspace = true } +xcm-builder = { workspace = true } +xcm-executor = { workspace = true } @@ -36,2 +36,2 @@ xcm-executor = { package = "staging-xcm-executor", path = "../../../../polkadot/ -ethabi = { package = "ethabi-decode", version = "1.0.0", default-features = false } -snowbridge-core = { path = "../../primitives/core", default-features = false } +ethabi = { workspace = true } +snowbridge-core = { workspace = true } @@ -40,3 +40,3 @@ snowbridge-core = { path = "../../primitives/core", default-features = false } -hex = "0.4.1" -hex-literal = { version = "0.4.1" } -pallet-balances = { path = "../../../../substrate/frame/balances" } +hex = { workspace = true, default-features = true } +hex-literal = { workspace = true, default-features = true } +pallet-balances = { workspace = true, default-features = true } @@ -45,2 +45,2 @@ polkadot-primitives = { path = "../../../../polkadot/primitives" } -pallet-message-queue = { path = "../../../../substrate/frame/message-queue" } -snowbridge-pallet-outbound-queue = { path = "../outbound-queue" } +pallet-message-queue = { workspace = true, default-features = true } +snowbridge-pallet-outbound-queue = { workspace = true, default-features = true } diff --git bridges/snowbridge/pallets/system/runtime-api/Cargo.toml bridges/snowbridge/pallets/system/runtime-api/Cargo.toml index 355d2d2914..afe1aeba88 100644 --- bridges/snowbridge/pallets/system/runtime-api/Cargo.toml +++ bridges/snowbridge/pallets/system/runtime-api/Cargo.toml @@ -22,4 +22,4 @@ sp-core = { path = "../../../../../substrate/primitives/core", default-features -sp-std = { path = "../../../../../substrate/primitives/std", default-features = false } -sp-api = { path = "../../../../../substrate/primitives/api", default-features = false } -xcm = { package = "staging-xcm", path = "../../../../../polkadot/xcm", default-features = false } -snowbridge-core = { path = "../../../primitives/core", default-features = false } +sp-std = { workspace = true } +sp-api = { workspace = true } +xcm = { workspace = true } +snowbridge-core = { workspace = true } diff --git bridges/snowbridge/primitives/beacon/Cargo.toml bridges/snowbridge/primitives/beacon/Cargo.toml index e021bb0107..98786f5c8a 100644 --- bridges/snowbridge/primitives/beacon/Cargo.toml +++ bridges/snowbridge/primitives/beacon/Cargo.toml @@ -16 +16 @@ serde = { optional = true, features = ["derive"], workspace = true, default-feat -hex = { version = "0.4", default-features = false } +hex = { workspace = true } @@ -18,2 +18,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.9.0", default-features = false, features = ["derive"] } -rlp = { version = "0.5", default-features = false } +scale-info = { features = ["derive"] , workspace = true } +rlp = { workspace = true } @@ -25,2 +25,2 @@ sp-core = { path = "../../../../substrate/primitives/core", default-features = f -sp-std = { path = "../../../../substrate/primitives/std", default-features = false } -sp-io = { path = "../../../../substrate/primitives/io", default-features = false } +sp-std = { workspace = true } +sp-io = { workspace = true } @@ -28,3 +28,3 @@ sp-io = { path = "../../../../substrate/primitives/io", default-features = false -ssz_rs = { version = "0.9.0", default-features = false } -ssz_rs_derive = { version = "0.9.0", default-features = false } -byte-slice-cast = { version = "1.2.1", default-features = false } +ssz_rs = { workspace = true } +ssz_rs_derive = { workspace = true } +byte-slice-cast = { workspace = true } @@ -32,3 +32,3 @@ byte-slice-cast = { version = "1.2.1", default-features = false } -snowbridge-ethereum = { path = "../ethereum", default-features = false } -static_assertions = { version = "1.1.0" } -milagro-bls = { package = "snowbridge-milagro-bls", version = "1.5.4", default-features = false } +snowbridge-ethereum = { workspace = true } +static_assertions = { workspace = true, default-features = true } +milagro-bls = { workspace = true } @@ -37 +37 @@ milagro-bls = { package = "snowbridge-milagro-bls", version = "1.5.4", default-f -hex-literal = { version = "0.4.1" } +hex-literal = { workspace = true, default-features = true } diff --git bridges/snowbridge/primitives/core/Cargo.toml bridges/snowbridge/primitives/core/Cargo.toml index 090c48c403..7bd81418c7 100644 --- bridges/snowbridge/primitives/core/Cargo.toml +++ bridges/snowbridge/primitives/core/Cargo.toml @@ -17,2 +17,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.9.0", default-features = false, features = ["derive"] } -hex-literal = { version = "0.4.1" } +scale-info = { features = ["derive"] , workspace = true } +hex-literal = { workspace = true, default-features = true } @@ -21,2 +21,2 @@ polkadot-parachain-primitives = { path = "../../../../polkadot/parachain", defau -xcm = { package = "staging-xcm", path = "../../../../polkadot/xcm", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../../../../polkadot/xcm/xcm-builder", default-features = false } +xcm = { workspace = true } +xcm-builder = { workspace = true } @@ -27,2 +27,2 @@ sp-runtime = { path = "../../../../substrate/primitives/runtime", default-featur -sp-std = { path = "../../../../substrate/primitives/std", default-features = false } -sp-io = { path = "../../../../substrate/primitives/io", default-features = false } +sp-std = { workspace = true } +sp-io = { workspace = true } @@ -30 +30 @@ sp-core = { path = "../../../../substrate/primitives/core", default-features = f -sp-arithmetic = { path = "../../../../substrate/primitives/arithmetic", default-features = false } +sp-arithmetic = { workspace = true } @@ -34 +34 @@ snowbridge-beacon-primitives = { path = "../beacon", default-features = false } -ethabi = { package = "ethabi-decode", version = "1.0.0", default-features = false } +ethabi = { workspace = true } @@ -37 +37 @@ ethabi = { package = "ethabi-decode", version = "1.0.0", default-features = fals -hex = { version = "0.4.3" } +hex = { workspace = true, default-features = true } diff --git bridges/snowbridge/primitives/ethereum/Cargo.toml bridges/snowbridge/primitives/ethereum/Cargo.toml index 399139cef3..ead0627260 100644 --- bridges/snowbridge/primitives/ethereum/Cargo.toml +++ bridges/snowbridge/primitives/ethereum/Cargo.toml @@ -18,3 +18,3 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.9.0", default-features = false, features = ["derive"] } -ethbloom = { version = "0.13.0", default-features = false } -ethereum-types = { version = "0.14.1", default-features = false, features = ["codec", "rlp", "serialize"] } +scale-info = { features = ["derive"] , workspace = true } +ethbloom = { workspace = true } +ethereum-types = { features = ["codec", "rlp", "serialize"] , workspace = true } @@ -22,3 +22,3 @@ hex = { package = "rustc-hex", version = "2.1.0", default-features = false } -hex-literal = { version = "0.4.1", default-features = false } -parity-bytes = { version = "0.1.2", default-features = false } -rlp = { version = "0.5.2", default-features = false } +hex-literal = { workspace = true } +parity-bytes = { workspace = true } +rlp = { workspace = true } @@ -26,2 +26,2 @@ rlp = { version = "0.5.2", default-features = false } -sp-io = { path = "../../../../substrate/primitives/io", default-features = false } -sp-std = { path = "../../../../substrate/primitives/std", default-features = false } +sp-io = { workspace = true } +sp-std = { workspace = true } @@ -31 +31 @@ sp-runtime = { path = "../../../../substrate/primitives/runtime", default-featur -ethabi = { package = "ethabi-decode", version = "1.0.0", default-features = false } +ethabi = { workspace = true } @@ -34,2 +34,2 @@ ethabi = { package = "ethabi-decode", version = "1.0.0", default-features = fals -wasm-bindgen-test = "0.3.19" -rand = "0.8.5" +wasm-bindgen-test = { workspace = true } +rand = { workspace = true, default-features = true } diff --git bridges/snowbridge/primitives/router/Cargo.toml bridges/snowbridge/primitives/router/Cargo.toml index 750a2a73e6..8335a402c5 100644 --- bridges/snowbridge/primitives/router/Cargo.toml +++ bridges/snowbridge/primitives/router/Cargo.toml @@ -17 +17 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.9.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -23 +23 @@ sp-core = { path = "../../../../substrate/primitives/core", default-features = f -sp-io = { path = "../../../../substrate/primitives/io", default-features = false } +sp-io = { workspace = true } @@ -25 +25 @@ sp-runtime = { path = "../../../../substrate/primitives/runtime", default-featur -sp-std = { path = "../../../../substrate/primitives/std", default-features = false } +sp-std = { workspace = true } @@ -27,3 +27,3 @@ sp-std = { path = "../../../../substrate/primitives/std", default-features = fal -xcm = { package = "staging-xcm", path = "../../../../polkadot/xcm", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../../../../polkadot/xcm/xcm-builder", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../../../polkadot/xcm/xcm-executor", default-features = false } +xcm = { workspace = true } +xcm-builder = { workspace = true } +xcm-executor = { workspace = true } @@ -31 +31 @@ xcm-executor = { package = "staging-xcm-executor", path = "../../../../polkadot/ -snowbridge-core = { path = "../core", default-features = false } +snowbridge-core = { workspace = true } @@ -33 +33 @@ snowbridge-core = { path = "../core", default-features = false } -ethabi = { package = "ethabi-decode", version = "1.0.0", default-features = false } +ethabi = { workspace = true } @@ -35 +35 @@ ethabi = { package = "ethabi-decode", version = "1.0.0", default-features = fals -hex-literal = { version = "0.4.1" } +hex-literal = { workspace = true, default-features = true } diff --git bridges/snowbridge/runtime/runtime-common/Cargo.toml bridges/snowbridge/runtime/runtime-common/Cargo.toml index d4c86f8aa7..d69ca2c2ba 100644 --- bridges/snowbridge/runtime/runtime-common/Cargo.toml +++ bridges/snowbridge/runtime/runtime-common/Cargo.toml @@ -19,5 +19,5 @@ frame-system = { path = "../../../../substrate/frame/system", default-features = -sp-std = { path = "../../../../substrate/primitives/std", default-features = false } -sp-arithmetic = { path = "../../../../substrate/primitives/arithmetic", default-features = false } -xcm = { package = "staging-xcm", path = "../../../../polkadot/xcm", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../../../../polkadot/xcm/xcm-builder", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../../../polkadot/xcm/xcm-executor", default-features = false } +sp-std = { workspace = true } +sp-arithmetic = { workspace = true } +xcm = { workspace = true } +xcm-builder = { workspace = true } +xcm-executor = { workspace = true } @@ -25 +25 @@ xcm-executor = { package = "staging-xcm-executor", path = "../../../../polkadot/ -snowbridge-core = { path = "../../primitives/core", default-features = false } +snowbridge-core = { workspace = true } diff --git bridges/snowbridge/runtime/test-common/Cargo.toml bridges/snowbridge/runtime/test-common/Cargo.toml index ec4466b342..b9531b7329 100644 --- bridges/snowbridge/runtime/test-common/Cargo.toml +++ bridges/snowbridge/runtime/test-common/Cargo.toml @@ -15 +15 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -hex-literal = { version = "0.4.1" } +hex-literal = { workspace = true, default-features = true } @@ -17 +17 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -19 +19 @@ serde = { optional = true, features = ["derive"], workspace = true, default-feat -smallvec = "1.11.0" +smallvec = { workspace = true, default-features = true } @@ -22,2 +22,2 @@ smallvec = "1.11.0" -frame-benchmarking = { path = "../../../../substrate/frame/benchmarking", default-features = false, optional = true } -frame-executive = { path = "../../../../substrate/frame/executive", default-features = false } +frame-benchmarking = { optional = true , workspace = true } +frame-executive = { workspace = true } @@ -26,14 +26,14 @@ frame-system = { path = "../../../../substrate/frame/system", default-features = -frame-system-benchmarking = { path = "../../../../substrate/frame/system/benchmarking", default-features = false, optional = true } -frame-system-rpc-runtime-api = { path = "../../../../substrate/frame/system/rpc/runtime-api", default-features = false } -frame-try-runtime = { path = "../../../../substrate/frame/try-runtime", default-features = false, optional = true } -pallet-aura = { path = "../../../../substrate/frame/aura", default-features = false } -pallet-authorship = { path = "../../../../substrate/frame/authorship", default-features = false } -pallet-balances = { path = "../../../../substrate/frame/balances", default-features = false } -pallet-session = { path = "../../../../substrate/frame/session", default-features = false } -pallet-multisig = { path = "../../../../substrate/frame/multisig", default-features = false } -pallet-message-queue = { path = "../../../../substrate/frame/message-queue", default-features = false } -pallet-timestamp = { path = "../../../../substrate/frame/timestamp", default-features = false } -pallet-transaction-payment = { path = "../../../../substrate/frame/transaction-payment", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { path = "../../../../substrate/frame/transaction-payment/rpc/runtime-api", default-features = false } -pallet-utility = { path = "../../../../substrate/frame/utility", default-features = false } -sp-api = { path = "../../../../substrate/primitives/api", default-features = false } +frame-system-benchmarking = { optional = true , workspace = true } +frame-system-rpc-runtime-api = { workspace = true } +frame-try-runtime = { optional = true , workspace = true } +pallet-aura = { workspace = true } +pallet-authorship = { workspace = true } +pallet-balances = { workspace = true } +pallet-session = { workspace = true } +pallet-multisig = { workspace = true } +pallet-message-queue = { workspace = true } +pallet-timestamp = { workspace = true } +pallet-transaction-payment = { workspace = true } +pallet-transaction-payment-rpc-runtime-api = { workspace = true } +pallet-utility = { workspace = true } +sp-api = { workspace = true } @@ -41 +41 @@ sp-block-builder = { path = "../../../../substrate/primitives/block-builder", de -sp-consensus-aura = { path = "../../../../substrate/primitives/consensus/aura", default-features = false } +sp-consensus-aura = { workspace = true } @@ -43 +43 @@ sp-core = { path = "../../../../substrate/primitives/core", default-features = f -sp-genesis-builder = { path = "../../../../substrate/primitives/genesis-builder", default-features = false } +sp-genesis-builder = { workspace = true } @@ -45 +45 @@ sp-inherents = { path = "../../../../substrate/primitives/inherents", default-fe -sp-io = { path = "../../../../substrate/primitives/io", default-features = false } +sp-io = { workspace = true } @@ -49,3 +49,3 @@ sp-runtime = { path = "../../../../substrate/primitives/runtime", default-featur -sp-session = { path = "../../../../substrate/primitives/session", default-features = false } -sp-std = { path = "../../../../substrate/primitives/std", default-features = false } -sp-storage = { path = "../../../../substrate/primitives/storage", default-features = false } +sp-session = { workspace = true } +sp-std = { workspace = true } +sp-storage = { workspace = true } @@ -53 +53 @@ sp-transaction-pool = { path = "../../../../substrate/primitives/transaction-poo -sp-version = { path = "../../../../substrate/primitives/version", default-features = false } +sp-version = { workspace = true } @@ -56,3 +56,3 @@ sp-version = { path = "../../../../substrate/primitives/version", default-featur -pallet-xcm = { path = "../../../../polkadot/xcm/pallet-xcm", default-features = false } -pallet-xcm-benchmarks = { path = "../../../../polkadot/xcm/pallet-xcm-benchmarks", default-features = false, optional = true } -polkadot-core-primitives = { path = "../../../../polkadot/core-primitives", default-features = false } +pallet-xcm = { workspace = true } +pallet-xcm-benchmarks = { optional = true , workspace = true } +polkadot-core-primitives = { workspace = true } @@ -61,3 +61,3 @@ polkadot-runtime-common = { path = "../../../../polkadot/runtime/common", defaul -xcm = { package = "staging-xcm", path = "../../../../polkadot/xcm", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../../../../polkadot/xcm/xcm-builder", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../../../polkadot/xcm/xcm-executor", default-features = false } +xcm = { workspace = true } +xcm-builder = { workspace = true } +xcm-executor = { workspace = true } @@ -66,12 +66,12 @@ xcm-executor = { package = "staging-xcm-executor", path = "../../../../polkadot/ -cumulus-pallet-aura-ext = { path = "../../../../cumulus/pallets/aura-ext", default-features = false } -cumulus-pallet-parachain-system = { path = "../../../../cumulus/pallets/parachain-system", default-features = false, features = ["parameterized-consensus-hook"] } -cumulus-pallet-session-benchmarking = { path = "../../../../cumulus/pallets/session-benchmarking", default-features = false } -cumulus-pallet-xcm = { path = "../../../../cumulus/pallets/xcm", default-features = false } -cumulus-pallet-xcmp-queue = { path = "../../../../cumulus/pallets/xcmp-queue", default-features = false, features = ["bridging"] } -cumulus-primitives-core = { path = "../../../../cumulus/primitives/core", default-features = false } -cumulus-primitives-utility = { path = "../../../../cumulus/primitives/utility", default-features = false } -pallet-collator-selection = { path = "../../../../cumulus/pallets/collator-selection", default-features = false } -parachain-info = { package = "staging-parachain-info", path = "../../../../cumulus/parachains/pallets/parachain-info", default-features = false } -parachains-common = { path = "../../../../cumulus/parachains/common", default-features = false } -parachains-runtimes-test-utils = { path = "../../../../cumulus/parachains/runtimes/test-utils", default-features = false } -assets-common = { path = "../../../../cumulus/parachains/runtimes/assets/common", default-features = false } +cumulus-pallet-aura-ext = { workspace = true } +cumulus-pallet-parachain-system = { features = ["parameterized-consensus-hook"] , workspace = true } +cumulus-pallet-session-benchmarking = { workspace = true } +cumulus-pallet-xcm = { workspace = true } +cumulus-pallet-xcmp-queue = { features = ["bridging"] , workspace = true } +cumulus-primitives-core = { workspace = true } +cumulus-primitives-utility = { workspace = true } +pallet-collator-selection = { workspace = true } +parachain-info = { workspace = true } +parachains-common = { workspace = true } +parachains-runtimes-test-utils = { workspace = true } +assets-common = { workspace = true } @@ -80 +80 @@ assets-common = { path = "../../../../cumulus/parachains/runtimes/assets/common" -snowbridge-core = { path = "../../primitives/core", default-features = false } +snowbridge-core = { workspace = true } @@ -82,8 +82,8 @@ snowbridge-beacon-primitives = { path = "../../primitives/beacon", default-featu -snowbridge-router-primitives = { path = "../../primitives/router", default-features = false } -snowbridge-pallet-ethereum-client = { path = "../../pallets/ethereum-client", default-features = false } -snowbridge-pallet-ethereum-client-fixtures = { path = "../../pallets/ethereum-client/fixtures", default-features = false } -snowbridge-pallet-inbound-queue = { path = "../../pallets/inbound-queue", default-features = false } -snowbridge-pallet-outbound-queue = { path = "../../pallets/outbound-queue", default-features = false } -snowbridge-outbound-queue-runtime-api = { path = "../../pallets/outbound-queue/runtime-api", default-features = false } -snowbridge-pallet-system = { path = "../../pallets/system", default-features = false } -snowbridge-system-runtime-api = { path = "../../pallets/system/runtime-api", default-features = false } +snowbridge-router-primitives = { workspace = true } +snowbridge-pallet-ethereum-client = { workspace = true } +snowbridge-pallet-ethereum-client-fixtures = { workspace = true } +snowbridge-pallet-inbound-queue = { workspace = true } +snowbridge-pallet-outbound-queue = { workspace = true } +snowbridge-outbound-queue-runtime-api = { workspace = true } +snowbridge-pallet-system = { workspace = true } +snowbridge-system-runtime-api = { workspace = true } @@ -92,3 +92,3 @@ snowbridge-system-runtime-api = { path = "../../pallets/system/runtime-api", def -static_assertions = "1.1" -bridge-hub-test-utils = { path = "../../../../cumulus/parachains/runtimes/bridge-hubs/test-utils" } -bridge-runtime-common = { path = "../../../bin/runtime-common", features = ["integrity-test"] } +static_assertions = { workspace = true, default-features = true } +bridge-hub-test-utils = { workspace = true } +bridge-runtime-common = { features = ["integrity-test"] , workspace = true, default-features = true } diff --git cumulus/client/cli/Cargo.toml cumulus/client/cli/Cargo.toml index eaf0d5d5d7..c23677d056 100644 --- cumulus/client/cli/Cargo.toml +++ cumulus/client/cli/Cargo.toml @@ -13 +13 @@ workspace = true -clap = { version = "4.5.1", features = ["derive"] } +clap = { features = ["derive"] , workspace = true } @@ -15 +15 @@ codec = { package = "parity-scale-codec", version = "3.0.0" } -url = "2.4.0" +url = { workspace = true } @@ -18 +18 @@ url = "2.4.0" -sc-cli = { path = "../../../substrate/client/cli" } +sc-cli = { workspace = true, default-features = true } @@ -20 +20 @@ sc-client-api = { path = "../../../substrate/client/api" } -sc-chain-spec = { path = "../../../substrate/client/chain-spec" } +sc-chain-spec = { workspace = true } @@ -24 +24 @@ sp-runtime = { path = "../../../substrate/primitives/runtime" } -sp-blockchain = { path = "../../../substrate/primitives/blockchain" } +sp-blockchain = { workspace = true } diff --git cumulus/client/collator/Cargo.toml cumulus/client/collator/Cargo.toml index 0e911b9f3a..e725e599b2 100644 --- cumulus/client/collator/Cargo.toml +++ cumulus/client/collator/Cargo.toml @@ -13 +13 @@ workspace = true -parking_lot = "0.12.1" +parking_lot = { workspace = true, default-features = true } @@ -15,2 +15,2 @@ codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive -futures = "0.3.21" -tracing = "0.1.25" +futures = { workspace = true } +tracing = { workspace = true, default-features = true } @@ -21 +21 @@ sp-consensus = { path = "../../../substrate/primitives/consensus/common" } -sp-api = { path = "../../../substrate/primitives/api" } +sp-api = { workspace = true, default-features = true } @@ -27,2 +27,2 @@ polkadot-node-primitives = { path = "../../../polkadot/node/primitives" } -polkadot-node-subsystem = { path = "../../../polkadot/node/subsystem" } -polkadot-overseer = { path = "../../../polkadot/node/overseer" } +polkadot-node-subsystem = { workspace = true } +polkadot-overseer = { workspace = true } @@ -32,3 +32,3 @@ polkadot-primitives = { path = "../../../polkadot/primitives" } -cumulus-client-consensus-common = { path = "../consensus/common" } -cumulus-client-network = { path = "../network" } -cumulus-primitives-core = { path = "../../primitives/core" } +cumulus-client-consensus-common = { workspace = true } +cumulus-client-network = { workspace = true } +cumulus-primitives-core = { workspace = true, default-features = true } @@ -37 +37 @@ cumulus-primitives-core = { path = "../../primitives/core" } -async-trait = "0.1.74" +async-trait = { workspace = true } @@ -40,3 +40,3 @@ async-trait = "0.1.74" -sp-maybe-compressed-blob = { path = "../../../substrate/primitives/maybe-compressed-blob" } -sp-state-machine = { path = "../../../substrate/primitives/state-machine" } -sp-tracing = { path = "../../../substrate/primitives/tracing" } +sp-maybe-compressed-blob = { workspace = true } +sp-state-machine = { workspace = true, default-features = true } +sp-tracing = { workspace = true, default-features = true } @@ -48,3 +48,3 @@ polkadot-node-subsystem-test-helpers = { path = "../../../polkadot/node/subsyste -cumulus-test-client = { path = "../../test/client" } -cumulus-test-runtime = { path = "../../test/runtime" } -cumulus-test-relay-sproof-builder = { path = "../../test/relay-sproof-builder" } +cumulus-test-client = { workspace = true } +cumulus-test-runtime = { workspace = true } +cumulus-test-relay-sproof-builder = { workspace = true, default-features = true } diff --git cumulus/client/consensus/aura/Cargo.toml cumulus/client/consensus/aura/Cargo.toml index e815e89d8c..126c232d50 100644 --- cumulus/client/consensus/aura/Cargo.toml +++ cumulus/client/consensus/aura/Cargo.toml @@ -13 +13 @@ workspace = true -async-trait = "0.1.74" +async-trait = { workspace = true } @@ -15,3 +15,3 @@ codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive -futures = "0.3.28" -tracing = "0.1.37" -schnellru = "0.2.1" +futures = { workspace = true } +tracing = { workspace = true, default-features = true } +schnellru = { workspace = true } @@ -21,2 +21,2 @@ sc-client-api = { path = "../../../../substrate/client/api" } -sc-consensus = { path = "../../../../substrate/client/consensus/common" } -sc-consensus-aura = { path = "../../../../substrate/client/consensus/aura" } +sc-consensus = { workspace = true } +sc-consensus-aura = { workspace = true } @@ -24 +24 @@ sc-consensus-babe = { path = "../../../../substrate/client/consensus/babe" } -sc-consensus-slots = { path = "../../../../substrate/client/consensus/slots" } +sc-consensus-slots = { workspace = true } @@ -26 +26 @@ sc-telemetry = { path = "../../../../substrate/client/telemetry" } -sp-api = { path = "../../../../substrate/primitives/api" } +sp-api = { workspace = true, default-features = true } @@ -29 +29 @@ sp-block-builder = { path = "../../../../substrate/primitives/block-builder" } -sp-blockchain = { path = "../../../../substrate/primitives/blockchain" } +sp-blockchain = { workspace = true } @@ -31 +31 @@ sp-consensus = { path = "../../../../substrate/primitives/consensus/common" } -sp-consensus-aura = { path = "../../../../substrate/primitives/consensus/aura" } +sp-consensus-aura = { workspace = true, default-features = true } @@ -34 +34 @@ sp-inherents = { path = "../../../../substrate/primitives/inherents" } -sp-keystore = { path = "../../../../substrate/primitives/keystore" } +sp-keystore = { workspace = true, default-features = true } @@ -36,2 +36,2 @@ sp-runtime = { path = "../../../../substrate/primitives/runtime" } -sp-timestamp = { path = "../../../../substrate/primitives/timestamp" } -sp-state-machine = { path = "../../../../substrate/primitives/state-machine" } +sp-timestamp = { workspace = true, default-features = true } +sp-state-machine = { workspace = true, default-features = true } @@ -41,7 +41,7 @@ substrate-prometheus-endpoint = { path = "../../../../substrate/utils/prometheus -cumulus-client-consensus-common = { path = "../common" } -cumulus-relay-chain-interface = { path = "../../relay-chain-interface" } -cumulus-client-consensus-proposer = { path = "../proposer" } -cumulus-client-parachain-inherent = { path = "../../../client/parachain-inherent" } -cumulus-primitives-aura = { path = "../../../primitives/aura" } -cumulus-primitives-core = { path = "../../../primitives/core" } -cumulus-client-collator = { path = "../../collator" } +cumulus-client-consensus-common = { workspace = true } +cumulus-relay-chain-interface = { workspace = true } +cumulus-client-consensus-proposer = { workspace = true } +cumulus-client-parachain-inherent = { workspace = true } +cumulus-primitives-aura = { workspace = true, default-features = true } +cumulus-primitives-core = { workspace = true, default-features = true } +cumulus-client-collator = { workspace = true } @@ -52,2 +52,2 @@ polkadot-node-primitives = { path = "../../../../polkadot/node/primitives" } -polkadot-node-subsystem = { path = "../../../../polkadot/node/subsystem" } -polkadot-overseer = { path = "../../../../polkadot/node/overseer" } +polkadot-node-subsystem = { workspace = true } +polkadot-overseer = { workspace = true } diff --git cumulus/client/consensus/common/Cargo.toml cumulus/client/consensus/common/Cargo.toml index 5a014b10e3..9190d3c3fd 100644 --- cumulus/client/consensus/common/Cargo.toml +++ cumulus/client/consensus/common/Cargo.toml @@ -13 +13 @@ workspace = true -async-trait = "0.1.74" +async-trait = { workspace = true } @@ -15,2 +15,2 @@ codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive -dyn-clone = "1.0.16" -futures = "0.3.28" +dyn-clone = { workspace = true } +futures = { workspace = true } @@ -18 +18 @@ log = { workspace = true, default-features = true } -tracing = "0.1.37" +tracing = { workspace = true, default-features = true } @@ -22 +22 @@ sc-client-api = { path = "../../../../substrate/client/api" } -sc-consensus = { path = "../../../../substrate/client/consensus/common" } +sc-consensus = { workspace = true } @@ -24 +24 @@ sc-consensus-babe = { path = "../../../../substrate/client/consensus/babe" } -sp-blockchain = { path = "../../../../substrate/primitives/blockchain" } +sp-blockchain = { workspace = true } @@ -26 +26 @@ sp-consensus = { path = "../../../../substrate/primitives/consensus/common" } -sp-consensus-slots = { path = "../../../../substrate/primitives/consensus/slots" } +sp-consensus-slots = { workspace = true, default-features = true } @@ -29,2 +29,2 @@ sp-runtime = { path = "../../../../substrate/primitives/runtime" } -sp-timestamp = { path = "../../../../substrate/primitives/timestamp" } -sp-trie = { path = "../../../../substrate/primitives/trie" } +sp-timestamp = { workspace = true, default-features = true } +sp-trie = { workspace = true, default-features = true } @@ -37,4 +37,4 @@ polkadot-primitives = { path = "../../../../polkadot/primitives" } -cumulus-primitives-core = { path = "../../../primitives/core" } -cumulus-relay-chain-interface = { path = "../../relay-chain-interface" } -cumulus-client-pov-recovery = { path = "../../pov-recovery" } -schnellru = "0.2.1" +cumulus-primitives-core = { workspace = true, default-features = true } +cumulus-relay-chain-interface = { workspace = true } +cumulus-client-pov-recovery = { workspace = true } +schnellru = { workspace = true } @@ -43 +43 @@ schnellru = "0.2.1" -futures-timer = "3.0.2" +futures-timer = { workspace = true } @@ -46 +46 @@ futures-timer = "3.0.2" -sp-tracing = { path = "../../../../substrate/primitives/tracing" } +sp-tracing = { workspace = true, default-features = true } @@ -49,2 +49,2 @@ sp-tracing = { path = "../../../../substrate/primitives/tracing" } -cumulus-test-client = { path = "../../../test/client" } -cumulus-test-relay-sproof-builder = { path = "../../../test/relay-sproof-builder" } +cumulus-test-client = { workspace = true } +cumulus-test-relay-sproof-builder = { workspace = true, default-features = true } diff --git cumulus/client/consensus/proposer/Cargo.toml cumulus/client/consensus/proposer/Cargo.toml index b37232bb44..a880b4ab67 100644 --- cumulus/client/consensus/proposer/Cargo.toml +++ cumulus/client/consensus/proposer/Cargo.toml @@ -13,2 +13,2 @@ workspace = true -anyhow = "1.0" -async-trait = "0.1.74" +anyhow = { workspace = true } +async-trait = { workspace = true } @@ -21 +21 @@ sp-runtime = { path = "../../../../substrate/primitives/runtime" } -sp-state-machine = { path = "../../../../substrate/primitives/state-machine" } +sp-state-machine = { workspace = true, default-features = true } @@ -24 +24 @@ sp-state-machine = { path = "../../../../substrate/primitives/state-machine" } -cumulus-primitives-parachain-inherent = { path = "../../../primitives/parachain-inherent" } +cumulus-primitives-parachain-inherent = { workspace = true, default-features = true } diff --git cumulus/client/consensus/relay-chain/Cargo.toml cumulus/client/consensus/relay-chain/Cargo.toml index 3d06d6b89e..e3fb4bccc2 100644 --- cumulus/client/consensus/relay-chain/Cargo.toml +++ cumulus/client/consensus/relay-chain/Cargo.toml @@ -13,4 +13,4 @@ workspace = true -async-trait = "0.1.74" -futures = "0.3.28" -parking_lot = "0.12.1" -tracing = "0.1.37" +async-trait = { workspace = true } +futures = { workspace = true } +parking_lot = { workspace = true, default-features = true } +tracing = { workspace = true, default-features = true } @@ -19,2 +19,2 @@ tracing = "0.1.37" -sc-consensus = { path = "../../../../substrate/client/consensus/common" } -sp-api = { path = "../../../../substrate/primitives/api" } +sc-consensus = { workspace = true } +sp-api = { workspace = true, default-features = true } @@ -22 +22 @@ sp-block-builder = { path = "../../../../substrate/primitives/block-builder" } -sp-blockchain = { path = "../../../../substrate/primitives/blockchain" } +sp-blockchain = { workspace = true } @@ -30,3 +30,3 @@ substrate-prometheus-endpoint = { path = "../../../../substrate/utils/prometheus -cumulus-client-consensus-common = { path = "../common" } -cumulus-primitives-core = { path = "../../../primitives/core" } -cumulus-relay-chain-interface = { path = "../../relay-chain-interface" } +cumulus-client-consensus-common = { workspace = true } +cumulus-primitives-core = { workspace = true, default-features = true } +cumulus-relay-chain-interface = { workspace = true } diff --git cumulus/client/network/Cargo.toml cumulus/client/network/Cargo.toml index 995ef606d2..3957c45122 100644 --- cumulus/client/network/Cargo.toml +++ cumulus/client/network/Cargo.toml @@ -13 +13 @@ workspace = true -async-trait = "0.1.74" +async-trait = { workspace = true } @@ -15,4 +15,4 @@ codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive -futures = "0.3.28" -futures-timer = "3.0.2" -parking_lot = "0.12.1" -tracing = "0.1.37" +futures = { workspace = true } +futures-timer = { workspace = true } +parking_lot = { workspace = true, default-features = true } +tracing = { workspace = true, default-features = true } @@ -22 +22 @@ sc-client-api = { path = "../../../substrate/client/api" } -sp-blockchain = { path = "../../../substrate/primitives/blockchain" } +sp-blockchain = { workspace = true } @@ -26 +26 @@ sp-runtime = { path = "../../../substrate/primitives/runtime" } -sp-state-machine = { path = "../../../substrate/primitives/state-machine" } +sp-state-machine = { workspace = true, default-features = true } @@ -34 +34 @@ polkadot-primitives = { path = "../../../polkadot/primitives" } -cumulus-relay-chain-interface = { path = "../relay-chain-interface" } +cumulus-relay-chain-interface = { workspace = true } @@ -37,3 +37,3 @@ cumulus-relay-chain-interface = { path = "../relay-chain-interface" } -portpicker = "0.1.1" -tokio = { version = "1.32.0", features = ["macros"] } -url = "2.4.0" +portpicker = { workspace = true } +tokio = { features = ["macros"] , workspace = true, default-features = true } +url = { workspace = true } @@ -42 +42 @@ url = "2.4.0" -sc-cli = { path = "../../../substrate/client/cli" } +sc-cli = { workspace = true, default-features = true } @@ -47,2 +47,2 @@ sp-keyring = { path = "../../../substrate/primitives/keyring" } -sp-keystore = { path = "../../../substrate/primitives/keystore" } -substrate-test-utils = { path = "../../../substrate/test-utils" } +sp-keystore = { workspace = true, default-features = true } +substrate-test-utils = { workspace = true } @@ -51 +51 @@ substrate-test-utils = { path = "../../../substrate/test-utils" } -polkadot-test-client = { path = "../../../polkadot/node/test/client" } +polkadot-test-client = { workspace = true } @@ -54,3 +54,3 @@ polkadot-test-client = { path = "../../../polkadot/node/test/client" } -cumulus-primitives-core = { path = "../../primitives/core" } -cumulus-relay-chain-inprocess-interface = { path = "../relay-chain-inprocess-interface" } -cumulus-test-service = { path = "../../test/service" } +cumulus-primitives-core = { workspace = true, default-features = true } +cumulus-relay-chain-inprocess-interface = { workspace = true } +cumulus-test-service = { workspace = true } diff --git cumulus/client/parachain-inherent/Cargo.toml cumulus/client/parachain-inherent/Cargo.toml index e00f3ba260..5bf98891ab 100644 --- cumulus/client/parachain-inherent/Cargo.toml +++ cumulus/client/parachain-inherent/Cargo.toml @@ -10 +10 @@ license = "Apache-2.0" -async-trait = "0.1.73" +async-trait = { workspace = true } @@ -12,2 +12,2 @@ codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive -scale-info = { version = "2.10.0", features = ["derive"] } -tracing = { version = "0.1.37" } +scale-info = { features = ["derive"] , workspace = true, default-features = true } +tracing = { workspace = true, default-features = true } @@ -17,2 +17,2 @@ sc-client-api = { path = "../../../substrate/client/api" } -sp-api = { path = "../../../substrate/primitives/api" } -sp-crypto-hashing = { path = "../../../substrate/primitives/crypto/hashing" } +sp-api = { workspace = true, default-features = true } +sp-crypto-hashing = { workspace = true, default-features = true } @@ -21,4 +21,4 @@ sp-runtime = { path = "../../../substrate/primitives/runtime" } -sp-state-machine = { path = "../../../substrate/primitives/state-machine" } -sp-std = { path = "../../../substrate/primitives/std" } -sp-storage = { path = "../../../substrate/primitives/storage" } -sp-trie = { path = "../../../substrate/primitives/trie" } +sp-state-machine = { workspace = true, default-features = true } +sp-std = { workspace = true, default-features = true } +sp-storage = { workspace = true, default-features = true } +sp-trie = { workspace = true, default-features = true } @@ -27,4 +27,4 @@ sp-trie = { path = "../../../substrate/primitives/trie" } -cumulus-primitives-core = { path = "../../primitives/core" } -cumulus-primitives-parachain-inherent = { path = "../../primitives/parachain-inherent" } -cumulus-relay-chain-interface = { path = "../relay-chain-interface" } -cumulus-test-relay-sproof-builder = { path = "../../test/relay-sproof-builder" } +cumulus-primitives-core = { workspace = true, default-features = true } +cumulus-primitives-parachain-inherent = { workspace = true, default-features = true } +cumulus-relay-chain-interface = { workspace = true } +cumulus-test-relay-sproof-builder = { workspace = true, default-features = true } diff --git cumulus/client/pov-recovery/Cargo.toml cumulus/client/pov-recovery/Cargo.toml index 375a57a87c..54dc6e11f2 100644 --- cumulus/client/pov-recovery/Cargo.toml +++ cumulus/client/pov-recovery/Cargo.toml @@ -14,4 +14,4 @@ codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive -futures = "0.3.28" -futures-timer = "3.0.2" -rand = "0.8.5" -tracing = "0.1.37" +futures = { workspace = true } +futures-timer = { workspace = true } +rand = { workspace = true, default-features = true } +tracing = { workspace = true, default-features = true } @@ -21 +21 @@ sc-client-api = { path = "../../../substrate/client/api" } -sc-consensus = { path = "../../../substrate/client/consensus/common" } +sc-consensus = { workspace = true } @@ -23 +23 @@ sp-consensus = { path = "../../../substrate/primitives/consensus/common" } -sp-maybe-compressed-blob = { path = "../../../substrate/primitives/maybe-compressed-blob" } +sp-maybe-compressed-blob = { workspace = true } @@ -28,2 +28,2 @@ polkadot-node-primitives = { path = "../../../polkadot/node/primitives" } -polkadot-node-subsystem = { path = "../../../polkadot/node/subsystem" } -polkadot-overseer = { path = "../../../polkadot/node/overseer" } +polkadot-node-subsystem = { workspace = true } +polkadot-overseer = { workspace = true } @@ -33,3 +33,3 @@ polkadot-primitives = { path = "../../../polkadot/primitives" } -cumulus-primitives-core = { path = "../../primitives/core" } -cumulus-relay-chain-interface = { path = "../relay-chain-interface" } -async-trait = "0.1.74" +cumulus-primitives-core = { workspace = true, default-features = true } +cumulus-relay-chain-interface = { workspace = true } +async-trait = { workspace = true } @@ -38,2 +38,2 @@ async-trait = "0.1.74" -tokio = { version = "1.32.0", features = ["macros"] } -portpicker = "0.1.1" +tokio = { features = ["macros"] , workspace = true, default-features = true } +portpicker = { workspace = true } @@ -42 +42 @@ portpicker = "0.1.1" -cumulus-test-service = { path = "../../test/service" } +cumulus-test-service = { workspace = true } @@ -45 +45 @@ cumulus-test-service = { path = "../../test/service" } -sc-cli = { path = "../../../substrate/client/cli" } +sc-cli = { workspace = true, default-features = true } @@ -47 +47 @@ sc-client-api = { path = "../../../substrate/client/api" } -substrate-test-utils = { path = "../../../substrate/test-utils" } +substrate-test-utils = { workspace = true } diff --git cumulus/client/relay-chain-inprocess-interface/Cargo.toml cumulus/client/relay-chain-inprocess-interface/Cargo.toml index aa16230cd8..300bed782a 100644 --- cumulus/client/relay-chain-inprocess-interface/Cargo.toml +++ cumulus/client/relay-chain-inprocess-interface/Cargo.toml @@ -13,3 +13,3 @@ workspace = true -async-trait = "0.1.74" -futures = "0.3.28" -futures-timer = "3.0.2" +async-trait = { workspace = true } +futures = { workspace = true } +futures-timer = { workspace = true } @@ -18 +18 @@ futures-timer = "3.0.2" -sc-cli = { path = "../../../substrate/client/cli" } +sc-cli = { workspace = true, default-features = true } @@ -21,3 +21,3 @@ sc-telemetry = { path = "../../../substrate/client/telemetry" } -sc-tracing = { path = "../../../substrate/client/tracing" } -sc-sysinfo = { path = "../../../substrate/client/sysinfo" } -sp-api = { path = "../../../substrate/primitives/api" } +sc-tracing = { workspace = true } +sc-sysinfo = { workspace = true } +sp-api = { workspace = true, default-features = true } @@ -27 +27 @@ sp-runtime = { path = "../../../substrate/primitives/runtime" } -sp-state-machine = { path = "../../../substrate/primitives/state-machine" } +sp-state-machine = { workspace = true, default-features = true } @@ -30 +30 @@ sp-state-machine = { path = "../../../substrate/primitives/state-machine" } -polkadot-cli = { path = "../../../polkadot/cli", default-features = false, features = ["cli"] } +polkadot-cli = { features = ["cli"] , workspace = true } @@ -34,2 +34,2 @@ polkadot-service = { path = "../../../polkadot/node/service" } -cumulus-primitives-core = { path = "../../primitives/core" } -cumulus-relay-chain-interface = { path = "../relay-chain-interface" } +cumulus-primitives-core = { workspace = true, default-features = true } +cumulus-relay-chain-interface = { workspace = true } @@ -44,2 +44,2 @@ polkadot-primitives = { path = "../../../polkadot/primitives" } -polkadot-test-client = { path = "../../../polkadot/node/test/client" } -metered = { package = "prioritized-metered-channel", version = "0.6.1", default-features = false, features = ["futures_channel"] } +polkadot-test-client = { workspace = true } +metered = { features = ["futures_channel"] , workspace = true } @@ -48 +48 @@ metered = { package = "prioritized-metered-channel", version = "0.6.1", default- -cumulus-test-service = { path = "../../test/service" } +cumulus-test-service = { workspace = true } diff --git cumulus/client/relay-chain-interface/Cargo.toml cumulus/client/relay-chain-interface/Cargo.toml index 6e652b8921..1b3c01a519 100644 --- cumulus/client/relay-chain-interface/Cargo.toml +++ cumulus/client/relay-chain-interface/Cargo.toml @@ -13 +13 @@ workspace = true -polkadot-overseer = { path = "../../../polkadot/node/overseer" } +polkadot-overseer = { workspace = true } @@ -15 +15 @@ polkadot-overseer = { path = "../../../polkadot/node/overseer" } -cumulus-primitives-core = { path = "../../primitives/core" } +cumulus-primitives-core = { workspace = true, default-features = true } @@ -17,3 +17,3 @@ cumulus-primitives-core = { path = "../../primitives/core" } -sp-api = { path = "../../../substrate/primitives/api" } -sp-blockchain = { path = "../../../substrate/primitives/blockchain" } -sp-state-machine = { path = "../../../substrate/primitives/state-machine" } +sp-api = { workspace = true, default-features = true } +sp-blockchain = { workspace = true } +sp-state-machine = { workspace = true, default-features = true } @@ -22,2 +22,2 @@ sc-client-api = { path = "../../../substrate/client/api" } -futures = "0.3.28" -async-trait = "0.1.74" +futures = { workspace = true } +async-trait = { workspace = true } @@ -25 +25 @@ thiserror = { workspace = true } -jsonrpsee-core = "0.22" +jsonrpsee-core = { workspace = true } diff --git cumulus/client/relay-chain-minimal-node/Cargo.toml cumulus/client/relay-chain-minimal-node/Cargo.toml index 0b1e001e00..7aee2930c9 100644 --- cumulus/client/relay-chain-minimal-node/Cargo.toml +++ cumulus/client/relay-chain-minimal-node/Cargo.toml @@ -15,4 +15,4 @@ polkadot-primitives = { path = "../../../polkadot/primitives" } -polkadot-core-primitives = { path = "../../../polkadot/core-primitives" } -polkadot-overseer = { path = "../../../polkadot/node/overseer" } -polkadot-node-subsystem-util = { path = "../../../polkadot/node/subsystem-util" } -polkadot-node-network-protocol = { path = "../../../polkadot/node/network/protocol" } +polkadot-core-primitives = { workspace = true, default-features = true } +polkadot-overseer = { workspace = true } +polkadot-node-subsystem-util = { workspace = true } +polkadot-node-network-protocol = { workspace = true } @@ -20,7 +20,7 @@ polkadot-node-network-protocol = { path = "../../../polkadot/node/network/protoc -polkadot-availability-recovery = { path = "../../../polkadot/node/network/availability-recovery" } -polkadot-collator-protocol = { path = "../../../polkadot/node/network/collator-protocol" } -polkadot-network-bridge = { path = "../../../polkadot/node/network/bridge" } -polkadot-node-collation-generation = { path = "../../../polkadot/node/collation-generation" } -polkadot-node-core-runtime-api = { path = "../../../polkadot/node/core/runtime-api" } -polkadot-node-core-chain-api = { path = "../../../polkadot/node/core/chain-api" } -polkadot-node-core-prospective-parachains = { path = "../../../polkadot/node/core/prospective-parachains" } +polkadot-availability-recovery = { workspace = true } +polkadot-collator-protocol = { workspace = true } +polkadot-network-bridge = { workspace = true } +polkadot-node-collation-generation = { workspace = true } +polkadot-node-core-runtime-api = { workspace = true } +polkadot-node-core-chain-api = { workspace = true } +polkadot-node-core-prospective-parachains = { workspace = true } @@ -29,3 +29,3 @@ polkadot-node-core-prospective-parachains = { path = "../../../polkadot/node/cor -sc-authority-discovery = { path = "../../../substrate/client/authority-discovery" } -sc-network = { path = "../../../substrate/client/network" } -sc-network-common = { path = "../../../substrate/client/network/common" } +sc-authority-discovery = { workspace = true } +sc-network = { workspace = true } +sc-network-common = { workspace = true } @@ -35,3 +35,3 @@ substrate-prometheus-endpoint = { path = "../../../substrate/utils/prometheus" } -sc-tracing = { path = "../../../substrate/client/tracing" } -sc-utils = { path = "../../../substrate/client/utils" } -sp-api = { path = "../../../substrate/primitives/api" } +sc-tracing = { workspace = true } +sc-utils = { workspace = true } +sp-api = { workspace = true, default-features = true } @@ -41,2 +41,2 @@ sp-runtime = { path = "../../../substrate/primitives/runtime" } -sp-blockchain = { path = "../../../substrate/primitives/blockchain" } -tokio = { version = "1.32.0", features = ["macros"] } +sp-blockchain = { workspace = true } +tokio = { features = ["macros"] , workspace = true, default-features = true } @@ -45,3 +45,3 @@ tokio = { version = "1.32.0", features = ["macros"] } -cumulus-relay-chain-interface = { path = "../relay-chain-interface" } -cumulus-relay-chain-rpc-interface = { path = "../relay-chain-rpc-interface" } -cumulus-primitives-core = { path = "../../primitives/core" } +cumulus-relay-chain-interface = { workspace = true } +cumulus-relay-chain-rpc-interface = { workspace = true } +cumulus-primitives-core = { workspace = true, default-features = true } @@ -49,5 +49,5 @@ cumulus-primitives-core = { path = "../../primitives/core" } -array-bytes = "6.1" -tracing = "0.1.37" -async-trait = "0.1.74" -futures = "0.3.28" -parking_lot = "0.12.1" +array-bytes = { workspace = true, default-features = true } +tracing = { workspace = true, default-features = true } +async-trait = { workspace = true } +futures = { workspace = true } +parking_lot = { workspace = true, default-features = true } diff --git cumulus/client/relay-chain-rpc-interface/Cargo.toml cumulus/client/relay-chain-rpc-interface/Cargo.toml index 801712b1ad..ab352dd32a 100644 --- cumulus/client/relay-chain-rpc-interface/Cargo.toml +++ cumulus/client/relay-chain-rpc-interface/Cargo.toml @@ -13 +13 @@ workspace = true -polkadot-overseer = { path = "../../../polkadot/node/overseer" } +polkadot-overseer = { workspace = true } @@ -15,2 +15,2 @@ polkadot-overseer = { path = "../../../polkadot/node/overseer" } -cumulus-primitives-core = { path = "../../primitives/core" } -cumulus-relay-chain-interface = { path = "../relay-chain-interface" } +cumulus-primitives-core = { workspace = true, default-features = true } +cumulus-relay-chain-interface = { workspace = true } @@ -18 +18 @@ cumulus-relay-chain-interface = { path = "../relay-chain-interface" } -sp-api = { path = "../../../substrate/primitives/api" } +sp-api = { workspace = true, default-features = true } @@ -22,2 +22,2 @@ sp-authority-discovery = { path = "../../../substrate/primitives/authority-disco -sp-state-machine = { path = "../../../substrate/primitives/state-machine" } -sp-storage = { path = "../../../substrate/primitives/storage" } +sp-state-machine = { workspace = true, default-features = true } +sp-storage = { workspace = true, default-features = true } @@ -25 +25 @@ sp-runtime = { path = "../../../substrate/primitives/runtime" } -sp-version = { path = "../../../substrate/primitives/version" } +sp-version = { workspace = true, default-features = true } @@ -27 +27 @@ sc-client-api = { path = "../../../substrate/client/api" } -sc-rpc-api = { path = "../../../substrate/client/rpc-api" } +sc-rpc-api = { workspace = true } @@ -30,2 +30,2 @@ sc-service = { path = "../../../substrate/client/service" } -tokio = { version = "1.32.0", features = ["sync"] } -tokio-util = { version = "0.7.8", features = ["compat"] } +tokio = { features = ["sync"] , workspace = true, default-features = true } +tokio-util = { features = ["compat"] , workspace = true } @@ -33,2 +33,2 @@ tokio-util = { version = "0.7.8", features = ["compat"] } -futures = "0.3.28" -futures-timer = "3.0.2" +futures = { workspace = true } +futures-timer = { workspace = true } @@ -36,4 +36,4 @@ parity-scale-codec = "3.6.4" -jsonrpsee = { version = "0.22", features = ["ws-client"] } -tracing = "0.1.37" -async-trait = "0.1.74" -url = "2.4.0" +jsonrpsee = { features = ["ws-client"] , workspace = true } +tracing = { workspace = true, default-features = true } +async-trait = { workspace = true } +url = { workspace = true } @@ -42,4 +42,4 @@ serde = { workspace = true, default-features = true } -schnellru = "0.2.1" -smoldot = { version = "0.11.0", default_features = false, features = ["std"] } -smoldot-light = { version = "0.9.0", default_features = false, features = ["std"] } -either = "1.8.1" +schnellru = { workspace = true } +smoldot = { default_features = false, features = ["std"] , workspace = true } +smoldot-light = { default_features = false, features = ["std"] , workspace = true } +either = { workspace = true, default-features = true } @@ -47,2 +47,2 @@ thiserror = { workspace = true } -rand = "0.8.5" -pin-project = "1.1.3" +rand = { workspace = true, default-features = true } +pin-project = { workspace = true } diff --git cumulus/client/service/Cargo.toml cumulus/client/service/Cargo.toml index 2bafbee951..a8f8bc8769 100644 --- cumulus/client/service/Cargo.toml +++ cumulus/client/service/Cargo.toml @@ -13 +13 @@ workspace = true -futures = "0.3.28" +futures = { workspace = true } @@ -17,3 +17,3 @@ sc-client-api = { path = "../../../substrate/client/api" } -sc-consensus = { path = "../../../substrate/client/consensus/common" } -sc-transaction-pool = { path = "../../../substrate/client/transaction-pool" } -sc-rpc = { path = "../../../substrate/client/rpc" } +sc-consensus = { workspace = true } +sc-transaction-pool = { workspace = true } +sc-rpc = { workspace = true } @@ -21 +21 @@ sc-service = { path = "../../../substrate/client/service" } -sc-sysinfo = { path = "../../../substrate/client/sysinfo" } +sc-sysinfo = { workspace = true } @@ -23,6 +23,6 @@ sc-telemetry = { path = "../../../substrate/client/telemetry" } -sc-network = { path = "../../../substrate/client/network" } -sc-network-sync = { path = "../../../substrate/client/network/sync" } -sc-utils = { path = "../../../substrate/client/utils" } -sc-network-transactions = { path = "../../../substrate/client/network/transactions" } -sp-api = { path = "../../../substrate/primitives/api" } -sp-blockchain = { path = "../../../substrate/primitives/blockchain" } +sc-network = { workspace = true } +sc-network-sync = { workspace = true } +sc-utils = { workspace = true } +sc-network-transactions = { workspace = true } +sp-api = { workspace = true, default-features = true } +sp-blockchain = { workspace = true } @@ -38,10 +38,10 @@ polkadot-primitives = { path = "../../../polkadot/primitives" } -cumulus-client-cli = { path = "../cli" } -cumulus-client-collator = { path = "../collator" } -cumulus-client-consensus-common = { path = "../consensus/common" } -cumulus-client-pov-recovery = { path = "../pov-recovery" } -cumulus-client-network = { path = "../network" } -cumulus-primitives-core = { path = "../../primitives/core" } -cumulus-primitives-proof-size-hostfunction = { path = "../../primitives/proof-size-hostfunction" } -cumulus-relay-chain-interface = { path = "../relay-chain-interface" } -cumulus-relay-chain-inprocess-interface = { path = "../relay-chain-inprocess-interface" } -cumulus-relay-chain-minimal-node = { path = "../relay-chain-minimal-node" } +cumulus-client-cli = { workspace = true } +cumulus-client-collator = { workspace = true } +cumulus-client-consensus-common = { workspace = true } +cumulus-client-pov-recovery = { workspace = true } +cumulus-client-network = { workspace = true } +cumulus-primitives-core = { workspace = true, default-features = true } +cumulus-primitives-proof-size-hostfunction = { workspace = true, default-features = true } +cumulus-relay-chain-interface = { workspace = true } +cumulus-relay-chain-inprocess-interface = { workspace = true } +cumulus-relay-chain-minimal-node = { workspace = true } diff --git cumulus/pallets/aura-ext/Cargo.toml cumulus/pallets/aura-ext/Cargo.toml index ff30dce7b0..7a8faaf4c3 100644 --- cumulus/pallets/aura-ext/Cargo.toml +++ cumulus/pallets/aura-ext/Cargo.toml @@ -14 +14 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -19,2 +19,2 @@ frame-system = { path = "../../../substrate/frame/system", default-features = fa -pallet-aura = { path = "../../../substrate/frame/aura", default-features = false } -pallet-timestamp = { path = "../../../substrate/frame/timestamp", default-features = false } +pallet-aura = { workspace = true } +pallet-timestamp = { workspace = true } @@ -22 +22 @@ sp-application-crypto = { path = "../../../substrate/primitives/application-cryp -sp-consensus-aura = { path = "../../../substrate/primitives/consensus/aura", default-features = false } +sp-consensus-aura = { workspace = true } @@ -24 +24 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-std = { path = "../../../substrate/primitives/std", default-features = false } +sp-std = { workspace = true } @@ -27 +27 @@ sp-std = { path = "../../../substrate/primitives/std", default-features = false -cumulus-pallet-parachain-system = { path = "../parachain-system", default-features = false } +cumulus-pallet-parachain-system = { workspace = true } @@ -32 +32 @@ cumulus-pallet-parachain-system = { path = "../parachain-system", default-featur -cumulus-pallet-parachain-system = { path = "../parachain-system" } +cumulus-pallet-parachain-system = { workspace = true, default-features = true } diff --git cumulus/pallets/collator-selection/Cargo.toml cumulus/pallets/collator-selection/Cargo.toml index 20f048b97d..be692dd0ac 100644 --- cumulus/pallets/collator-selection/Cargo.toml +++ cumulus/pallets/collator-selection/Cargo.toml @@ -21,2 +21,2 @@ codec = { default-features = false, features = ["derive"], package = "parity-sca -rand = { version = "0.8.5", features = ["std_rng"], default-features = false } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +rand = { features = ["std_rng"], workspace = true } +scale-info = { features = ["derive"] , workspace = true } @@ -24 +24 @@ scale-info = { version = "2.10.0", default-features = false, features = ["derive -sp-std = { path = "../../../substrate/primitives/std", default-features = false } +sp-std = { workspace = true } @@ -26 +26 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-staking = { path = "../../../substrate/primitives/staking", default-features = false } +sp-staking = { workspace = true } @@ -29,2 +29,2 @@ frame-system = { path = "../../../substrate/frame/system", default-features = fa -pallet-authorship = { path = "../../../substrate/frame/authorship", default-features = false } -pallet-session = { path = "../../../substrate/frame/session", default-features = false } +pallet-authorship = { workspace = true } +pallet-session = { workspace = true } @@ -32 +32 @@ pallet-session = { path = "../../../substrate/frame/session", default-features = -frame-benchmarking = { path = "../../../substrate/frame/benchmarking", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } @@ -36,2 +36,2 @@ sp-core = { path = "../../../substrate/primitives/core" } -sp-io = { path = "../../../substrate/primitives/io" } -sp-tracing = { path = "../../../substrate/primitives/tracing" } +sp-io = { workspace = true, default-features = true } +sp-tracing = { workspace = true, default-features = true } @@ -39,4 +39,4 @@ sp-runtime = { path = "../../../substrate/primitives/runtime" } -pallet-timestamp = { path = "../../../substrate/frame/timestamp" } -sp-consensus-aura = { path = "../../../substrate/primitives/consensus/aura" } -pallet-balances = { path = "../../../substrate/frame/balances" } -pallet-aura = { path = "../../../substrate/frame/aura" } +pallet-timestamp = { workspace = true, default-features = true } +sp-consensus-aura = { workspace = true, default-features = true } +pallet-balances = { workspace = true, default-features = true } +pallet-aura = { workspace = true, default-features = true } diff --git cumulus/pallets/dmp-queue/Cargo.toml cumulus/pallets/dmp-queue/Cargo.toml index 83ed994d04..cff4cdf3e1 100644 --- cumulus/pallets/dmp-queue/Cargo.toml +++ cumulus/pallets/dmp-queue/Cargo.toml @@ -19 +19 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -21 +21 @@ scale-info = { version = "2.10.0", default-features = false, features = ["derive -frame-benchmarking = { path = "../../../substrate/frame/benchmarking", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } @@ -24 +24 @@ frame-system = { path = "../../../substrate/frame/system", default-features = fa -sp-std = { path = "../../../substrate/primitives/std", default-features = false } +sp-std = { workspace = true } @@ -26 +26 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-io = { path = "../../../substrate/primitives/io", default-features = false } +sp-io = { workspace = true } @@ -29 +29 @@ sp-io = { path = "../../../substrate/primitives/io", default-features = false } -xcm = { package = "staging-xcm", path = "../../../polkadot/xcm", default-features = false } +xcm = { workspace = true } @@ -32 +32 @@ xcm = { package = "staging-xcm", path = "../../../polkadot/xcm", default-feature -cumulus-primitives-core = { path = "../../primitives/core", default-features = false } +cumulus-primitives-core = { workspace = true } @@ -36 +36 @@ sp-core = { path = "../../../substrate/primitives/core" } -sp-tracing = { path = "../../../substrate/primitives/tracing" } +sp-tracing = { workspace = true, default-features = true } diff --git cumulus/pallets/parachain-system/Cargo.toml cumulus/pallets/parachain-system/Cargo.toml index 8664729056..0ded4e276b 100644 --- cumulus/pallets/parachain-system/Cargo.toml +++ cumulus/pallets/parachain-system/Cargo.toml @@ -13 +13 @@ workspace = true -bytes = { version = "1.4.0", default-features = false } +bytes = { workspace = true } @@ -15,2 +15,2 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -environmental = { version = "1.1.4", default-features = false } -impl-trait-for-tuples = "0.2.1" +environmental = { workspace = true } +impl-trait-for-tuples = { workspace = true } @@ -18,2 +18,2 @@ log = { workspace = true } -trie-db = { version = "0.28.0", default-features = false } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +trie-db = { workspace = true } +scale-info = { features = ["derive"] , workspace = true } @@ -22 +22 @@ scale-info = { version = "2.10.0", default-features = false, features = ["derive -frame-benchmarking = { path = "../../../substrate/frame/benchmarking", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } @@ -25 +25 @@ frame-system = { path = "../../../substrate/frame/system", default-features = fa -pallet-message-queue = { path = "../../../substrate/frame/message-queue", default-features = false } +pallet-message-queue = { workspace = true } @@ -27 +27 @@ sp-core = { path = "../../../substrate/primitives/core", default-features = fals -sp-externalities = { path = "../../../substrate/primitives/externalities", default-features = false } +sp-externalities = { workspace = true } @@ -29 +29 @@ sp-inherents = { path = "../../../substrate/primitives/inherents", default-featu -sp-io = { path = "../../../substrate/primitives/io", default-features = false } +sp-io = { workspace = true } @@ -31,4 +31,4 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-state-machine = { path = "../../../substrate/primitives/state-machine", default-features = false } -sp-std = { path = "../../../substrate/primitives/std", default-features = false } -sp-trie = { path = "../../../substrate/primitives/trie", default-features = false } -sp-version = { path = "../../../substrate/primitives/version", default-features = false } +sp-state-machine = { workspace = true } +sp-std = { workspace = true } +sp-trie = { workspace = true } +sp-version = { workspace = true } @@ -39 +39 @@ polkadot-runtime-parachains = { path = "../../../polkadot/runtime/parachains", d -xcm = { package = "staging-xcm", path = "../../../polkadot/xcm", default-features = false } +xcm = { workspace = true } @@ -42,4 +42,4 @@ xcm = { package = "staging-xcm", path = "../../../polkadot/xcm", default-feature -cumulus-pallet-parachain-system-proc-macro = { path = "proc-macro", default-features = false } -cumulus-primitives-core = { path = "../../primitives/core", default-features = false } -cumulus-primitives-parachain-inherent = { path = "../../primitives/parachain-inherent", default-features = false } -cumulus-primitives-proof-size-hostfunction = { path = "../../primitives/proof-size-hostfunction", default-features = false } +cumulus-pallet-parachain-system-proc-macro = { workspace = true } +cumulus-primitives-core = { workspace = true } +cumulus-primitives-parachain-inherent = { workspace = true } +cumulus-primitives-proof-size-hostfunction = { workspace = true } @@ -48,6 +48,6 @@ cumulus-primitives-proof-size-hostfunction = { path = "../../primitives/proof-si -assert_matches = "1.5" -hex-literal = "0.4.1" -lazy_static = "1.4" -trie-standardmap = "0.16.0" -rand = "0.8.5" -futures = "0.3.28" +assert_matches = { workspace = true } +hex-literal = { workspace = true, default-features = true } +lazy_static = { workspace = true } +trie-standardmap = { workspace = true } +rand = { workspace = true, default-features = true } +futures = { workspace = true } @@ -58,3 +58,3 @@ sp-keyring = { path = "../../../substrate/primitives/keyring" } -sp-crypto-hashing = { path = "../../../substrate/primitives/crypto/hashing" } -sp-tracing = { path = "../../../substrate/primitives/tracing" } -sp-version = { path = "../../../substrate/primitives/version" } +sp-crypto-hashing = { workspace = true, default-features = true } +sp-tracing = { workspace = true, default-features = true } +sp-version = { workspace = true, default-features = true } @@ -63,2 +63,2 @@ sp-version = { path = "../../../substrate/primitives/version" } -cumulus-test-client = { path = "../../test/client" } -cumulus-test-relay-sproof-builder = { path = "../../test/relay-sproof-builder" } +cumulus-test-client = { workspace = true } +cumulus-test-relay-sproof-builder = { workspace = true, default-features = true } diff --git cumulus/pallets/parachain-system/proc-macro/Cargo.toml cumulus/pallets/parachain-system/proc-macro/Cargo.toml index 0a90c30e03..da6f0fd03e 100644 --- cumulus/pallets/parachain-system/proc-macro/Cargo.toml +++ cumulus/pallets/parachain-system/proc-macro/Cargo.toml @@ -17 +17 @@ syn = { workspace = true } -proc-macro2 = "1.0.64" +proc-macro2 = { workspace = true } @@ -19 +19 @@ quote = { workspace = true } -proc-macro-crate = "3.0.0" +proc-macro-crate = { workspace = true } diff --git cumulus/pallets/session-benchmarking/Cargo.toml cumulus/pallets/session-benchmarking/Cargo.toml index 43fde4ea60..cfb0c00cd6 100644 --- cumulus/pallets/session-benchmarking/Cargo.toml +++ cumulus/pallets/session-benchmarking/Cargo.toml @@ -20 +20 @@ parity-scale-codec = { version = "3.6.4", default-features = false } -sp-std = { path = "../../../substrate/primitives/std", default-features = false } +sp-std = { workspace = true } @@ -24,2 +24,2 @@ frame-system = { path = "../../../substrate/frame/system", default-features = fa -frame-benchmarking = { path = "../../../substrate/frame/benchmarking", default-features = false, optional = true } -pallet-session = { path = "../../../substrate/frame/session", default-features = false } +frame-benchmarking = { optional = true , workspace = true } +pallet-session = { workspace = true } diff --git cumulus/pallets/solo-to-para/Cargo.toml cumulus/pallets/solo-to-para/Cargo.toml index f7dc5fe4de..62fb11ac92 100644 --- cumulus/pallets/solo-to-para/Cargo.toml +++ cumulus/pallets/solo-to-para/Cargo.toml @@ -14 +14 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -19 +19 @@ frame-system = { path = "../../../substrate/frame/system", default-features = fa -pallet-sudo = { path = "../../../substrate/frame/sudo", default-features = false } +pallet-sudo = { workspace = true } @@ -21 +21 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-std = { path = "../../../substrate/primitives/std", default-features = false } +sp-std = { workspace = true } @@ -27 +27 @@ polkadot-primitives = { path = "../../../polkadot/primitives", default-features -cumulus-pallet-parachain-system = { path = "../parachain-system", default-features = false } +cumulus-pallet-parachain-system = { workspace = true } diff --git cumulus/pallets/xcm/Cargo.toml cumulus/pallets/xcm/Cargo.toml index 63cb14b16e..9235a41105 100644 --- cumulus/pallets/xcm/Cargo.toml +++ cumulus/pallets/xcm/Cargo.toml @@ -14 +14 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -16,2 +16,2 @@ scale-info = { version = "2.10.0", default-features = false, features = ["derive -sp-std = { path = "../../../substrate/primitives/std", default-features = false } -sp-io = { path = "../../../substrate/primitives/io", default-features = false } +sp-std = { workspace = true } +sp-io = { workspace = true } @@ -22 +22 @@ frame-system = { path = "../../../substrate/frame/system", default-features = fa -xcm = { package = "staging-xcm", path = "../../../polkadot/xcm", default-features = false } +xcm = { workspace = true } @@ -24 +24 @@ xcm = { package = "staging-xcm", path = "../../../polkadot/xcm", default-feature -cumulus-primitives-core = { path = "../../primitives/core", default-features = false } +cumulus-primitives-core = { workspace = true } diff --git cumulus/pallets/xcmp-queue/Cargo.toml cumulus/pallets/xcmp-queue/Cargo.toml index 9078d5eda9..8d0937c3f3 100644 --- cumulus/pallets/xcmp-queue/Cargo.toml +++ cumulus/pallets/xcmp-queue/Cargo.toml @@ -15 +15 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -20 +20 @@ frame-system = { path = "../../../substrate/frame/system", default-features = fa -sp-io = { path = "../../../substrate/primitives/io", default-features = false } +sp-io = { workspace = true } @@ -23,2 +23,2 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-std = { path = "../../../substrate/primitives/std", default-features = false } -pallet-message-queue = { path = "../../../substrate/frame/message-queue", default-features = false } +sp-std = { workspace = true } +pallet-message-queue = { workspace = true } @@ -29,2 +29,2 @@ polkadot-runtime-parachains = { path = "../../../polkadot/runtime/parachains", d -xcm = { package = "staging-xcm", path = "../../../polkadot/xcm", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../../polkadot/xcm/xcm-executor", default-features = false } +xcm = { workspace = true } +xcm-executor = { workspace = true } @@ -33 +33 @@ xcm-executor = { package = "staging-xcm-executor", path = "../../../polkadot/xcm -cumulus-primitives-core = { path = "../../primitives/core", default-features = false } +cumulus-primitives-core = { workspace = true } @@ -36,2 +36,2 @@ cumulus-primitives-core = { path = "../../primitives/core", default-features = f -frame-benchmarking = { path = "../../../substrate/frame/benchmarking", default-features = false, optional = true } -bounded-collections = { version = "0.2.0", default-features = false } +frame-benchmarking = { optional = true , workspace = true } +bounded-collections = { workspace = true } @@ -40 +40 @@ bounded-collections = { version = "0.2.0", default-features = false } -bp-xcm-bridge-hub-router = { path = "../../../bridges/primitives/xcm-bridge-hub-router", default-features = false, optional = true } +bp-xcm-bridge-hub-router = { optional = true , workspace = true } @@ -46 +46 @@ sp-core = { path = "../../../substrate/primitives/core" } -pallet-balances = { path = "../../../substrate/frame/balances" } +pallet-balances = { workspace = true, default-features = true } @@ -50 +50 @@ frame-support = { path = "../../../substrate/frame/support", features = ["experi -xcm-builder = { package = "staging-xcm-builder", path = "../../../polkadot/xcm/xcm-builder" } +xcm-builder = { workspace = true, default-features = true } @@ -53 +53 @@ xcm-builder = { package = "staging-xcm-builder", path = "../../../polkadot/xcm/x -cumulus-pallet-parachain-system = { path = "../parachain-system", features = ["parameterized-consensus-hook"] } +cumulus-pallet-parachain-system = { features = ["parameterized-consensus-hook"] , workspace = true, default-features = true } diff --git cumulus/parachain-template/node/Cargo.toml cumulus/parachain-template/node/Cargo.toml index 0ef678c4cb..0287f6497f 100644 --- cumulus/parachain-template/node/Cargo.toml +++ cumulus/parachain-template/node/Cargo.toml @@ -17 +17 @@ workspace = true -clap = { version = "4.5.1", features = ["derive"] } +clap = { features = ["derive"] , workspace = true } @@ -21,2 +21,2 @@ serde = { features = ["derive"], workspace = true, default-features = true } -jsonrpsee = { version = "0.22", features = ["server"] } -futures = "0.3.28" +jsonrpsee = { features = ["server"] , workspace = true } +futures = { workspace = true } @@ -26 +26 @@ serde_json = { workspace = true, default-features = true } -parachain-template-runtime = { path = "../runtime" } +parachain-template-runtime = { workspace = true } @@ -29,6 +29,6 @@ parachain-template-runtime = { path = "../runtime" } -frame-benchmarking = { path = "../../../substrate/frame/benchmarking" } -frame-benchmarking-cli = { path = "../../../substrate/utils/frame/benchmarking-cli" } -pallet-transaction-payment-rpc = { path = "../../../substrate/frame/transaction-payment/rpc" } -sc-basic-authorship = { path = "../../../substrate/client/basic-authorship" } -sc-chain-spec = { path = "../../../substrate/client/chain-spec" } -sc-cli = { path = "../../../substrate/client/cli" } +frame-benchmarking = { workspace = true, default-features = true } +frame-benchmarking-cli = { workspace = true } +pallet-transaction-payment-rpc = { workspace = true } +sc-basic-authorship = { workspace = true } +sc-chain-spec = { workspace = true } +sc-cli = { workspace = true, default-features = true } @@ -36,6 +36,6 @@ sc-client-api = { path = "../../../substrate/client/api" } -sc-offchain = { path = "../../../substrate/client/offchain" } -sc-consensus = { path = "../../../substrate/client/consensus/common" } -sc-executor = { path = "../../../substrate/client/executor" } -sc-network = { path = "../../../substrate/client/network" } -sc-network-sync = { path = "../../../substrate/client/network/sync" } -sc-rpc = { path = "../../../substrate/client/rpc" } +sc-offchain = { workspace = true } +sc-consensus = { workspace = true } +sc-executor = { workspace = true } +sc-network = { workspace = true } +sc-network-sync = { workspace = true } +sc-rpc = { workspace = true } @@ -43 +43 @@ sc-service = { path = "../../../substrate/client/service" } -sc-sysinfo = { path = "../../../substrate/client/sysinfo" } +sc-sysinfo = { workspace = true } @@ -45,2 +45,2 @@ sc-telemetry = { path = "../../../substrate/client/telemetry" } -sc-tracing = { path = "../../../substrate/client/tracing" } -sc-transaction-pool = { path = "../../../substrate/client/transaction-pool" } +sc-tracing = { workspace = true } +sc-transaction-pool = { workspace = true } @@ -48 +48 @@ sc-transaction-pool-api = { path = "../../../substrate/client/transaction-pool/a -sp-api = { path = "../../../substrate/primitives/api" } +sp-api = { workspace = true, default-features = true } @@ -50,2 +50,2 @@ sp-block-builder = { path = "../../../substrate/primitives/block-builder" } -sp-blockchain = { path = "../../../substrate/primitives/blockchain" } -sp-consensus-aura = { path = "../../../substrate/primitives/consensus/aura" } +sp-blockchain = { workspace = true } +sp-consensus-aura = { workspace = true, default-features = true } @@ -53,2 +53,2 @@ sp-core = { path = "../../../substrate/primitives/core" } -sp-keystore = { path = "../../../substrate/primitives/keystore" } -sp-io = { path = "../../../substrate/primitives/io" } +sp-keystore = { workspace = true, default-features = true } +sp-io = { workspace = true, default-features = true } @@ -56 +56 @@ sp-runtime = { path = "../../../substrate/primitives/runtime" } -sp-timestamp = { path = "../../../substrate/primitives/timestamp" } +sp-timestamp = { workspace = true, default-features = true } @@ -61 +61 @@ substrate-prometheus-endpoint = { path = "../../../substrate/utils/prometheus" } -polkadot-cli = { path = "../../../polkadot/cli", features = ["rococo-native"] } +polkadot-cli = { features = ["rococo-native"] , workspace = true, default-features = true } @@ -63 +63 @@ polkadot-primitives = { path = "../../../polkadot/primitives" } -xcm = { package = "staging-xcm", path = "../../../polkadot/xcm", default-features = false } +xcm = { workspace = true } @@ -66,10 +66,10 @@ xcm = { package = "staging-xcm", path = "../../../polkadot/xcm", default-feature -cumulus-client-cli = { path = "../../client/cli" } -cumulus-client-collator = { path = "../../client/collator" } -cumulus-client-consensus-aura = { path = "../../client/consensus/aura" } -cumulus-client-consensus-common = { path = "../../client/consensus/common" } -cumulus-client-consensus-proposer = { path = "../../client/consensus/proposer" } -cumulus-client-service = { path = "../../client/service" } -cumulus-primitives-core = { path = "../../primitives/core" } -cumulus-primitives-parachain-inherent = { path = "../../primitives/parachain-inherent" } -cumulus-relay-chain-interface = { path = "../../client/relay-chain-interface" } -color-print = "0.3.4" +cumulus-client-cli = { workspace = true } +cumulus-client-collator = { workspace = true } +cumulus-client-consensus-aura = { workspace = true } +cumulus-client-consensus-common = { workspace = true } +cumulus-client-consensus-proposer = { workspace = true } +cumulus-client-service = { workspace = true } +cumulus-primitives-core = { workspace = true, default-features = true } +cumulus-primitives-parachain-inherent = { workspace = true, default-features = true } +cumulus-relay-chain-interface = { workspace = true } +color-print = { workspace = true } @@ -78 +78 @@ color-print = "0.3.4" -substrate-build-script-utils = { path = "../../../substrate/utils/build-script-utils" } +substrate-build-script-utils = { workspace = true } diff --git cumulus/parachain-template/pallets/template/Cargo.toml cumulus/parachain-template/pallets/template/Cargo.toml index 04858a161f..d98a5d562e 100644 --- cumulus/parachain-template/pallets/template/Cargo.toml +++ cumulus/parachain-template/pallets/template/Cargo.toml @@ -19 +19 @@ codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -22 +22 @@ scale-info = { version = "2.10.0", default-features = false, features = ["derive -frame-benchmarking = { path = "../../../../substrate/frame/benchmarking", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } @@ -31 +31 @@ sp-core = { path = "../../../../substrate/primitives/core", default-features = f -sp-io = { path = "../../../../substrate/primitives/io", default-features = false } +sp-io = { workspace = true } diff --git cumulus/parachain-template/runtime/Cargo.toml cumulus/parachain-template/runtime/Cargo.toml index 44d96ffc4e..5749996aeb 100644 --- cumulus/parachain-template/runtime/Cargo.toml +++ cumulus/parachain-template/runtime/Cargo.toml @@ -18 +18 @@ targets = ["x86_64-unknown-linux-gnu"] -substrate-wasm-builder = { path = "../../../substrate/utils/wasm-builder", optional = true } +substrate-wasm-builder = { optional = true , workspace = true } @@ -22 +22 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -hex-literal = { version = "0.4.1", optional = true } +hex-literal = { optional = true , workspace = true, default-features = true } @@ -24,2 +24,2 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -smallvec = "1.11.0" +scale-info = { features = ["derive"] , workspace = true } +smallvec = { workspace = true, default-features = true } @@ -28 +28 @@ smallvec = "1.11.0" -pallet-parachain-template = { path = "../pallets/template", default-features = false } +pallet-parachain-template = { workspace = true } @@ -31,2 +31,2 @@ pallet-parachain-template = { path = "../pallets/template", default-features = f -frame-benchmarking = { path = "../../../substrate/frame/benchmarking", default-features = false, optional = true } -frame-executive = { path = "../../../substrate/frame/executive", default-features = false } +frame-benchmarking = { optional = true , workspace = true } +frame-executive = { workspace = true } @@ -35,13 +35,13 @@ frame-system = { path = "../../../substrate/frame/system", default-features = fa -frame-system-benchmarking = { path = "../../../substrate/frame/system/benchmarking", default-features = false, optional = true } -frame-system-rpc-runtime-api = { path = "../../../substrate/frame/system/rpc/runtime-api", default-features = false } -frame-try-runtime = { path = "../../../substrate/frame/try-runtime", default-features = false, optional = true } -pallet-aura = { path = "../../../substrate/frame/aura", default-features = false } -pallet-authorship = { path = "../../../substrate/frame/authorship", default-features = false } -pallet-balances = { path = "../../../substrate/frame/balances", default-features = false } -pallet-message-queue = { path = "../../../substrate/frame/message-queue", default-features = false } -pallet-session = { path = "../../../substrate/frame/session", default-features = false } -pallet-sudo = { path = "../../../substrate/frame/sudo", default-features = false } -pallet-timestamp = { path = "../../../substrate/frame/timestamp", default-features = false } -pallet-transaction-payment = { path = "../../../substrate/frame/transaction-payment", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { path = "../../../substrate/frame/transaction-payment/rpc/runtime-api", default-features = false } -sp-api = { path = "../../../substrate/primitives/api", default-features = false } +frame-system-benchmarking = { optional = true , workspace = true } +frame-system-rpc-runtime-api = { workspace = true } +frame-try-runtime = { optional = true , workspace = true } +pallet-aura = { workspace = true } +pallet-authorship = { workspace = true } +pallet-balances = { workspace = true } +pallet-message-queue = { workspace = true } +pallet-session = { workspace = true } +pallet-sudo = { workspace = true } +pallet-timestamp = { workspace = true } +pallet-transaction-payment = { workspace = true } +pallet-transaction-payment-rpc-runtime-api = { workspace = true } +sp-api = { workspace = true } @@ -49 +49 @@ sp-block-builder = { path = "../../../substrate/primitives/block-builder", defau -sp-consensus-aura = { path = "../../../substrate/primitives/consensus/aura", default-features = false } +sp-consensus-aura = { workspace = true } @@ -51 +51 @@ sp-core = { path = "../../../substrate/primitives/core", default-features = fals -sp-genesis-builder = { path = "../../../substrate/primitives/genesis-builder", default-features = false } +sp-genesis-builder = { workspace = true } @@ -55,2 +55,2 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-session = { path = "../../../substrate/primitives/session", default-features = false } -sp-std = { path = "../../../substrate/primitives/std", default-features = false } +sp-session = { workspace = true } +sp-std = { workspace = true } @@ -58 +58 @@ sp-transaction-pool = { path = "../../../substrate/primitives/transaction-pool", -sp-version = { path = "../../../substrate/primitives/version", default-features = false } +sp-version = { workspace = true } @@ -61 +61 @@ sp-version = { path = "../../../substrate/primitives/version", default-features -pallet-xcm = { path = "../../../polkadot/xcm/pallet-xcm", default-features = false } +pallet-xcm = { workspace = true } @@ -64,3 +64,3 @@ polkadot-runtime-common = { path = "../../../polkadot/runtime/common", default-f -xcm = { package = "staging-xcm", path = "../../../polkadot/xcm", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../../../polkadot/xcm/xcm-builder", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../../polkadot/xcm/xcm-executor", default-features = false } +xcm = { workspace = true } +xcm-builder = { workspace = true } +xcm-executor = { workspace = true } @@ -69,10 +69,10 @@ xcm-executor = { package = "staging-xcm-executor", path = "../../../polkadot/xcm -cumulus-pallet-aura-ext = { path = "../../pallets/aura-ext", default-features = false } -cumulus-pallet-parachain-system = { path = "../../pallets/parachain-system", default-features = false, features = ["parameterized-consensus-hook"] } -cumulus-pallet-session-benchmarking = { path = "../../pallets/session-benchmarking", default-features = false } -cumulus-pallet-xcm = { path = "../../pallets/xcm", default-features = false } -cumulus-pallet-xcmp-queue = { path = "../../pallets/xcmp-queue", default-features = false } -cumulus-primitives-core = { path = "../../primitives/core", default-features = false } -cumulus-primitives-utility = { path = "../../primitives/utility", default-features = false } -pallet-collator-selection = { path = "../../pallets/collator-selection", default-features = false } -parachains-common = { path = "../../parachains/common", default-features = false } -parachain-info = { package = "staging-parachain-info", path = "../../parachains/pallets/parachain-info", default-features = false } +cumulus-pallet-aura-ext = { workspace = true } +cumulus-pallet-parachain-system = { features = ["parameterized-consensus-hook"] , workspace = true } +cumulus-pallet-session-benchmarking = { workspace = true } +cumulus-pallet-xcm = { workspace = true } +cumulus-pallet-xcmp-queue = { workspace = true } +cumulus-primitives-core = { workspace = true } +cumulus-primitives-utility = { workspace = true } +pallet-collator-selection = { workspace = true } +parachains-common = { workspace = true } +parachain-info = { workspace = true } diff --git cumulus/parachains/common/Cargo.toml cumulus/parachains/common/Cargo.toml index ebc9f822be..876d6be4bc 100644 --- cumulus/parachains/common/Cargo.toml +++ cumulus/parachains/common/Cargo.toml @@ -18 +18 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -23,6 +23,6 @@ frame-system = { path = "../../../substrate/frame/system", default-features = fa -pallet-asset-tx-payment = { path = "../../../substrate/frame/transaction-payment/asset-tx-payment", default-features = false } -pallet-assets = { path = "../../../substrate/frame/assets", default-features = false } -pallet-authorship = { path = "../../../substrate/frame/authorship", default-features = false } -pallet-balances = { path = "../../../substrate/frame/balances", default-features = false } -pallet-message-queue = { path = "../../../substrate/frame/message-queue", default-features = false } -sp-consensus-aura = { path = "../../../substrate/primitives/consensus/aura", default-features = false } +pallet-asset-tx-payment = { workspace = true } +pallet-assets = { workspace = true } +pallet-authorship = { workspace = true } +pallet-balances = { workspace = true } +pallet-message-queue = { workspace = true } +sp-consensus-aura = { workspace = true } @@ -30 +30 @@ sp-core = { path = "../../../substrate/primitives/core", default-features = fals -sp-io = { path = "../../../substrate/primitives/io", default-features = false } +sp-io = { workspace = true } @@ -32 +32 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-std = { path = "../../../substrate/primitives/std", default-features = false } +sp-std = { workspace = true } @@ -35 +35 @@ sp-std = { path = "../../../substrate/primitives/std", default-features = false -pallet-xcm = { path = "../../../polkadot/xcm/pallet-xcm", default-features = false } +pallet-xcm = { workspace = true } @@ -37,2 +37,2 @@ polkadot-primitives = { path = "../../../polkadot/primitives", default-features -xcm = { package = "staging-xcm", path = "../../../polkadot/xcm", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../../polkadot/xcm/xcm-executor", default-features = false } +xcm = { workspace = true } +xcm-executor = { workspace = true } @@ -41,4 +41,4 @@ xcm-executor = { package = "staging-xcm-executor", path = "../../../polkadot/xcm -pallet-collator-selection = { path = "../../pallets/collator-selection", default-features = false } -cumulus-primitives-core = { path = "../../primitives/core", default-features = false } -cumulus-primitives-utility = { path = "../../primitives/utility", default-features = false } -parachain-info = { package = "staging-parachain-info", path = "../pallets/parachain-info", default-features = false } +pallet-collator-selection = { workspace = true } +cumulus-primitives-core = { workspace = true } +cumulus-primitives-utility = { workspace = true } +parachain-info = { workspace = true } @@ -47,2 +47,2 @@ parachain-info = { package = "staging-parachain-info", path = "../pallets/parach -pallet-authorship = { path = "../../../substrate/frame/authorship", default-features = false } -sp-io = { path = "../../../substrate/primitives/io", default-features = false } +pallet-authorship = { workspace = true } +sp-io = { workspace = true } @@ -51 +51 @@ sp-io = { path = "../../../substrate/primitives/io", default-features = false } -substrate-wasm-builder = { path = "../../../substrate/utils/wasm-builder" } +substrate-wasm-builder = { workspace = true } diff --git cumulus/parachains/integration-tests/emulated/chains/parachains/assets/asset-hub-rococo/Cargo.toml cumulus/parachains/integration-tests/emulated/chains/parachains/assets/asset-hub-rococo/Cargo.toml index f4f8b3603b..7ca6a4b815 100644 --- cumulus/parachains/integration-tests/emulated/chains/parachains/assets/asset-hub-rococo/Cargo.toml +++ cumulus/parachains/integration-tests/emulated/chains/parachains/assets/asset-hub-rococo/Cargo.toml @@ -20,6 +20,6 @@ frame-support = { path = "../../../../../../../../substrate/frame/support", defa -parachains-common = { path = "../../../../../../../parachains/common" } -cumulus-primitives-core = { path = "../../../../../../../primitives/core", default-features = false } -emulated-integration-tests-common = { path = "../../../../common", default-features = false } -asset-hub-rococo-runtime = { path = "../../../../../../runtimes/assets/asset-hub-rococo" } -rococo-emulated-chain = { path = "../../../relays/rococo" } -testnet-parachains-constants = { path = "../../../../../../runtimes/constants", features = ["rococo"] } +parachains-common = { workspace = true, default-features = true } +cumulus-primitives-core = { workspace = true } +emulated-integration-tests-common = { workspace = true } +asset-hub-rococo-runtime = { workspace = true, default-features = true } +rococo-emulated-chain = { workspace = true } +testnet-parachains-constants = { features = ["rococo"] , workspace = true, default-features = true } diff --git cumulus/parachains/integration-tests/emulated/chains/parachains/assets/asset-hub-westend/Cargo.toml cumulus/parachains/integration-tests/emulated/chains/parachains/assets/asset-hub-westend/Cargo.toml index d4764f63bf..07ebaabc77 100644 --- cumulus/parachains/integration-tests/emulated/chains/parachains/assets/asset-hub-westend/Cargo.toml +++ cumulus/parachains/integration-tests/emulated/chains/parachains/assets/asset-hub-westend/Cargo.toml @@ -20,6 +20,6 @@ frame-support = { path = "../../../../../../../../substrate/frame/support", defa -parachains-common = { path = "../../../../../../../parachains/common" } -cumulus-primitives-core = { path = "../../../../../../../primitives/core", default-features = false } -emulated-integration-tests-common = { path = "../../../../common", default-features = false } -asset-hub-westend-runtime = { path = "../../../../../../runtimes/assets/asset-hub-westend" } -westend-emulated-chain = { path = "../../../relays/westend" } -testnet-parachains-constants = { path = "../../../../../../runtimes/constants", features = ["westend"] } +parachains-common = { workspace = true, default-features = true } +cumulus-primitives-core = { workspace = true } +emulated-integration-tests-common = { workspace = true } +asset-hub-westend-runtime = { workspace = true } +westend-emulated-chain = { workspace = true, default-features = true } +testnet-parachains-constants = { features = ["westend"] , workspace = true, default-features = true } diff --git cumulus/parachains/integration-tests/emulated/chains/parachains/bridges/bridge-hub-rococo/Cargo.toml cumulus/parachains/integration-tests/emulated/chains/parachains/bridges/bridge-hub-rococo/Cargo.toml index 322d8b44e6..3b00b52a27 100644 --- cumulus/parachains/integration-tests/emulated/chains/parachains/bridges/bridge-hub-rococo/Cargo.toml +++ cumulus/parachains/integration-tests/emulated/chains/parachains/bridges/bridge-hub-rococo/Cargo.toml @@ -20,5 +20,5 @@ frame-support = { path = "../../../../../../../../substrate/frame/support", defa -parachains-common = { path = "../../../../../../../parachains/common" } -emulated-integration-tests-common = { path = "../../../../common", default-features = false } -bridge-hub-rococo-runtime = { path = "../../../../../../runtimes/bridge-hubs/bridge-hub-rococo" } -bridge-hub-common = { path = "../../../../../../runtimes/bridge-hubs/common", default-features = false } -testnet-parachains-constants = { path = "../../../../../../runtimes/constants", features = ["rococo"] } +parachains-common = { workspace = true, default-features = true } +emulated-integration-tests-common = { workspace = true } +bridge-hub-rococo-runtime = { workspace = true, default-features = true } +bridge-hub-common = { workspace = true } +testnet-parachains-constants = { features = ["rococo"] , workspace = true, default-features = true } diff --git cumulus/parachains/integration-tests/emulated/chains/parachains/bridges/bridge-hub-westend/Cargo.toml cumulus/parachains/integration-tests/emulated/chains/parachains/bridges/bridge-hub-westend/Cargo.toml index ec1386b7f6..57ea562eb3 100644 --- cumulus/parachains/integration-tests/emulated/chains/parachains/bridges/bridge-hub-westend/Cargo.toml +++ cumulus/parachains/integration-tests/emulated/chains/parachains/bridges/bridge-hub-westend/Cargo.toml @@ -20,5 +20,5 @@ frame-support = { path = "../../../../../../../../substrate/frame/support", defa -parachains-common = { path = "../../../../../../../parachains/common" } -emulated-integration-tests-common = { path = "../../../../common", default-features = false } -bridge-hub-westend-runtime = { path = "../../../../../../runtimes/bridge-hubs/bridge-hub-westend" } -bridge-hub-common = { path = "../../../../../../runtimes/bridge-hubs/common", default-features = false } -testnet-parachains-constants = { path = "../../../../../../runtimes/constants", features = ["westend"] } +parachains-common = { workspace = true, default-features = true } +emulated-integration-tests-common = { workspace = true } +bridge-hub-westend-runtime = { workspace = true, default-features = true } +bridge-hub-common = { workspace = true } +testnet-parachains-constants = { features = ["westend"] , workspace = true, default-features = true } diff --git cumulus/parachains/integration-tests/emulated/chains/parachains/collectives/collectives-westend/Cargo.toml cumulus/parachains/integration-tests/emulated/chains/parachains/collectives/collectives-westend/Cargo.toml index 03f755b666..bf8dc4f2e8 100644 --- cumulus/parachains/integration-tests/emulated/chains/parachains/collectives/collectives-westend/Cargo.toml +++ cumulus/parachains/integration-tests/emulated/chains/parachains/collectives/collectives-westend/Cargo.toml @@ -20,5 +20,5 @@ frame-support = { path = "../../../../../../../../substrate/frame/support", defa -parachains-common = { path = "../../../../../../../parachains/common" } -cumulus-primitives-core = { path = "../../../../../../../primitives/core", default-features = false } -emulated-integration-tests-common = { path = "../../../../common", default-features = false } -collectives-westend-runtime = { path = "../../../../../../runtimes/collectives/collectives-westend" } -testnet-parachains-constants = { path = "../../../../../../runtimes/constants", features = ["westend"] } +parachains-common = { workspace = true, default-features = true } +cumulus-primitives-core = { workspace = true } +emulated-integration-tests-common = { workspace = true } +collectives-westend-runtime = { workspace = true } +testnet-parachains-constants = { features = ["westend"] , workspace = true, default-features = true } diff --git cumulus/parachains/integration-tests/emulated/chains/parachains/people/people-rococo/Cargo.toml cumulus/parachains/integration-tests/emulated/chains/parachains/people/people-rococo/Cargo.toml index 65a358d0ef..76a7410b4b 100644 --- cumulus/parachains/integration-tests/emulated/chains/parachains/people/people-rococo/Cargo.toml +++ cumulus/parachains/integration-tests/emulated/chains/parachains/people/people-rococo/Cargo.toml @@ -17,5 +17,5 @@ frame-support = { path = "../../../../../../../../substrate/frame/support", defa -parachains-common = { path = "../../../../../../../parachains/common" } -cumulus-primitives-core = { path = "../../../../../../../primitives/core", default-features = false } -emulated-integration-tests-common = { path = "../../../../common", default-features = false } -people-rococo-runtime = { path = "../../../../../../runtimes/people/people-rococo" } -testnet-parachains-constants = { path = "../../../../../../runtimes/constants", features = ["rococo"] } +parachains-common = { workspace = true, default-features = true } +cumulus-primitives-core = { workspace = true } +emulated-integration-tests-common = { workspace = true } +people-rococo-runtime = { workspace = true } +testnet-parachains-constants = { features = ["rococo"] , workspace = true, default-features = true } diff --git cumulus/parachains/integration-tests/emulated/chains/parachains/people/people-westend/Cargo.toml cumulus/parachains/integration-tests/emulated/chains/parachains/people/people-westend/Cargo.toml index 075698848b..63fe75463c 100644 --- cumulus/parachains/integration-tests/emulated/chains/parachains/people/people-westend/Cargo.toml +++ cumulus/parachains/integration-tests/emulated/chains/parachains/people/people-westend/Cargo.toml @@ -17,5 +17,5 @@ frame-support = { path = "../../../../../../../../substrate/frame/support", defa -parachains-common = { path = "../../../../../../../parachains/common" } -cumulus-primitives-core = { path = "../../../../../../../primitives/core", default-features = false } -emulated-integration-tests-common = { path = "../../../../common", default-features = false } -people-westend-runtime = { path = "../../../../../../runtimes/people/people-westend" } -testnet-parachains-constants = { path = "../../../../../../runtimes/constants", features = ["westend"] } +parachains-common = { workspace = true, default-features = true } +cumulus-primitives-core = { workspace = true } +emulated-integration-tests-common = { workspace = true } +people-westend-runtime = { workspace = true } +testnet-parachains-constants = { features = ["westend"] , workspace = true, default-features = true } diff --git cumulus/parachains/integration-tests/emulated/chains/parachains/testing/penpal/Cargo.toml cumulus/parachains/integration-tests/emulated/chains/parachains/testing/penpal/Cargo.toml index a853825d8e..1a3fcba621 100644 --- cumulus/parachains/integration-tests/emulated/chains/parachains/testing/penpal/Cargo.toml +++ cumulus/parachains/integration-tests/emulated/chains/parachains/testing/penpal/Cargo.toml @@ -20,6 +20,6 @@ frame-support = { path = "../../../../../../../../substrate/frame/support", defa -parachains-common = { path = "../../../../../../../parachains/common" } -cumulus-primitives-core = { path = "../../../../../../../primitives/core", default-features = false } -emulated-integration-tests-common = { path = "../../../../common", default-features = false } -penpal-runtime = { path = "../../../../../../runtimes/testing/penpal" } -rococo-emulated-chain = { path = "../../../relays/rococo" } -westend-emulated-chain = { path = "../../../relays/westend" } +parachains-common = { workspace = true, default-features = true } +cumulus-primitives-core = { workspace = true } +emulated-integration-tests-common = { workspace = true } +penpal-runtime = { workspace = true } +rococo-emulated-chain = { workspace = true } +westend-emulated-chain = { workspace = true, default-features = true } diff --git cumulus/parachains/integration-tests/emulated/chains/relays/rococo/Cargo.toml cumulus/parachains/integration-tests/emulated/chains/relays/rococo/Cargo.toml index 2d27426cca..d9387d079b 100644 --- cumulus/parachains/integration-tests/emulated/chains/relays/rococo/Cargo.toml +++ cumulus/parachains/integration-tests/emulated/chains/relays/rococo/Cargo.toml @@ -24,2 +24,2 @@ polkadot-primitives = { path = "../../../../../../../polkadot/primitives", defau -rococo-runtime-constants = { path = "../../../../../../../polkadot/runtime/rococo/constants", default-features = false } -rococo-runtime = { path = "../../../../../../../polkadot/runtime/rococo" } +rococo-runtime-constants = { workspace = true } +rococo-runtime = { workspace = true } @@ -28,2 +28,2 @@ rococo-runtime = { path = "../../../../../../../polkadot/runtime/rococo" } -parachains-common = { path = "../../../../../../parachains/common" } -emulated-integration-tests-common = { path = "../../../common", default-features = false } +parachains-common = { workspace = true, default-features = true } +emulated-integration-tests-common = { workspace = true } diff --git cumulus/parachains/integration-tests/emulated/chains/relays/westend/Cargo.toml cumulus/parachains/integration-tests/emulated/chains/relays/westend/Cargo.toml index abc40c2040..5c8b73b0ff 100644 --- cumulus/parachains/integration-tests/emulated/chains/relays/westend/Cargo.toml +++ cumulus/parachains/integration-tests/emulated/chains/relays/westend/Cargo.toml @@ -22 +22 @@ grandpa = { package = "sc-consensus-grandpa", path = "../../../../../../../subst -pallet-staking = { path = "../../../../../../../substrate/frame/staking", default-features = false } +pallet-staking = { workspace = true } @@ -26,2 +26,2 @@ polkadot-primitives = { path = "../../../../../../../polkadot/primitives", defau -westend-runtime-constants = { path = "../../../../../../../polkadot/runtime/westend/constants", default-features = false } -westend-runtime = { path = "../../../../../../../polkadot/runtime/westend" } +westend-runtime-constants = { workspace = true } +westend-runtime = { workspace = true } @@ -30,2 +30,2 @@ westend-runtime = { path = "../../../../../../../polkadot/runtime/westend" } -parachains-common = { path = "../../../../../../parachains/common" } -emulated-integration-tests-common = { path = "../../../common", default-features = false } +parachains-common = { workspace = true, default-features = true } +emulated-integration-tests-common = { workspace = true } diff --git cumulus/parachains/integration-tests/emulated/common/Cargo.toml cumulus/parachains/integration-tests/emulated/common/Cargo.toml index 721c58fd86..c782c7faf7 100644 --- cumulus/parachains/integration-tests/emulated/common/Cargo.toml +++ cumulus/parachains/integration-tests/emulated/common/Cargo.toml @@ -14 +14 @@ codec = { package = "parity-scale-codec", version = "3.4.0", default-features = -paste = "1.0.14" +paste = { workspace = true, default-features = true } @@ -24,3 +24,3 @@ sp-consensus-babe = { path = "../../../../../substrate/primitives/consensus/babe -pallet-assets = { path = "../../../../../substrate/frame/assets" } -pallet-balances = { path = "../../../../../substrate/frame/balances" } -pallet-message-queue = { path = "../../../../../substrate/frame/message-queue" } +pallet-assets = { workspace = true, default-features = true } +pallet-balances = { workspace = true, default-features = true } +pallet-message-queue = { workspace = true, default-features = true } @@ -31,2 +31,2 @@ polkadot-runtime-parachains = { path = "../../../../../polkadot/runtime/parachai -xcm = { package = "staging-xcm", path = "../../../../../polkadot/xcm" } -pallet-xcm = { path = "../../../../../polkadot/xcm/pallet-xcm" } +xcm = { workspace = true, default-features = true } +pallet-xcm = { workspace = true, default-features = true } @@ -35,6 +35,6 @@ pallet-xcm = { path = "../../../../../polkadot/xcm/pallet-xcm" } -parachains-common = { path = "../../../common" } -cumulus-primitives-core = { path = "../../../../primitives/core" } -xcm-emulator = { path = "../../../../xcm/xcm-emulator" } -cumulus-pallet-xcmp-queue = { path = "../../../../pallets/xcmp-queue" } -cumulus-pallet-parachain-system = { path = "../../../../pallets/parachain-system" } -asset-test-utils = { path = "../../../runtimes/assets/test-utils" } +parachains-common = { workspace = true, default-features = true } +cumulus-primitives-core = { workspace = true, default-features = true } +xcm-emulator = { workspace = true } +cumulus-pallet-xcmp-queue = { workspace = true, default-features = true } +cumulus-pallet-parachain-system = { workspace = true, default-features = true } +asset-test-utils = { workspace = true } @@ -43,3 +43,3 @@ asset-test-utils = { path = "../../../runtimes/assets/test-utils" } -bp-messages = { path = "../../../../../bridges/primitives/messages" } -pallet-bridge-messages = { path = "../../../../../bridges/modules/messages" } -bridge-runtime-common = { path = "../../../../../bridges/bin/runtime-common" } +bp-messages = { workspace = true, default-features = true } +pallet-bridge-messages = { workspace = true, default-features = true } +bridge-runtime-common = { workspace = true, default-features = true } diff --git cumulus/parachains/integration-tests/emulated/networks/rococo-system/Cargo.toml cumulus/parachains/integration-tests/emulated/networks/rococo-system/Cargo.toml index eb0a8a850d..298be7362e 100644 --- cumulus/parachains/integration-tests/emulated/networks/rococo-system/Cargo.toml +++ cumulus/parachains/integration-tests/emulated/networks/rococo-system/Cargo.toml @@ -15,6 +15,6 @@ workspace = true -emulated-integration-tests-common = { path = "../../common", default-features = false } -rococo-emulated-chain = { path = "../../chains/relays/rococo" } -asset-hub-rococo-emulated-chain = { path = "../../chains/parachains/assets/asset-hub-rococo" } -bridge-hub-rococo-emulated-chain = { path = "../../chains/parachains/bridges/bridge-hub-rococo" } -people-rococo-emulated-chain = { path = "../../chains/parachains/people/people-rococo" } -penpal-emulated-chain = { path = "../../chains/parachains/testing/penpal" } +emulated-integration-tests-common = { workspace = true } +rococo-emulated-chain = { workspace = true } +asset-hub-rococo-emulated-chain = { workspace = true } +bridge-hub-rococo-emulated-chain = { workspace = true } +people-rococo-emulated-chain = { workspace = true } +penpal-emulated-chain = { workspace = true } diff --git cumulus/parachains/integration-tests/emulated/networks/rococo-westend-system/Cargo.toml cumulus/parachains/integration-tests/emulated/networks/rococo-westend-system/Cargo.toml index 744cbe4f8c..cd0cb272b7 100644 --- cumulus/parachains/integration-tests/emulated/networks/rococo-westend-system/Cargo.toml +++ cumulus/parachains/integration-tests/emulated/networks/rococo-westend-system/Cargo.toml @@ -15,8 +15,8 @@ workspace = true -emulated-integration-tests-common = { path = "../../common", default-features = false } -rococo-emulated-chain = { path = "../../chains/relays/rococo" } -westend-emulated-chain = { path = "../../chains/relays/westend" } -asset-hub-rococo-emulated-chain = { path = "../../chains/parachains/assets/asset-hub-rococo" } -asset-hub-westend-emulated-chain = { path = "../../chains/parachains/assets/asset-hub-westend" } -bridge-hub-rococo-emulated-chain = { path = "../../chains/parachains/bridges/bridge-hub-rococo" } -bridge-hub-westend-emulated-chain = { path = "../../chains/parachains/bridges/bridge-hub-westend" } -penpal-emulated-chain = { path = "../../chains/parachains/testing/penpal" } +emulated-integration-tests-common = { workspace = true } +rococo-emulated-chain = { workspace = true } +westend-emulated-chain = { workspace = true, default-features = true } +asset-hub-rococo-emulated-chain = { workspace = true } +asset-hub-westend-emulated-chain = { workspace = true } +bridge-hub-rococo-emulated-chain = { workspace = true } +bridge-hub-westend-emulated-chain = { workspace = true } +penpal-emulated-chain = { workspace = true } diff --git cumulus/parachains/integration-tests/emulated/networks/westend-system/Cargo.toml cumulus/parachains/integration-tests/emulated/networks/westend-system/Cargo.toml index 64bc91f442..37c14aa303 100644 --- cumulus/parachains/integration-tests/emulated/networks/westend-system/Cargo.toml +++ cumulus/parachains/integration-tests/emulated/networks/westend-system/Cargo.toml @@ -15,7 +15,7 @@ workspace = true -emulated-integration-tests-common = { path = "../../common", default-features = false } -westend-emulated-chain = { path = "../../chains/relays/westend", default-features = false } -asset-hub-westend-emulated-chain = { path = "../../chains/parachains/assets/asset-hub-westend" } -bridge-hub-westend-emulated-chain = { path = "../../chains/parachains/bridges/bridge-hub-westend" } -collectives-westend-emulated-chain = { path = "../../chains/parachains/collectives/collectives-westend" } -penpal-emulated-chain = { path = "../../chains/parachains/testing/penpal" } -people-westend-emulated-chain = { path = "../../chains/parachains/people/people-westend" } +emulated-integration-tests-common = { workspace = true } +westend-emulated-chain = { workspace = true } +asset-hub-westend-emulated-chain = { workspace = true } +bridge-hub-westend-emulated-chain = { workspace = true } +collectives-westend-emulated-chain = { workspace = true } +penpal-emulated-chain = { workspace = true } +people-westend-emulated-chain = { workspace = true } diff --git cumulus/parachains/integration-tests/emulated/tests/assets/asset-hub-rococo/Cargo.toml cumulus/parachains/integration-tests/emulated/tests/assets/asset-hub-rococo/Cargo.toml index 0a397c2617..c2d5d774ed 100644 --- cumulus/parachains/integration-tests/emulated/tests/assets/asset-hub-rococo/Cargo.toml +++ cumulus/parachains/integration-tests/emulated/tests/assets/asset-hub-rococo/Cargo.toml @@ -15 +15 @@ codec = { package = "parity-scale-codec", version = "3.4.0", default-features = -assert_matches = "1.5.0" +assert_matches = { workspace = true } @@ -20,4 +20,4 @@ frame-support = { path = "../../../../../../../substrate/frame/support", default -pallet-balances = { path = "../../../../../../../substrate/frame/balances", default-features = false } -pallet-assets = { path = "../../../../../../../substrate/frame/assets", default-features = false } -pallet-asset-conversion = { path = "../../../../../../../substrate/frame/asset-conversion", default-features = false } -pallet-message-queue = { path = "../../../../../../../substrate/frame/message-queue", default-features = false } +pallet-balances = { workspace = true } +pallet-assets = { workspace = true } +pallet-asset-conversion = { workspace = true } +pallet-message-queue = { workspace = true } @@ -26,4 +26,4 @@ pallet-message-queue = { path = "../../../../../../../substrate/frame/message-qu -xcm = { package = "staging-xcm", path = "../../../../../../../polkadot/xcm", default-features = false } -pallet-xcm = { path = "../../../../../../../polkadot/xcm/pallet-xcm", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../../../../../../polkadot/xcm/xcm-executor", default-features = false } -rococo-runtime = { path = "../../../../../../../polkadot/runtime/rococo" } +xcm = { workspace = true } +pallet-xcm = { workspace = true } +xcm-executor = { workspace = true } +rococo-runtime = { workspace = true } @@ -32,7 +32,7 @@ rococo-runtime = { path = "../../../../../../../polkadot/runtime/rococo" } -asset-test-utils = { path = "../../../../../runtimes/assets/test-utils" } -parachains-common = { path = "../../../../../../parachains/common" } -cumulus-pallet-parachain-system = { path = "../../../../../../pallets/parachain-system", default-features = false } -testnet-parachains-constants = { path = "../../../../../runtimes/constants", features = ["rococo"] } -asset-hub-rococo-runtime = { path = "../../../../../runtimes/assets/asset-hub-rococo" } -emulated-integration-tests-common = { path = "../../../common", default-features = false } -rococo-system-emulated-network = { path = "../../../networks/rococo-system" } +asset-test-utils = { workspace = true } +parachains-common = { workspace = true, default-features = true } +cumulus-pallet-parachain-system = { workspace = true } +testnet-parachains-constants = { features = ["rococo"] , workspace = true, default-features = true } +asset-hub-rococo-runtime = { workspace = true, default-features = true } +emulated-integration-tests-common = { workspace = true } +rococo-system-emulated-network = { workspace = true } diff --git cumulus/parachains/integration-tests/emulated/tests/assets/asset-hub-westend/Cargo.toml cumulus/parachains/integration-tests/emulated/tests/assets/asset-hub-westend/Cargo.toml index 0c920730d0..ae0fbd571d 100644 --- cumulus/parachains/integration-tests/emulated/tests/assets/asset-hub-westend/Cargo.toml +++ cumulus/parachains/integration-tests/emulated/tests/assets/asset-hub-westend/Cargo.toml @@ -15 +15 @@ codec = { package = "parity-scale-codec", version = "3.4.0", default-features = -assert_matches = "1.5.0" +assert_matches = { workspace = true } @@ -20,5 +20,5 @@ frame-support = { path = "../../../../../../../substrate/frame/support", default -pallet-balances = { path = "../../../../../../../substrate/frame/balances", default-features = false } -pallet-assets = { path = "../../../../../../../substrate/frame/assets", default-features = false } -pallet-asset-conversion = { path = "../../../../../../../substrate/frame/asset-conversion", default-features = false } -pallet-treasury = { path = "../../../../../../../substrate/frame/treasury", default-features = false } -pallet-message-queue = { path = "../../../../../../../substrate/frame/message-queue", default-features = false } +pallet-balances = { workspace = true } +pallet-assets = { workspace = true } +pallet-asset-conversion = { workspace = true } +pallet-treasury = { workspace = true } +pallet-message-queue = { workspace = true } @@ -28,4 +28,4 @@ polkadot-runtime-common = { path = "../../../../../../../polkadot/runtime/common -xcm = { package = "staging-xcm", path = "../../../../../../../polkadot/xcm", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../../../../../../polkadot/xcm/xcm-executor", default-features = false } -pallet-xcm = { path = "../../../../../../../polkadot/xcm/pallet-xcm", default-features = false } -westend-runtime = { path = "../../../../../../../polkadot/runtime/westend" } +xcm = { workspace = true } +xcm-executor = { workspace = true } +pallet-xcm = { workspace = true } +westend-runtime = { workspace = true } @@ -34,8 +34,8 @@ westend-runtime = { path = "../../../../../../../polkadot/runtime/westend" } -parachains-common = { path = "../../../../../../parachains/common" } -testnet-parachains-constants = { path = "../../../../../runtimes/constants", features = ["westend"] } -asset-hub-westend-runtime = { path = "../../../../../runtimes/assets/asset-hub-westend" } -asset-test-utils = { path = "../../../../../runtimes/assets/test-utils" } -cumulus-pallet-xcmp-queue = { default-features = false, path = "../../../../../../pallets/xcmp-queue" } -cumulus-pallet-parachain-system = { default-features = false, path = "../../../../../../pallets/parachain-system" } -emulated-integration-tests-common = { path = "../../../common", default-features = false } -westend-system-emulated-network = { path = "../../../networks/westend-system" } +parachains-common = { workspace = true, default-features = true } +testnet-parachains-constants = { features = ["westend"] , workspace = true, default-features = true } +asset-hub-westend-runtime = { workspace = true } +asset-test-utils = { workspace = true } +cumulus-pallet-xcmp-queue = { workspace = true } +cumulus-pallet-parachain-system = { workspace = true } +emulated-integration-tests-common = { workspace = true } +westend-system-emulated-network = { workspace = true } diff --git cumulus/parachains/integration-tests/emulated/tests/bridges/bridge-hub-rococo/Cargo.toml cumulus/parachains/integration-tests/emulated/tests/bridges/bridge-hub-rococo/Cargo.toml index 89f0d2a9ca..d29b6c68c1 100644 --- cumulus/parachains/integration-tests/emulated/tests/bridges/bridge-hub-rococo/Cargo.toml +++ cumulus/parachains/integration-tests/emulated/tests/bridges/bridge-hub-rococo/Cargo.toml @@ -15,2 +15,2 @@ codec = { package = "parity-scale-codec", version = "3.4.0", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -hex-literal = "0.4.1" +scale-info = { features = ["derive"] , workspace = true } +hex-literal = { workspace = true, default-features = true } @@ -21,4 +21,4 @@ frame-support = { path = "../../../../../../../substrate/frame/support", default -pallet-assets = { path = "../../../../../../../substrate/frame/assets", default-features = false } -pallet-asset-conversion = { path = "../../../../../../../substrate/frame/asset-conversion", default-features = false } -pallet-balances = { path = "../../../../../../../substrate/frame/balances", default-features = false } -pallet-message-queue = { path = "../../../../../../../substrate/frame/message-queue" } +pallet-assets = { workspace = true } +pallet-asset-conversion = { workspace = true } +pallet-balances = { workspace = true } +pallet-message-queue = { workspace = true, default-features = true } @@ -28,3 +28,3 @@ sp-runtime = { path = "../../../../../../../substrate/primitives/runtime", defau -xcm = { package = "staging-xcm", path = "../../../../../../../polkadot/xcm", default-features = false } -pallet-xcm = { path = "../../../../../../../polkadot/xcm/pallet-xcm", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../../../../../../polkadot/xcm/xcm-executor", default-features = false } +xcm = { workspace = true } +pallet-xcm = { workspace = true } +xcm-executor = { workspace = true } @@ -33,2 +33,2 @@ xcm-executor = { package = "staging-xcm-executor", path = "../../../../../../../ -pallet-bridge-messages = { path = "../../../../../../../bridges/modules/messages", default-features = false } -bp-messages = { path = "../../../../../../../bridges/primitives/messages", default-features = false } +pallet-bridge-messages = { workspace = true } +bp-messages = { workspace = true } @@ -37,8 +37,8 @@ bp-messages = { path = "../../../../../../../bridges/primitives/messages", defau -parachains-common = { path = "../../../../../../parachains/common" } -testnet-parachains-constants = { path = "../../../../../runtimes/constants", features = ["rococo"] } -cumulus-pallet-xcmp-queue = { path = "../../../../../../pallets/xcmp-queue", default-features = false } -bridge-hub-rococo-runtime = { path = "../../../../../../parachains/runtimes/bridge-hubs/bridge-hub-rococo", default-features = false } -emulated-integration-tests-common = { path = "../../../common", default-features = false } -rococo-westend-system-emulated-network = { path = "../../../networks/rococo-westend-system" } -rococo-system-emulated-network = { path = "../../../networks/rococo-system" } -asset-hub-rococo-runtime = { path = "../../../../../runtimes/assets/asset-hub-rococo", default-features = false } +parachains-common = { workspace = true, default-features = true } +testnet-parachains-constants = { features = ["rococo"] , workspace = true, default-features = true } +cumulus-pallet-xcmp-queue = { workspace = true } +bridge-hub-rococo-runtime = { workspace = true } +emulated-integration-tests-common = { workspace = true } +rococo-westend-system-emulated-network = { workspace = true } +rococo-system-emulated-network = { workspace = true } +asset-hub-rococo-runtime = { workspace = true } @@ -47,6 +47,6 @@ asset-hub-rococo-runtime = { path = "../../../../../runtimes/assets/asset-hub-ro -snowbridge-core = { path = "../../../../../../../bridges/snowbridge/primitives/core", default-features = false } -snowbridge-router-primitives = { path = "../../../../../../../bridges/snowbridge/primitives/router", default-features = false } -snowbridge-pallet-system = { path = "../../../../../../../bridges/snowbridge/pallets/system", default-features = false } -snowbridge-pallet-outbound-queue = { path = "../../../../../../../bridges/snowbridge/pallets/outbound-queue", default-features = false } -snowbridge-pallet-inbound-queue = { path = "../../../../../../../bridges/snowbridge/pallets/inbound-queue", default-features = false } -snowbridge-pallet-inbound-queue-fixtures = { path = "../../../../../../../bridges/snowbridge/pallets/inbound-queue/fixtures" } +snowbridge-core = { workspace = true } +snowbridge-router-primitives = { workspace = true } +snowbridge-pallet-system = { workspace = true } +snowbridge-pallet-outbound-queue = { workspace = true } +snowbridge-pallet-inbound-queue = { workspace = true } +snowbridge-pallet-inbound-queue-fixtures = { workspace = true, default-features = true } diff --git cumulus/parachains/integration-tests/emulated/tests/bridges/bridge-hub-westend/Cargo.toml cumulus/parachains/integration-tests/emulated/tests/bridges/bridge-hub-westend/Cargo.toml index 9d55903c85..4a559065cc 100644 --- cumulus/parachains/integration-tests/emulated/tests/bridges/bridge-hub-westend/Cargo.toml +++ cumulus/parachains/integration-tests/emulated/tests/bridges/bridge-hub-westend/Cargo.toml @@ -17,4 +17,4 @@ frame-support = { path = "../../../../../../../substrate/frame/support", default -pallet-assets = { path = "../../../../../../../substrate/frame/assets", default-features = false } -pallet-asset-conversion = { path = "../../../../../../../substrate/frame/asset-conversion", default-features = false } -pallet-balances = { path = "../../../../../../../substrate/frame/balances", default-features = false } -pallet-message-queue = { path = "../../../../../../../substrate/frame/message-queue" } +pallet-assets = { workspace = true } +pallet-asset-conversion = { workspace = true } +pallet-balances = { workspace = true } +pallet-message-queue = { workspace = true, default-features = true } @@ -24,3 +24,3 @@ sp-runtime = { path = "../../../../../../../substrate/primitives/runtime", defau -xcm = { package = "staging-xcm", path = "../../../../../../../polkadot/xcm", default-features = false } -pallet-xcm = { path = "../../../../../../../polkadot/xcm/pallet-xcm", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../../../../../../polkadot/xcm/xcm-executor", default-features = false } +xcm = { workspace = true } +pallet-xcm = { workspace = true } +xcm-executor = { workspace = true } @@ -29,2 +29,2 @@ xcm-executor = { package = "staging-xcm-executor", path = "../../../../../../../ -pallet-bridge-messages = { path = "../../../../../../../bridges/modules/messages", default-features = false } -bp-messages = { path = "../../../../../../../bridges/primitives/messages", default-features = false } +pallet-bridge-messages = { workspace = true } +bp-messages = { workspace = true } @@ -33,5 +33,5 @@ bp-messages = { path = "../../../../../../../bridges/primitives/messages", defau -parachains-common = { path = "../../../../../../parachains/common" } -cumulus-pallet-xcmp-queue = { path = "../../../../../../pallets/xcmp-queue", default-features = false } -bridge-hub-westend-runtime = { path = "../../../../../../parachains/runtimes/bridge-hubs/bridge-hub-westend", default-features = false } -emulated-integration-tests-common = { path = "../../../common", default-features = false } -rococo-westend-system-emulated-network = { path = "../../../networks/rococo-westend-system" } +parachains-common = { workspace = true, default-features = true } +cumulus-pallet-xcmp-queue = { workspace = true } +bridge-hub-westend-runtime = { workspace = true } +emulated-integration-tests-common = { workspace = true } +rococo-westend-system-emulated-network = { workspace = true } diff --git cumulus/parachains/integration-tests/emulated/tests/people/people-rococo/Cargo.toml cumulus/parachains/integration-tests/emulated/tests/people/people-rococo/Cargo.toml index 609376c1fe..cc89a2a359 100644 --- cumulus/parachains/integration-tests/emulated/tests/people/people-rococo/Cargo.toml +++ cumulus/parachains/integration-tests/emulated/tests/people/people-rococo/Cargo.toml @@ -16,3 +16,3 @@ frame-support = { path = "../../../../../../../substrate/frame/support", default -pallet-balances = { path = "../../../../../../../substrate/frame/balances", default-features = false } -pallet-message-queue = { path = "../../../../../../../substrate/frame/message-queue", default-features = false } -pallet-identity = { path = "../../../../../../../substrate/frame/identity", default-features = false } +pallet-balances = { workspace = true } +pallet-message-queue = { workspace = true } +pallet-identity = { workspace = true } @@ -21,4 +21,4 @@ pallet-identity = { path = "../../../../../../../substrate/frame/identity", defa -xcm = { package = "staging-xcm", path = "../../../../../../../polkadot/xcm", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../../../../../../polkadot/xcm/xcm-executor", default-features = false } -rococo-runtime = { path = "../../../../../../../polkadot/runtime/rococo" } -rococo-runtime-constants = { path = "../../../../../../../polkadot/runtime/rococo/constants" } +xcm = { workspace = true } +xcm-executor = { workspace = true } +rococo-runtime = { workspace = true } +rococo-runtime-constants = { workspace = true, default-features = true } @@ -28,5 +28,5 @@ polkadot-runtime-common = { path = "../../../../../../../polkadot/runtime/common -asset-test-utils = { path = "../../../../../runtimes/assets/test-utils" } -parachains-common = { path = "../../../../../../parachains/common" } -people-rococo-runtime = { path = "../../../../../runtimes/people/people-rococo" } -emulated-integration-tests-common = { path = "../../../common", default-features = false } -rococo-system-emulated-network = { path = "../../../networks/rococo-system" } +asset-test-utils = { workspace = true } +parachains-common = { workspace = true, default-features = true } +people-rococo-runtime = { workspace = true } +emulated-integration-tests-common = { workspace = true } +rococo-system-emulated-network = { workspace = true } diff --git cumulus/parachains/integration-tests/emulated/tests/people/people-westend/Cargo.toml cumulus/parachains/integration-tests/emulated/tests/people/people-westend/Cargo.toml index f2f3366798..234e632b33 100644 --- cumulus/parachains/integration-tests/emulated/tests/people/people-westend/Cargo.toml +++ cumulus/parachains/integration-tests/emulated/tests/people/people-westend/Cargo.toml @@ -16,3 +16,3 @@ frame-support = { path = "../../../../../../../substrate/frame/support", default -pallet-balances = { path = "../../../../../../../substrate/frame/balances", default-features = false } -pallet-message-queue = { path = "../../../../../../../substrate/frame/message-queue", default-features = false } -pallet-identity = { path = "../../../../../../../substrate/frame/identity", default-features = false } +pallet-balances = { workspace = true } +pallet-message-queue = { workspace = true } +pallet-identity = { workspace = true } @@ -21,4 +21,4 @@ pallet-identity = { path = "../../../../../../../substrate/frame/identity", defa -xcm = { package = "staging-xcm", path = "../../../../../../../polkadot/xcm", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../../../../../../polkadot/xcm/xcm-executor", default-features = false } -westend-runtime = { path = "../../../../../../../polkadot/runtime/westend" } -westend-runtime-constants = { path = "../../../../../../../polkadot/runtime/westend/constants" } +xcm = { workspace = true } +xcm-executor = { workspace = true } +westend-runtime = { workspace = true } +westend-runtime-constants = { workspace = true, default-features = true } @@ -28,5 +28,5 @@ polkadot-runtime-common = { path = "../../../../../../../polkadot/runtime/common -asset-test-utils = { path = "../../../../../runtimes/assets/test-utils" } -parachains-common = { path = "../../../../../../parachains/common" } -people-westend-runtime = { path = "../../../../../runtimes/people/people-westend" } -emulated-integration-tests-common = { path = "../../../common", default-features = false } -westend-system-emulated-network = { path = "../../../networks/westend-system" } +asset-test-utils = { workspace = true } +parachains-common = { workspace = true, default-features = true } +people-westend-runtime = { workspace = true } +emulated-integration-tests-common = { workspace = true } +westend-system-emulated-network = { workspace = true } diff --git cumulus/parachains/pallets/collective-content/Cargo.toml cumulus/parachains/pallets/collective-content/Cargo.toml index 691be02f5b..22461654c1 100644 --- cumulus/parachains/pallets/collective-content/Cargo.toml +++ cumulus/parachains/pallets/collective-content/Cargo.toml @@ -14 +14 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -16 +16 @@ scale-info = { version = "2.10.0", default-features = false, features = ["derive -frame-benchmarking = { path = "../../../../substrate/frame/benchmarking", optional = true, default-features = false } +frame-benchmarking = { optional = true, workspace = true } @@ -22 +22 @@ sp-runtime = { path = "../../../../substrate/primitives/runtime", default-featur -sp-std = { path = "../../../../substrate/primitives/std", default-features = false } +sp-std = { workspace = true } @@ -25 +25 @@ sp-std = { path = "../../../../substrate/primitives/std", default-features = fal -sp-io = { path = "../../../../substrate/primitives/io", default-features = false } +sp-io = { workspace = true } diff --git cumulus/parachains/pallets/parachain-info/Cargo.toml cumulus/parachains/pallets/parachain-info/Cargo.toml index 0e2f965e1c..b7691e3740 100644 --- cumulus/parachains/pallets/parachain-info/Cargo.toml +++ cumulus/parachains/pallets/parachain-info/Cargo.toml @@ -14 +14 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -20 +20 @@ sp-runtime = { path = "../../../../substrate/primitives/runtime", default-featur -sp-std = { path = "../../../../substrate/primitives/std", default-features = false } +sp-std = { workspace = true } @@ -22 +22 @@ sp-std = { path = "../../../../substrate/primitives/std", default-features = fal -cumulus-primitives-core = { path = "../../../primitives/core", default-features = false } +cumulus-primitives-core = { workspace = true } diff --git cumulus/parachains/pallets/ping/Cargo.toml cumulus/parachains/pallets/ping/Cargo.toml index 1afd55eb0b..d0a36b640e 100644 --- cumulus/parachains/pallets/ping/Cargo.toml +++ cumulus/parachains/pallets/ping/Cargo.toml @@ -14 +14 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -16 +16 @@ scale-info = { version = "2.10.0", default-features = false, features = ["derive -sp-std = { path = "../../../../substrate/primitives/std", default-features = false } +sp-std = { workspace = true } @@ -21 +21 @@ frame-system = { path = "../../../../substrate/frame/system", default-features = -xcm = { package = "staging-xcm", path = "../../../../polkadot/xcm", default-features = false } +xcm = { workspace = true } @@ -23,2 +23,2 @@ xcm = { package = "staging-xcm", path = "../../../../polkadot/xcm", default-feat -cumulus-primitives-core = { path = "../../../primitives/core", default-features = false } -cumulus-pallet-xcm = { path = "../../../pallets/xcm", default-features = false } +cumulus-primitives-core = { workspace = true } +cumulus-pallet-xcm = { workspace = true } diff --git cumulus/parachains/runtimes/assets/asset-hub-rococo/Cargo.toml cumulus/parachains/runtimes/assets/asset-hub-rococo/Cargo.toml index 05936e9399..90f5748760 100644 --- cumulus/parachains/runtimes/assets/asset-hub-rococo/Cargo.toml +++ cumulus/parachains/runtimes/assets/asset-hub-rococo/Cargo.toml @@ -14 +14 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -hex-literal = { version = "0.4.1" } +hex-literal = { workspace = true, default-features = true } @@ -16 +16 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -19,2 +19,2 @@ scale-info = { version = "2.10.0", default-features = false, features = ["derive -frame-benchmarking = { path = "../../../../../substrate/frame/benchmarking", default-features = false, optional = true } -frame-executive = { path = "../../../../../substrate/frame/executive", default-features = false } +frame-benchmarking = { optional = true , workspace = true } +frame-executive = { workspace = true } @@ -23,23 +23,23 @@ frame-system = { path = "../../../../../substrate/frame/system", default-feature -frame-system-benchmarking = { path = "../../../../../substrate/frame/system/benchmarking", default-features = false, optional = true } -frame-system-rpc-runtime-api = { path = "../../../../../substrate/frame/system/rpc/runtime-api", default-features = false } -frame-try-runtime = { path = "../../../../../substrate/frame/try-runtime", default-features = false, optional = true } -pallet-asset-conversion-tx-payment = { path = "../../../../../substrate/frame/transaction-payment/asset-conversion-tx-payment", default-features = false } -pallet-assets = { path = "../../../../../substrate/frame/assets", default-features = false } -pallet-asset-conversion = { path = "../../../../../substrate/frame/asset-conversion", default-features = false } -pallet-aura = { path = "../../../../../substrate/frame/aura", default-features = false } -pallet-authorship = { path = "../../../../../substrate/frame/authorship", default-features = false } -pallet-balances = { path = "../../../../../substrate/frame/balances", default-features = false } -pallet-message-queue = { path = "../../../../../substrate/frame/message-queue", default-features = false } -pallet-multisig = { path = "../../../../../substrate/frame/multisig", default-features = false } -pallet-nft-fractionalization = { path = "../../../../../substrate/frame/nft-fractionalization", default-features = false } -pallet-nfts = { path = "../../../../../substrate/frame/nfts", default-features = false } -pallet-nfts-runtime-api = { path = "../../../../../substrate/frame/nfts/runtime-api", default-features = false } -pallet-proxy = { path = "../../../../../substrate/frame/proxy", default-features = false } -pallet-session = { path = "../../../../../substrate/frame/session", default-features = false } -pallet-state-trie-migration = { path = "../../../../../substrate/frame/state-trie-migration", default-features = false, optional = true } -pallet-timestamp = { path = "../../../../../substrate/frame/timestamp", default-features = false } -pallet-transaction-payment = { path = "../../../../../substrate/frame/transaction-payment", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { path = "../../../../../substrate/frame/transaction-payment/rpc/runtime-api", default-features = false } -pallet-uniques = { path = "../../../../../substrate/frame/uniques", default-features = false } -pallet-utility = { path = "../../../../../substrate/frame/utility", default-features = false } -sp-api = { path = "../../../../../substrate/primitives/api", default-features = false } +frame-system-benchmarking = { optional = true , workspace = true } +frame-system-rpc-runtime-api = { workspace = true } +frame-try-runtime = { optional = true , workspace = true } +pallet-asset-conversion-tx-payment = { workspace = true } +pallet-assets = { workspace = true } +pallet-asset-conversion = { workspace = true } +pallet-aura = { workspace = true } +pallet-authorship = { workspace = true } +pallet-balances = { workspace = true } +pallet-message-queue = { workspace = true } +pallet-multisig = { workspace = true } +pallet-nft-fractionalization = { workspace = true } +pallet-nfts = { workspace = true } +pallet-nfts-runtime-api = { workspace = true } +pallet-proxy = { workspace = true } +pallet-session = { workspace = true } +pallet-state-trie-migration = { optional = true , workspace = true } +pallet-timestamp = { workspace = true } +pallet-transaction-payment = { workspace = true } +pallet-transaction-payment-rpc-runtime-api = { workspace = true } +pallet-uniques = { workspace = true } +pallet-utility = { workspace = true } +sp-api = { workspace = true } @@ -47 +47 @@ sp-block-builder = { path = "../../../../../substrate/primitives/block-builder", -sp-consensus-aura = { path = "../../../../../substrate/primitives/consensus/aura", default-features = false } +sp-consensus-aura = { workspace = true } @@ -50 +50 @@ sp-inherents = { path = "../../../../../substrate/primitives/inherents", default -sp-genesis-builder = { path = "../../../../../substrate/primitives/genesis-builder", default-features = false } +sp-genesis-builder = { workspace = true } @@ -53,3 +53,3 @@ sp-runtime = { path = "../../../../../substrate/primitives/runtime", default-fea -sp-session = { path = "../../../../../substrate/primitives/session", default-features = false } -sp-std = { path = "../../../../../substrate/primitives/std", default-features = false } -sp-storage = { path = "../../../../../substrate/primitives/storage", default-features = false } +sp-session = { workspace = true } +sp-std = { workspace = true } +sp-storage = { workspace = true } @@ -57,2 +57,2 @@ sp-transaction-pool = { path = "../../../../../substrate/primitives/transaction- -sp-version = { path = "../../../../../substrate/primitives/version", default-features = false } -sp-weights = { path = "../../../../../substrate/primitives/weights", default-features = false } +sp-version = { workspace = true } +sp-weights = { workspace = true } @@ -60 +60 @@ sp-weights = { path = "../../../../../substrate/primitives/weights", default-fea -primitive-types = { version = "0.12.1", default-features = false, features = ["codec", "num-traits", "scale-info"] } +primitive-types = { features = ["codec", "num-traits", "scale-info"] , workspace = true } @@ -63,3 +63,3 @@ primitive-types = { version = "0.12.1", default-features = false, features = ["c -rococo-runtime-constants = { path = "../../../../../polkadot/runtime/rococo/constants", default-features = false } -pallet-xcm = { path = "../../../../../polkadot/xcm/pallet-xcm", default-features = false } -pallet-xcm-benchmarks = { path = "../../../../../polkadot/xcm/pallet-xcm-benchmarks", default-features = false, optional = true } +rococo-runtime-constants = { workspace = true } +pallet-xcm = { workspace = true } +pallet-xcm-benchmarks = { optional = true , workspace = true } @@ -68,3 +68,3 @@ polkadot-runtime-common = { path = "../../../../../polkadot/runtime/common", def -xcm = { package = "staging-xcm", path = "../../../../../polkadot/xcm", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../../../../../polkadot/xcm/xcm-builder", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkadot/xcm/xcm-executor", default-features = false } +xcm = { workspace = true } +xcm-builder = { workspace = true } +xcm-executor = { workspace = true } @@ -73,13 +73,13 @@ xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkad -cumulus-pallet-aura-ext = { path = "../../../../pallets/aura-ext", default-features = false } -cumulus-pallet-parachain-system = { path = "../../../../pallets/parachain-system", default-features = false, features = ["parameterized-consensus-hook"] } -cumulus-pallet-session-benchmarking = { path = "../../../../pallets/session-benchmarking", default-features = false } -cumulus-pallet-xcm = { path = "../../../../pallets/xcm", default-features = false } -cumulus-pallet-xcmp-queue = { path = "../../../../pallets/xcmp-queue", default-features = false, features = ["bridging"] } -cumulus-primitives-aura = { path = "../../../../primitives/aura", default-features = false } -cumulus-primitives-core = { path = "../../../../primitives/core", default-features = false } -cumulus-primitives-utility = { path = "../../../../primitives/utility", default-features = false } -pallet-collator-selection = { path = "../../../../pallets/collator-selection", default-features = false } -parachain-info = { package = "staging-parachain-info", path = "../../../pallets/parachain-info", default-features = false } -parachains-common = { path = "../../../common", default-features = false } -testnet-parachains-constants = { path = "../../constants", default-features = false, features = ["rococo"] } -assets-common = { path = "../common", default-features = false } +cumulus-pallet-aura-ext = { workspace = true } +cumulus-pallet-parachain-system = { features = ["parameterized-consensus-hook"] , workspace = true } +cumulus-pallet-session-benchmarking = { workspace = true } +cumulus-pallet-xcm = { workspace = true } +cumulus-pallet-xcmp-queue = { features = ["bridging"] , workspace = true } +cumulus-primitives-aura = { workspace = true } +cumulus-primitives-core = { workspace = true } +cumulus-primitives-utility = { workspace = true } +pallet-collator-selection = { workspace = true } +parachain-info = { workspace = true } +parachains-common = { workspace = true } +testnet-parachains-constants = { features = ["rococo"] , workspace = true } +assets-common = { workspace = true } @@ -88,6 +88,6 @@ assets-common = { path = "../common", default-features = false } -pallet-xcm-bridge-hub-router = { path = "../../../../../bridges/modules/xcm-bridge-hub-router", default-features = false } -bp-asset-hub-rococo = { path = "../../../../../bridges/primitives/chain-asset-hub-rococo", default-features = false } -bp-asset-hub-westend = { path = "../../../../../bridges/primitives/chain-asset-hub-westend", default-features = false } -bp-bridge-hub-rococo = { path = "../../../../../bridges/primitives/chain-bridge-hub-rococo", default-features = false } -bp-bridge-hub-westend = { path = "../../../../../bridges/primitives/chain-bridge-hub-westend", default-features = false } -snowbridge-router-primitives = { path = "../../../../../bridges/snowbridge/primitives/router", default-features = false } +pallet-xcm-bridge-hub-router = { workspace = true } +bp-asset-hub-rococo = { workspace = true } +bp-asset-hub-westend = { workspace = true } +bp-bridge-hub-rococo = { workspace = true } +bp-bridge-hub-westend = { workspace = true } +snowbridge-router-primitives = { workspace = true } @@ -96 +96 @@ snowbridge-router-primitives = { path = "../../../../../bridges/snowbridge/primi -asset-test-utils = { path = "../test-utils" } +asset-test-utils = { workspace = true } @@ -99 +99 @@ asset-test-utils = { path = "../test-utils" } -substrate-wasm-builder = { path = "../../../../../substrate/utils/wasm-builder", optional = true } +substrate-wasm-builder = { optional = true , workspace = true } diff --git cumulus/parachains/runtimes/assets/asset-hub-westend/Cargo.toml cumulus/parachains/runtimes/assets/asset-hub-westend/Cargo.toml index 78c48507a7..25e2f8bb81 100644 --- cumulus/parachains/runtimes/assets/asset-hub-westend/Cargo.toml +++ cumulus/parachains/runtimes/assets/asset-hub-westend/Cargo.toml @@ -14 +14 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -hex-literal = { version = "0.4.1", optional = true } +hex-literal = { optional = true , workspace = true, default-features = true } @@ -16 +16 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -19,2 +19,2 @@ scale-info = { version = "2.10.0", default-features = false, features = ["derive -frame-benchmarking = { path = "../../../../../substrate/frame/benchmarking", default-features = false, optional = true } -frame-executive = { path = "../../../../../substrate/frame/executive", default-features = false } +frame-benchmarking = { optional = true , workspace = true } +frame-executive = { workspace = true } @@ -23,21 +23,21 @@ frame-system = { path = "../../../../../substrate/frame/system", default-feature -frame-system-benchmarking = { path = "../../../../../substrate/frame/system/benchmarking", default-features = false, optional = true } -frame-system-rpc-runtime-api = { path = "../../../../../substrate/frame/system/rpc/runtime-api", default-features = false } -frame-try-runtime = { path = "../../../../../substrate/frame/try-runtime", default-features = false, optional = true } -pallet-asset-conversion-tx-payment = { path = "../../../../../substrate/frame/transaction-payment/asset-conversion-tx-payment", default-features = false } -pallet-assets = { path = "../../../../../substrate/frame/assets", default-features = false } -pallet-asset-conversion = { path = "../../../../../substrate/frame/asset-conversion", default-features = false } -pallet-aura = { path = "../../../../../substrate/frame/aura", default-features = false } -pallet-authorship = { path = "../../../../../substrate/frame/authorship", default-features = false } -pallet-balances = { path = "../../../../../substrate/frame/balances", default-features = false } -pallet-multisig = { path = "../../../../../substrate/frame/multisig", default-features = false } -pallet-nft-fractionalization = { path = "../../../../../substrate/frame/nft-fractionalization", default-features = false } -pallet-nfts = { path = "../../../../../substrate/frame/nfts", default-features = false } -pallet-nfts-runtime-api = { path = "../../../../../substrate/frame/nfts/runtime-api", default-features = false } -pallet-proxy = { path = "../../../../../substrate/frame/proxy", default-features = false } -pallet-session = { path = "../../../../../substrate/frame/session", default-features = false } -pallet-timestamp = { path = "../../../../../substrate/frame/timestamp", default-features = false } -pallet-transaction-payment = { path = "../../../../../substrate/frame/transaction-payment", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { path = "../../../../../substrate/frame/transaction-payment/rpc/runtime-api", default-features = false } -pallet-uniques = { path = "../../../../../substrate/frame/uniques", default-features = false } -pallet-utility = { path = "../../../../../substrate/frame/utility", default-features = false } -sp-api = { path = "../../../../../substrate/primitives/api", default-features = false } +frame-system-benchmarking = { optional = true , workspace = true } +frame-system-rpc-runtime-api = { workspace = true } +frame-try-runtime = { optional = true , workspace = true } +pallet-asset-conversion-tx-payment = { workspace = true } +pallet-assets = { workspace = true } +pallet-asset-conversion = { workspace = true } +pallet-aura = { workspace = true } +pallet-authorship = { workspace = true } +pallet-balances = { workspace = true } +pallet-multisig = { workspace = true } +pallet-nft-fractionalization = { workspace = true } +pallet-nfts = { workspace = true } +pallet-nfts-runtime-api = { workspace = true } +pallet-proxy = { workspace = true } +pallet-session = { workspace = true } +pallet-timestamp = { workspace = true } +pallet-transaction-payment = { workspace = true } +pallet-transaction-payment-rpc-runtime-api = { workspace = true } +pallet-uniques = { workspace = true } +pallet-utility = { workspace = true } +sp-api = { workspace = true } @@ -45 +45 @@ sp-block-builder = { path = "../../../../../substrate/primitives/block-builder", -sp-consensus-aura = { path = "../../../../../substrate/primitives/consensus/aura", default-features = false } +sp-consensus-aura = { workspace = true } @@ -47 +47 @@ sp-core = { path = "../../../../../substrate/primitives/core", default-features -sp-genesis-builder = { path = "../../../../../substrate/primitives/genesis-builder", default-features = false } +sp-genesis-builder = { workspace = true } @@ -51,3 +51,3 @@ sp-runtime = { path = "../../../../../substrate/primitives/runtime", default-fea -sp-session = { path = "../../../../../substrate/primitives/session", default-features = false } -sp-std = { path = "../../../../../substrate/primitives/std", default-features = false } -sp-storage = { path = "../../../../../substrate/primitives/storage", default-features = false } +sp-session = { workspace = true } +sp-std = { workspace = true } +sp-storage = { workspace = true } @@ -55 +55 @@ sp-transaction-pool = { path = "../../../../../substrate/primitives/transaction- -sp-version = { path = "../../../../../substrate/primitives/version", default-features = false } +sp-version = { workspace = true } @@ -57 +57 @@ sp-version = { path = "../../../../../substrate/primitives/version", default-fea -primitive-types = { version = "0.12.1", default-features = false, features = ["codec", "num-traits", "scale-info"] } +primitive-types = { features = ["codec", "num-traits", "scale-info"] , workspace = true } @@ -60,2 +60,2 @@ primitive-types = { version = "0.12.1", default-features = false, features = ["c -pallet-xcm = { path = "../../../../../polkadot/xcm/pallet-xcm", default-features = false } -pallet-xcm-benchmarks = { path = "../../../../../polkadot/xcm/pallet-xcm-benchmarks", default-features = false, optional = true } +pallet-xcm = { workspace = true } +pallet-xcm-benchmarks = { optional = true , workspace = true } @@ -64,4 +64,4 @@ polkadot-runtime-common = { path = "../../../../../polkadot/runtime/common", def -westend-runtime-constants = { path = "../../../../../polkadot/runtime/westend/constants", default-features = false } -xcm = { package = "staging-xcm", path = "../../../../../polkadot/xcm", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../../../../../polkadot/xcm/xcm-builder", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkadot/xcm/xcm-executor", default-features = false } +westend-runtime-constants = { workspace = true } +xcm = { workspace = true } +xcm-builder = { workspace = true } +xcm-executor = { workspace = true } @@ -70,14 +70,14 @@ xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkad -cumulus-pallet-aura-ext = { path = "../../../../pallets/aura-ext", default-features = false } -pallet-message-queue = { path = "../../../../../substrate/frame/message-queue", default-features = false } -cumulus-pallet-parachain-system = { path = "../../../../pallets/parachain-system", default-features = false, features = ["parameterized-consensus-hook"] } -cumulus-pallet-session-benchmarking = { path = "../../../../pallets/session-benchmarking", default-features = false } -cumulus-pallet-xcm = { path = "../../../../pallets/xcm", default-features = false } -cumulus-pallet-xcmp-queue = { path = "../../../../pallets/xcmp-queue", default-features = false, features = ["bridging"] } -cumulus-primitives-aura = { path = "../../../../primitives/aura", default-features = false } -cumulus-primitives-core = { path = "../../../../primitives/core", default-features = false } -cumulus-primitives-utility = { path = "../../../../primitives/utility", default-features = false } -pallet-collator-selection = { path = "../../../../pallets/collator-selection", default-features = false } -parachain-info = { package = "staging-parachain-info", path = "../../../pallets/parachain-info", default-features = false } -parachains-common = { path = "../../../common", default-features = false } -testnet-parachains-constants = { path = "../../constants", default-features = false, features = ["westend"] } -assets-common = { path = "../common", default-features = false } +cumulus-pallet-aura-ext = { workspace = true } +pallet-message-queue = { workspace = true } +cumulus-pallet-parachain-system = { features = ["parameterized-consensus-hook"] , workspace = true } +cumulus-pallet-session-benchmarking = { workspace = true } +cumulus-pallet-xcm = { workspace = true } +cumulus-pallet-xcmp-queue = { features = ["bridging"] , workspace = true } +cumulus-primitives-aura = { workspace = true } +cumulus-primitives-core = { workspace = true } +cumulus-primitives-utility = { workspace = true } +pallet-collator-selection = { workspace = true } +parachain-info = { workspace = true } +parachains-common = { workspace = true } +testnet-parachains-constants = { features = ["westend"] , workspace = true } +assets-common = { workspace = true } @@ -86,5 +86,5 @@ assets-common = { path = "../common", default-features = false } -pallet-xcm-bridge-hub-router = { path = "../../../../../bridges/modules/xcm-bridge-hub-router", default-features = false } -bp-asset-hub-rococo = { path = "../../../../../bridges/primitives/chain-asset-hub-rococo", default-features = false } -bp-asset-hub-westend = { path = "../../../../../bridges/primitives/chain-asset-hub-westend", default-features = false } -bp-bridge-hub-rococo = { path = "../../../../../bridges/primitives/chain-bridge-hub-rococo", default-features = false } -bp-bridge-hub-westend = { path = "../../../../../bridges/primitives/chain-bridge-hub-westend", default-features = false } +pallet-xcm-bridge-hub-router = { workspace = true } +bp-asset-hub-rococo = { workspace = true } +bp-asset-hub-westend = { workspace = true } +bp-bridge-hub-rococo = { workspace = true } +bp-bridge-hub-westend = { workspace = true } @@ -93,2 +93,2 @@ bp-bridge-hub-westend = { path = "../../../../../bridges/primitives/chain-bridge -hex-literal = "0.4.1" -asset-test-utils = { path = "../test-utils" } +hex-literal = { workspace = true, default-features = true } +asset-test-utils = { workspace = true } @@ -97 +97 @@ asset-test-utils = { path = "../test-utils" } -substrate-wasm-builder = { path = "../../../../../substrate/utils/wasm-builder", optional = true } +substrate-wasm-builder = { optional = true , workspace = true } diff --git cumulus/parachains/runtimes/assets/common/Cargo.toml cumulus/parachains/runtimes/assets/common/Cargo.toml index c9252375cf..417d1b9611 100644 --- cumulus/parachains/runtimes/assets/common/Cargo.toml +++ cumulus/parachains/runtimes/assets/common/Cargo.toml @@ -14 +14 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -16 +16 @@ log = { workspace = true } -impl-trait-for-tuples = "0.2.2" +impl-trait-for-tuples = { workspace = true } @@ -20,2 +20,2 @@ frame-support = { path = "../../../../../substrate/frame/support", default-featu -sp-api = { path = "../../../../../substrate/primitives/api", default-features = false } -sp-std = { path = "../../../../../substrate/primitives/std", default-features = false } +sp-api = { workspace = true } +sp-std = { workspace = true } @@ -23 +23 @@ sp-runtime = { path = "../../../../../substrate/primitives/runtime", default-fea -pallet-asset-conversion = { path = "../../../../../substrate/frame/asset-conversion", default-features = false } +pallet-asset-conversion = { workspace = true } @@ -26,4 +26,4 @@ pallet-asset-conversion = { path = "../../../../../substrate/frame/asset-convers -pallet-xcm = { path = "../../../../../polkadot/xcm/pallet-xcm", default-features = false } -xcm = { package = "staging-xcm", path = "../../../../../polkadot/xcm", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../../../../../polkadot/xcm/xcm-builder", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkadot/xcm/xcm-executor", default-features = false } +pallet-xcm = { workspace = true } +xcm = { workspace = true } +xcm-builder = { workspace = true } +xcm-executor = { workspace = true } @@ -32,2 +32,2 @@ xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkad -parachains-common = { path = "../../../common", default-features = false } -cumulus-primitives-core = { path = "../../../../primitives/core", default-features = false } +parachains-common = { workspace = true } +cumulus-primitives-core = { workspace = true } @@ -36 +36 @@ cumulus-primitives-core = { path = "../../../../primitives/core", default-featur -substrate-wasm-builder = { path = "../../../../../substrate/utils/wasm-builder" } +substrate-wasm-builder = { workspace = true } diff --git cumulus/parachains/runtimes/assets/test-utils/Cargo.toml cumulus/parachains/runtimes/assets/test-utils/Cargo.toml index 883c93c97b..6ec29b42b5 100644 --- cumulus/parachains/runtimes/assets/test-utils/Cargo.toml +++ cumulus/parachains/runtimes/assets/test-utils/Cargo.toml @@ -18,5 +18,5 @@ frame-system = { path = "../../../../../substrate/frame/system", default-feature -pallet-assets = { path = "../../../../../substrate/frame/assets", default-features = false } -pallet-balances = { path = "../../../../../substrate/frame/balances", default-features = false } -pallet-timestamp = { path = "../../../../../substrate/frame/timestamp", default-features = false } -pallet-session = { path = "../../../../../substrate/frame/session", default-features = false } -sp-io = { path = "../../../../../substrate/primitives/io", default-features = false } +pallet-assets = { workspace = true } +pallet-balances = { workspace = true } +pallet-timestamp = { workspace = true } +pallet-session = { workspace = true } +sp-io = { workspace = true } @@ -24 +24 @@ sp-runtime = { path = "../../../../../substrate/primitives/runtime", default-fea -sp-std = { path = "../../../../../substrate/primitives/std", default-features = false } +sp-std = { workspace = true } @@ -27,7 +27,7 @@ sp-std = { path = "../../../../../substrate/primitives/std", default-features = -cumulus-pallet-parachain-system = { path = "../../../../pallets/parachain-system", default-features = false, features = ["parameterized-consensus-hook"] } -cumulus-pallet-xcmp-queue = { path = "../../../../pallets/xcmp-queue", default-features = false } -pallet-collator-selection = { path = "../../../../pallets/collator-selection", default-features = false } -parachains-common = { path = "../../../common", default-features = false } -cumulus-primitives-core = { path = "../../../../primitives/core", default-features = false } -parachain-info = { package = "staging-parachain-info", path = "../../../pallets/parachain-info", default-features = false } -parachains-runtimes-test-utils = { path = "../../test-utils", default-features = false } +cumulus-pallet-parachain-system = { features = ["parameterized-consensus-hook"] , workspace = true } +cumulus-pallet-xcmp-queue = { workspace = true } +pallet-collator-selection = { workspace = true } +parachains-common = { workspace = true } +cumulus-primitives-core = { workspace = true } +parachain-info = { workspace = true } +parachains-runtimes-test-utils = { workspace = true } @@ -36,4 +36,4 @@ parachains-runtimes-test-utils = { path = "../../test-utils", default-features = -xcm = { package = "staging-xcm", path = "../../../../../polkadot/xcm", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../../../../../polkadot/xcm/xcm-builder", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkadot/xcm/xcm-executor", default-features = false } -pallet-xcm = { path = "../../../../../polkadot/xcm/pallet-xcm", default-features = false } +xcm = { workspace = true } +xcm-builder = { workspace = true } +xcm-executor = { workspace = true } +pallet-xcm = { workspace = true } @@ -42 +42 @@ pallet-xcm = { path = "../../../../../polkadot/xcm/pallet-xcm", default-features -pallet-xcm-bridge-hub-router = { path = "../../../../../bridges/modules/xcm-bridge-hub-router", default-features = false } +pallet-xcm-bridge-hub-router = { workspace = true } @@ -45 +45 @@ pallet-xcm-bridge-hub-router = { path = "../../../../../bridges/modules/xcm-brid -hex-literal = "0.4.1" +hex-literal = { workspace = true, default-features = true } @@ -48 +48 @@ hex-literal = "0.4.1" -substrate-wasm-builder = { path = "../../../../../substrate/utils/wasm-builder" } +substrate-wasm-builder = { workspace = true } diff --git cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/Cargo.toml cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/Cargo.toml index 7a1951fd24..695d0d147c 100644 --- cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/Cargo.toml +++ cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/Cargo.toml @@ -13 +13 @@ workspace = true -substrate-wasm-builder = { path = "../../../../../substrate/utils/wasm-builder", optional = true } +substrate-wasm-builder = { optional = true , workspace = true } @@ -19 +19 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -hex-literal = { version = "0.4.1" } +hex-literal = { workspace = true, default-features = true } @@ -21 +21 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = [ +scale-info = { features = [ @@ -23 +23 @@ scale-info = { version = "2.10.0", default-features = false, features = [ -] } +] , workspace = true } @@ -27,2 +27,2 @@ serde = { optional = true, features = ["derive"], workspace = true, default-feat -frame-benchmarking = { path = "../../../../../substrate/frame/benchmarking", default-features = false, optional = true } -frame-executive = { path = "../../../../../substrate/frame/executive", default-features = false } +frame-benchmarking = { optional = true , workspace = true } +frame-executive = { workspace = true } @@ -31,14 +31,14 @@ frame-system = { path = "../../../../../substrate/frame/system", default-feature -frame-system-benchmarking = { path = "../../../../../substrate/frame/system/benchmarking", default-features = false, optional = true } -frame-system-rpc-runtime-api = { path = "../../../../../substrate/frame/system/rpc/runtime-api", default-features = false } -frame-try-runtime = { path = "../../../../../substrate/frame/try-runtime", default-features = false, optional = true } -pallet-aura = { path = "../../../../../substrate/frame/aura", default-features = false } -pallet-authorship = { path = "../../../../../substrate/frame/authorship", default-features = false } -pallet-balances = { path = "../../../../../substrate/frame/balances", default-features = false } -pallet-session = { path = "../../../../../substrate/frame/session", default-features = false } -pallet-message-queue = { path = "../../../../../substrate/frame/message-queue", default-features = false } -pallet-multisig = { path = "../../../../../substrate/frame/multisig", default-features = false } -pallet-timestamp = { path = "../../../../../substrate/frame/timestamp", default-features = false } -pallet-transaction-payment = { path = "../../../../../substrate/frame/transaction-payment", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { path = "../../../../../substrate/frame/transaction-payment/rpc/runtime-api", default-features = false } -pallet-utility = { path = "../../../../../substrate/frame/utility", default-features = false } -sp-api = { path = "../../../../../substrate/primitives/api", default-features = false } +frame-system-benchmarking = { optional = true , workspace = true } +frame-system-rpc-runtime-api = { workspace = true } +frame-try-runtime = { optional = true , workspace = true } +pallet-aura = { workspace = true } +pallet-authorship = { workspace = true } +pallet-balances = { workspace = true } +pallet-session = { workspace = true } +pallet-message-queue = { workspace = true } +pallet-multisig = { workspace = true } +pallet-timestamp = { workspace = true } +pallet-transaction-payment = { workspace = true } +pallet-transaction-payment-rpc-runtime-api = { workspace = true } +pallet-utility = { workspace = true } +sp-api = { workspace = true } @@ -46 +46 @@ sp-block-builder = { path = "../../../../../substrate/primitives/block-builder", -sp-consensus-aura = { path = "../../../../../substrate/primitives/consensus/aura", default-features = false } +sp-consensus-aura = { workspace = true } @@ -48 +48 @@ sp-core = { path = "../../../../../substrate/primitives/core", default-features -sp-genesis-builder = { path = "../../../../../substrate/primitives/genesis-builder", default-features = false } +sp-genesis-builder = { workspace = true } @@ -50 +50 @@ sp-inherents = { path = "../../../../../substrate/primitives/inherents", default -sp-io = { path = "../../../../../substrate/primitives/io", default-features = false } +sp-io = { workspace = true } @@ -53,3 +53,3 @@ sp-runtime = { path = "../../../../../substrate/primitives/runtime", default-fea -sp-session = { path = "../../../../../substrate/primitives/session", default-features = false } -sp-std = { path = "../../../../../substrate/primitives/std", default-features = false } -sp-storage = { path = "../../../../../substrate/primitives/storage", default-features = false } +sp-session = { workspace = true } +sp-std = { workspace = true } +sp-storage = { workspace = true } @@ -57 +57 @@ sp-transaction-pool = { path = "../../../../../substrate/primitives/transaction- -sp-version = { path = "../../../../../substrate/primitives/version", default-features = false } +sp-version = { workspace = true } @@ -60,3 +60,3 @@ sp-version = { path = "../../../../../substrate/primitives/version", default-fea -rococo-runtime-constants = { path = "../../../../../polkadot/runtime/rococo/constants", default-features = false } -pallet-xcm = { path = "../../../../../polkadot/xcm/pallet-xcm", default-features = false } -pallet-xcm-benchmarks = { path = "../../../../../polkadot/xcm/pallet-xcm-benchmarks", default-features = false, optional = true } +rococo-runtime-constants = { workspace = true } +pallet-xcm = { workspace = true } +pallet-xcm-benchmarks = { optional = true , workspace = true } @@ -65,3 +65,3 @@ polkadot-runtime-common = { path = "../../../../../polkadot/runtime/common", def -xcm = { package = "staging-xcm", path = "../../../../../polkadot/xcm", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../../../../../polkadot/xcm/xcm-builder", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkadot/xcm/xcm-executor", default-features = false } +xcm = { workspace = true } +xcm-builder = { workspace = true } +xcm-executor = { workspace = true } @@ -70,2 +70,2 @@ xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkad -cumulus-pallet-aura-ext = { path = "../../../../pallets/aura-ext", default-features = false } -cumulus-pallet-parachain-system = { path = "../../../../pallets/parachain-system", default-features = false, features = [ +cumulus-pallet-aura-ext = { workspace = true } +cumulus-pallet-parachain-system = { features = [ @@ -73,4 +73,4 @@ cumulus-pallet-parachain-system = { path = "../../../../pallets/parachain-system -] } -cumulus-pallet-session-benchmarking = { path = "../../../../pallets/session-benchmarking", default-features = false } -cumulus-pallet-xcm = { path = "../../../../pallets/xcm", default-features = false } -cumulus-pallet-xcmp-queue = { path = "../../../../pallets/xcmp-queue", default-features = false, features = [ +] , workspace = true } +cumulus-pallet-session-benchmarking = { workspace = true } +cumulus-pallet-xcm = { workspace = true } +cumulus-pallet-xcmp-queue = { features = [ @@ -78,8 +78,8 @@ cumulus-pallet-xcmp-queue = { path = "../../../../pallets/xcmp-queue", default-f -] } -cumulus-primitives-aura = { path = "../../../../primitives/aura", default-features = false } -cumulus-primitives-core = { path = "../../../../primitives/core", default-features = false } -cumulus-primitives-utility = { path = "../../../../primitives/utility", default-features = false } -pallet-collator-selection = { path = "../../../../pallets/collator-selection", default-features = false } -parachain-info = { package = "staging-parachain-info", path = "../../../pallets/parachain-info", default-features = false } -parachains-common = { path = "../../../common", default-features = false } -testnet-parachains-constants = { path = "../../constants", default-features = false, features = ["rococo"] } +] , workspace = true } +cumulus-primitives-aura = { workspace = true } +cumulus-primitives-core = { workspace = true } +cumulus-primitives-utility = { workspace = true } +pallet-collator-selection = { workspace = true } +parachain-info = { workspace = true } +parachains-common = { workspace = true } +testnet-parachains-constants = { features = ["rococo"] , workspace = true } @@ -88,20 +88,20 @@ testnet-parachains-constants = { path = "../../constants", default-features = fa -bp-asset-hub-rococo = { path = "../../../../../bridges/primitives/chain-asset-hub-rococo", default-features = false } -bp-asset-hub-westend = { path = "../../../../../bridges/primitives/chain-asset-hub-westend", default-features = false } -bp-bridge-hub-polkadot = { path = "../../../../../bridges/primitives/chain-bridge-hub-polkadot", default-features = false } -bp-bridge-hub-rococo = { path = "../../../../../bridges/primitives/chain-bridge-hub-rococo", default-features = false } -bp-bridge-hub-westend = { path = "../../../../../bridges/primitives/chain-bridge-hub-westend", default-features = false } -bp-header-chain = { path = "../../../../../bridges/primitives/header-chain", default-features = false } -bp-messages = { path = "../../../../../bridges/primitives/messages", default-features = false } -bp-parachains = { path = "../../../../../bridges/primitives/parachains", default-features = false } -bp-polkadot-bulletin = { path = "../../../../../bridges/primitives/chain-polkadot-bulletin", default-features = false } -bp-polkadot-core = { path = "../../../../../bridges/primitives/polkadot-core", default-features = false } -bp-relayers = { path = "../../../../../bridges/primitives/relayers", default-features = false } -bp-runtime = { path = "../../../../../bridges/primitives/runtime", default-features = false } -bp-rococo = { path = "../../../../../bridges/primitives/chain-rococo", default-features = false } -bp-westend = { path = "../../../../../bridges/primitives/chain-westend", default-features = false } -pallet-bridge-grandpa = { path = "../../../../../bridges/modules/grandpa", default-features = false } -pallet-bridge-messages = { path = "../../../../../bridges/modules/messages", default-features = false } -pallet-bridge-parachains = { path = "../../../../../bridges/modules/parachains", default-features = false } -pallet-bridge-relayers = { path = "../../../../../bridges/modules/relayers", default-features = false } -pallet-xcm-bridge-hub = { path = "../../../../../bridges/modules/xcm-bridge-hub", default-features = false } -bridge-runtime-common = { path = "../../../../../bridges/bin/runtime-common", default-features = false } +bp-asset-hub-rococo = { workspace = true } +bp-asset-hub-westend = { workspace = true } +bp-bridge-hub-polkadot = { workspace = true } +bp-bridge-hub-rococo = { workspace = true } +bp-bridge-hub-westend = { workspace = true } +bp-header-chain = { workspace = true } +bp-messages = { workspace = true } +bp-parachains = { workspace = true } +bp-polkadot-bulletin = { workspace = true } +bp-polkadot-core = { workspace = true } +bp-relayers = { workspace = true } +bp-runtime = { workspace = true } +bp-rococo = { workspace = true } +bp-westend = { workspace = true } +pallet-bridge-grandpa = { workspace = true } +pallet-bridge-messages = { workspace = true } +pallet-bridge-parachains = { workspace = true } +pallet-bridge-relayers = { workspace = true } +pallet-xcm-bridge-hub = { workspace = true } +bridge-runtime-common = { workspace = true } @@ -111,9 +111,9 @@ snowbridge-beacon-primitives = { path = "../../../../../bridges/snowbridge/primi -snowbridge-pallet-system = { path = "../../../../../bridges/snowbridge/pallets/system", default-features = false } -snowbridge-system-runtime-api = { path = "../../../../../bridges/snowbridge/pallets/system/runtime-api", default-features = false } -snowbridge-core = { path = "../../../../../bridges/snowbridge/primitives/core", default-features = false } -snowbridge-pallet-ethereum-client = { path = "../../../../../bridges/snowbridge/pallets/ethereum-client", default-features = false } -snowbridge-pallet-inbound-queue = { path = "../../../../../bridges/snowbridge/pallets/inbound-queue", default-features = false } -snowbridge-pallet-outbound-queue = { path = "../../../../../bridges/snowbridge/pallets/outbound-queue", default-features = false } -snowbridge-outbound-queue-runtime-api = { path = "../../../../../bridges/snowbridge/pallets/outbound-queue/runtime-api", default-features = false } -snowbridge-router-primitives = { path = "../../../../../bridges/snowbridge/primitives/router", default-features = false } -snowbridge-runtime-common = { path = "../../../../../bridges/snowbridge/runtime/runtime-common", default-features = false } +snowbridge-pallet-system = { workspace = true } +snowbridge-system-runtime-api = { workspace = true } +snowbridge-core = { workspace = true } +snowbridge-pallet-ethereum-client = { workspace = true } +snowbridge-pallet-inbound-queue = { workspace = true } +snowbridge-pallet-outbound-queue = { workspace = true } +snowbridge-outbound-queue-runtime-api = { workspace = true } +snowbridge-router-primitives = { workspace = true } +snowbridge-runtime-common = { workspace = true } @@ -121 +121 @@ snowbridge-runtime-common = { path = "../../../../../bridges/snowbridge/runtime/ -bridge-hub-common = { path = "../common", default-features = false } +bridge-hub-common = { workspace = true } @@ -124,3 +124,3 @@ bridge-hub-common = { path = "../common", default-features = false } -static_assertions = "1.1" -bridge-hub-test-utils = { path = "../test-utils" } -bridge-runtime-common = { path = "../../../../../bridges/bin/runtime-common", features = [ +static_assertions = { workspace = true, default-features = true } +bridge-hub-test-utils = { workspace = true } +bridge-runtime-common = { features = [ @@ -128 +128 @@ bridge-runtime-common = { path = "../../../../../bridges/bin/runtime-common", fe -] } +] , workspace = true, default-features = true } @@ -130 +130 @@ sp-keyring = { path = "../../../../../substrate/primitives/keyring" } -snowbridge-runtime-test-common = { path = "../../../../../bridges/snowbridge/runtime/test-common" } +snowbridge-runtime-test-common = { workspace = true } diff --git cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend/Cargo.toml cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend/Cargo.toml index 8623f7cb36..7f06912ce8 100644 --- cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend/Cargo.toml +++ cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend/Cargo.toml @@ -13 +13 @@ workspace = true -substrate-wasm-builder = { path = "../../../../../substrate/utils/wasm-builder", optional = true } +substrate-wasm-builder = { optional = true , workspace = true } @@ -17 +17 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -hex-literal = { version = "0.4.1" } +hex-literal = { workspace = true, default-features = true } @@ -19 +19 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -23,2 +23,2 @@ serde = { optional = true, features = ["derive"], workspace = true, default-feat -frame-benchmarking = { path = "../../../../../substrate/frame/benchmarking", default-features = false, optional = true } -frame-executive = { path = "../../../../../substrate/frame/executive", default-features = false } +frame-benchmarking = { optional = true , workspace = true } +frame-executive = { workspace = true } @@ -27,14 +27,14 @@ frame-system = { path = "../../../../../substrate/frame/system", default-feature -frame-system-benchmarking = { path = "../../../../../substrate/frame/system/benchmarking", default-features = false, optional = true } -frame-system-rpc-runtime-api = { path = "../../../../../substrate/frame/system/rpc/runtime-api", default-features = false } -frame-try-runtime = { path = "../../../../../substrate/frame/try-runtime", default-features = false, optional = true } -pallet-aura = { path = "../../../../../substrate/frame/aura", default-features = false } -pallet-authorship = { path = "../../../../../substrate/frame/authorship", default-features = false } -pallet-balances = { path = "../../../../../substrate/frame/balances", default-features = false } -pallet-session = { path = "../../../../../substrate/frame/session", default-features = false } -pallet-message-queue = { path = "../../../../../substrate/frame/message-queue", default-features = false } -pallet-multisig = { path = "../../../../../substrate/frame/multisig", default-features = false } -pallet-timestamp = { path = "../../../../../substrate/frame/timestamp", default-features = false } -pallet-transaction-payment = { path = "../../../../../substrate/frame/transaction-payment", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { path = "../../../../../substrate/frame/transaction-payment/rpc/runtime-api", default-features = false } -pallet-utility = { path = "../../../../../substrate/frame/utility", default-features = false } -sp-api = { path = "../../../../../substrate/primitives/api", default-features = false } +frame-system-benchmarking = { optional = true , workspace = true } +frame-system-rpc-runtime-api = { workspace = true } +frame-try-runtime = { optional = true , workspace = true } +pallet-aura = { workspace = true } +pallet-authorship = { workspace = true } +pallet-balances = { workspace = true } +pallet-session = { workspace = true } +pallet-message-queue = { workspace = true } +pallet-multisig = { workspace = true } +pallet-timestamp = { workspace = true } +pallet-transaction-payment = { workspace = true } +pallet-transaction-payment-rpc-runtime-api = { workspace = true } +pallet-utility = { workspace = true } +sp-api = { workspace = true } @@ -42 +42 @@ sp-block-builder = { path = "../../../../../substrate/primitives/block-builder", -sp-consensus-aura = { path = "../../../../../substrate/primitives/consensus/aura", default-features = false } +sp-consensus-aura = { workspace = true } @@ -44 +44 @@ sp-core = { path = "../../../../../substrate/primitives/core", default-features -sp-genesis-builder = { path = "../../../../../substrate/primitives/genesis-builder", default-features = false } +sp-genesis-builder = { workspace = true } @@ -46 +46 @@ sp-inherents = { path = "../../../../../substrate/primitives/inherents", default -sp-io = { path = "../../../../../substrate/primitives/io", default-features = false } +sp-io = { workspace = true } @@ -49,3 +49,3 @@ sp-runtime = { path = "../../../../../substrate/primitives/runtime", default-fea -sp-session = { path = "../../../../../substrate/primitives/session", default-features = false } -sp-std = { path = "../../../../../substrate/primitives/std", default-features = false } -sp-storage = { path = "../../../../../substrate/primitives/storage", default-features = false } +sp-session = { workspace = true } +sp-std = { workspace = true } +sp-storage = { workspace = true } @@ -53 +53 @@ sp-transaction-pool = { path = "../../../../../substrate/primitives/transaction- -sp-version = { path = "../../../../../substrate/primitives/version", default-features = false } +sp-version = { workspace = true } @@ -56,3 +56,3 @@ sp-version = { path = "../../../../../substrate/primitives/version", default-fea -westend-runtime-constants = { path = "../../../../../polkadot/runtime/westend/constants", default-features = false } -pallet-xcm = { path = "../../../../../polkadot/xcm/pallet-xcm", default-features = false } -pallet-xcm-benchmarks = { path = "../../../../../polkadot/xcm/pallet-xcm-benchmarks", default-features = false, optional = true } +westend-runtime-constants = { workspace = true } +pallet-xcm = { workspace = true } +pallet-xcm-benchmarks = { optional = true , workspace = true } @@ -61,3 +61,3 @@ polkadot-runtime-common = { path = "../../../../../polkadot/runtime/common", def -xcm = { package = "staging-xcm", path = "../../../../../polkadot/xcm", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../../../../../polkadot/xcm/xcm-builder", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkadot/xcm/xcm-executor", default-features = false } +xcm = { workspace = true } +xcm-builder = { workspace = true } +xcm-executor = { workspace = true } @@ -66,12 +66,12 @@ xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkad -cumulus-pallet-aura-ext = { path = "../../../../pallets/aura-ext", default-features = false } -cumulus-pallet-parachain-system = { path = "../../../../pallets/parachain-system", default-features = false, features = ["parameterized-consensus-hook"] } -cumulus-pallet-session-benchmarking = { path = "../../../../pallets/session-benchmarking", default-features = false } -cumulus-pallet-xcm = { path = "../../../../pallets/xcm", default-features = false } -cumulus-pallet-xcmp-queue = { path = "../../../../pallets/xcmp-queue", default-features = false, features = ["bridging"] } -cumulus-primitives-aura = { path = "../../../../primitives/aura", default-features = false } -cumulus-primitives-core = { path = "../../../../primitives/core", default-features = false } -cumulus-primitives-utility = { path = "../../../../primitives/utility", default-features = false } -pallet-collator-selection = { path = "../../../../pallets/collator-selection", default-features = false } -parachain-info = { package = "staging-parachain-info", path = "../../../pallets/parachain-info", default-features = false } -parachains-common = { path = "../../../common", default-features = false } -testnet-parachains-constants = { path = "../../constants", default-features = false, features = ["westend"] } +cumulus-pallet-aura-ext = { workspace = true } +cumulus-pallet-parachain-system = { features = ["parameterized-consensus-hook"] , workspace = true } +cumulus-pallet-session-benchmarking = { workspace = true } +cumulus-pallet-xcm = { workspace = true } +cumulus-pallet-xcmp-queue = { features = ["bridging"] , workspace = true } +cumulus-primitives-aura = { workspace = true } +cumulus-primitives-core = { workspace = true } +cumulus-primitives-utility = { workspace = true } +pallet-collator-selection = { workspace = true } +parachain-info = { workspace = true } +parachains-common = { workspace = true } +testnet-parachains-constants = { features = ["westend"] , workspace = true } @@ -80,19 +80,19 @@ testnet-parachains-constants = { path = "../../constants", default-features = fa -bp-asset-hub-rococo = { path = "../../../../../bridges/primitives/chain-asset-hub-rococo", default-features = false } -bp-asset-hub-westend = { path = "../../../../../bridges/primitives/chain-asset-hub-westend", default-features = false } -bp-bridge-hub-rococo = { path = "../../../../../bridges/primitives/chain-bridge-hub-rococo", default-features = false } -bp-bridge-hub-westend = { path = "../../../../../bridges/primitives/chain-bridge-hub-westend", default-features = false } -bp-header-chain = { path = "../../../../../bridges/primitives/header-chain", default-features = false } -bp-messages = { path = "../../../../../bridges/primitives/messages", default-features = false } -bp-parachains = { path = "../../../../../bridges/primitives/parachains", default-features = false } -bp-polkadot-core = { path = "../../../../../bridges/primitives/polkadot-core", default-features = false } -bp-relayers = { path = "../../../../../bridges/primitives/relayers", default-features = false } -bp-runtime = { path = "../../../../../bridges/primitives/runtime", default-features = false } -bp-rococo = { path = "../../../../../bridges/primitives/chain-rococo", default-features = false } -bp-westend = { path = "../../../../../bridges/primitives/chain-westend", default-features = false } -pallet-bridge-grandpa = { path = "../../../../../bridges/modules/grandpa", default-features = false } -pallet-bridge-messages = { path = "../../../../../bridges/modules/messages", default-features = false } -pallet-bridge-parachains = { path = "../../../../../bridges/modules/parachains", default-features = false } -pallet-bridge-relayers = { path = "../../../../../bridges/modules/relayers", default-features = false } -pallet-xcm-bridge-hub = { path = "../../../../../bridges/modules/xcm-bridge-hub", default-features = false } -bridge-runtime-common = { path = "../../../../../bridges/bin/runtime-common", default-features = false } -bridge-hub-common = { path = "../../bridge-hubs/common", default-features = false } +bp-asset-hub-rococo = { workspace = true } +bp-asset-hub-westend = { workspace = true } +bp-bridge-hub-rococo = { workspace = true } +bp-bridge-hub-westend = { workspace = true } +bp-header-chain = { workspace = true } +bp-messages = { workspace = true } +bp-parachains = { workspace = true } +bp-polkadot-core = { workspace = true } +bp-relayers = { workspace = true } +bp-runtime = { workspace = true } +bp-rococo = { workspace = true } +bp-westend = { workspace = true } +pallet-bridge-grandpa = { workspace = true } +pallet-bridge-messages = { workspace = true } +pallet-bridge-parachains = { workspace = true } +pallet-bridge-relayers = { workspace = true } +pallet-xcm-bridge-hub = { workspace = true } +bridge-runtime-common = { workspace = true } +bridge-hub-common = { workspace = true } @@ -101,3 +101,3 @@ bridge-hub-common = { path = "../../bridge-hubs/common", default-features = fals -static_assertions = "1.1" -bridge-hub-test-utils = { path = "../test-utils" } -bridge-runtime-common = { path = "../../../../../bridges/bin/runtime-common", features = ["integrity-test"] } +static_assertions = { workspace = true, default-features = true } +bridge-hub-test-utils = { workspace = true } +bridge-runtime-common = { features = ["integrity-test"] , workspace = true, default-features = true } diff --git cumulus/parachains/runtimes/bridge-hubs/common/Cargo.toml cumulus/parachains/runtimes/bridge-hubs/common/Cargo.toml index a4dcd19dc9..85e0b68fd7 100644 --- cumulus/parachains/runtimes/bridge-hubs/common/Cargo.toml +++ cumulus/parachains/runtimes/bridge-hubs/common/Cargo.toml @@ -11 +11 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -13 +13 @@ frame-support = { path = "../../../../../substrate/frame/support", default-featu -sp-std = { path = "../../../../../substrate/primitives/std", default-features = false } +sp-std = { workspace = true } @@ -16,4 +16,4 @@ sp-runtime = { path = "../../../../../substrate/primitives/runtime", default-fea -cumulus-primitives-core = { path = "../../../../primitives/core", default-features = false } -xcm = { package = "staging-xcm", path = "../../../../../polkadot/xcm", default-features = false } -pallet-message-queue = { path = "../../../../../substrate/frame/message-queue", default-features = false } -snowbridge-core = { path = "../../../../../bridges/snowbridge/primitives/core", default-features = false } +cumulus-primitives-core = { workspace = true } +xcm = { workspace = true } +pallet-message-queue = { workspace = true } +snowbridge-core = { workspace = true } diff --git cumulus/parachains/runtimes/bridge-hubs/test-utils/Cargo.toml cumulus/parachains/runtimes/bridge-hubs/test-utils/Cargo.toml index 5f2a6e050d..e08a968040 100644 --- cumulus/parachains/runtimes/bridge-hubs/test-utils/Cargo.toml +++ cumulus/parachains/runtimes/bridge-hubs/test-utils/Cargo.toml @@ -14 +14 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -impl-trait-for-tuples = "0.2" +impl-trait-for-tuples = { workspace = true } @@ -21 +21 @@ sp-core = { path = "../../../../../substrate/primitives/core", default-features -sp-io = { path = "../../../../../substrate/primitives/io", default-features = false } +sp-io = { workspace = true } @@ -24,5 +24,5 @@ sp-runtime = { path = "../../../../../substrate/primitives/runtime", default-fea -sp-std = { path = "../../../../../substrate/primitives/std", default-features = false } -sp-tracing = { path = "../../../../../substrate/primitives/tracing" } -pallet-balances = { path = "../../../../../substrate/frame/balances", default-features = false } -pallet-utility = { path = "../../../../../substrate/frame/utility", default-features = false } -pallet-timestamp = { path = "../../../../../substrate/frame/timestamp", default-features = false } +sp-std = { workspace = true } +sp-tracing = { workspace = true, default-features = true } +pallet-balances = { workspace = true } +pallet-utility = { workspace = true } +pallet-timestamp = { workspace = true } @@ -31,5 +31,5 @@ pallet-timestamp = { path = "../../../../../substrate/frame/timestamp", default- -asset-test-utils = { path = "../../assets/test-utils" } -cumulus-pallet-parachain-system = { path = "../../../../pallets/parachain-system", default-features = false, features = ["parameterized-consensus-hook"] } -cumulus-pallet-xcmp-queue = { path = "../../../../pallets/xcmp-queue", default-features = false } -parachains-common = { path = "../../../common", default-features = false } -parachains-runtimes-test-utils = { path = "../../test-utils", default-features = false } +asset-test-utils = { workspace = true } +cumulus-pallet-parachain-system = { features = ["parameterized-consensus-hook"] , workspace = true } +cumulus-pallet-xcmp-queue = { workspace = true } +parachains-common = { workspace = true } +parachains-runtimes-test-utils = { workspace = true } @@ -38,3 +38,3 @@ parachains-runtimes-test-utils = { path = "../../test-utils", default-features = -xcm = { package = "staging-xcm", path = "../../../../../polkadot/xcm", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../../../../../polkadot/xcm/xcm-builder", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkadot/xcm/xcm-executor", default-features = false } +xcm = { workspace = true } +xcm-builder = { workspace = true } +xcm-executor = { workspace = true } @@ -43,11 +43,11 @@ xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkad -bp-header-chain = { path = "../../../../../bridges/primitives/header-chain", default-features = false } -bp-messages = { path = "../../../../../bridges/primitives/messages", default-features = false } -bp-polkadot-core = { path = "../../../../../bridges/primitives/polkadot-core", default-features = false } -bp-relayers = { path = "../../../../../bridges/primitives/relayers", default-features = false } -bp-runtime = { path = "../../../../../bridges/primitives/runtime", default-features = false } -bp-test-utils = { path = "../../../../../bridges/primitives/test-utils", default-features = false } -pallet-bridge-grandpa = { path = "../../../../../bridges/modules/grandpa", default-features = false } -pallet-bridge-parachains = { path = "../../../../../bridges/modules/parachains", default-features = false } -pallet-bridge-messages = { path = "../../../../../bridges/modules/messages", default-features = false } -pallet-bridge-relayers = { path = "../../../../../bridges/modules/relayers", default-features = false } -bridge-runtime-common = { path = "../../../../../bridges/bin/runtime-common", default-features = false } +bp-header-chain = { workspace = true } +bp-messages = { workspace = true } +bp-polkadot-core = { workspace = true } +bp-relayers = { workspace = true } +bp-runtime = { workspace = true } +bp-test-utils = { workspace = true } +pallet-bridge-grandpa = { workspace = true } +pallet-bridge-parachains = { workspace = true } +pallet-bridge-messages = { workspace = true } +pallet-bridge-relayers = { workspace = true } +bridge-runtime-common = { workspace = true } diff --git cumulus/parachains/runtimes/collectives/collectives-westend/Cargo.toml cumulus/parachains/runtimes/collectives/collectives-westend/Cargo.toml index ed264f28c2..0b686eba77 100644 --- cumulus/parachains/runtimes/collectives/collectives-westend/Cargo.toml +++ cumulus/parachains/runtimes/collectives/collectives-westend/Cargo.toml @@ -14 +14 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -hex-literal = { version = "0.4.1" } +hex-literal = { workspace = true, default-features = true } @@ -16 +16 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -19,2 +19,2 @@ scale-info = { version = "2.10.0", default-features = false, features = ["derive -frame-benchmarking = { path = "../../../../../substrate/frame/benchmarking", default-features = false, optional = true } -frame-executive = { path = "../../../../../substrate/frame/executive", default-features = false } +frame-benchmarking = { optional = true , workspace = true } +frame-executive = { workspace = true } @@ -23,25 +23,25 @@ frame-system = { path = "../../../../../substrate/frame/system", default-feature -frame-system-benchmarking = { path = "../../../../../substrate/frame/system/benchmarking", default-features = false, optional = true } -frame-system-rpc-runtime-api = { path = "../../../../../substrate/frame/system/rpc/runtime-api", default-features = false } -frame-try-runtime = { path = "../../../../../substrate/frame/try-runtime", default-features = false, optional = true } -pallet-asset-rate = { path = "../../../../../substrate/frame/asset-rate", default-features = false } -pallet-alliance = { path = "../../../../../substrate/frame/alliance", default-features = false } -pallet-aura = { path = "../../../../../substrate/frame/aura", default-features = false } -pallet-authorship = { path = "../../../../../substrate/frame/authorship", default-features = false } -pallet-balances = { path = "../../../../../substrate/frame/balances", default-features = false } -pallet-collective = { path = "../../../../../substrate/frame/collective", default-features = false } -pallet-multisig = { path = "../../../../../substrate/frame/multisig", default-features = false } -pallet-preimage = { path = "../../../../../substrate/frame/preimage", default-features = false } -pallet-proxy = { path = "../../../../../substrate/frame/proxy", default-features = false } -pallet-scheduler = { path = "../../../../../substrate/frame/scheduler", default-features = false } -pallet-session = { path = "../../../../../substrate/frame/session", default-features = false } -pallet-timestamp = { path = "../../../../../substrate/frame/timestamp", default-features = false } -pallet-transaction-payment = { path = "../../../../../substrate/frame/transaction-payment", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { path = "../../../../../substrate/frame/transaction-payment/rpc/runtime-api", default-features = false } -pallet-treasury = { path = "../../../../../substrate/frame/treasury", default-features = false } -pallet-utility = { path = "../../../../../substrate/frame/utility", default-features = false } -pallet-referenda = { path = "../../../../../substrate/frame/referenda", default-features = false } -pallet-ranked-collective = { path = "../../../../../substrate/frame/ranked-collective", default-features = false } -pallet-core-fellowship = { path = "../../../../../substrate/frame/core-fellowship", default-features = false } -pallet-salary = { path = "../../../../../substrate/frame/salary", default-features = false } -sp-api = { path = "../../../../../substrate/primitives/api", default-features = false } -sp-arithmetic = { path = "../../../../../substrate/primitives/arithmetic", default-features = false } +frame-system-benchmarking = { optional = true , workspace = true } +frame-system-rpc-runtime-api = { workspace = true } +frame-try-runtime = { optional = true , workspace = true } +pallet-asset-rate = { workspace = true } +pallet-alliance = { workspace = true } +pallet-aura = { workspace = true } +pallet-authorship = { workspace = true } +pallet-balances = { workspace = true } +pallet-collective = { workspace = true } +pallet-multisig = { workspace = true } +pallet-preimage = { workspace = true } +pallet-proxy = { workspace = true } +pallet-scheduler = { workspace = true } +pallet-session = { workspace = true } +pallet-timestamp = { workspace = true } +pallet-transaction-payment = { workspace = true } +pallet-transaction-payment-rpc-runtime-api = { workspace = true } +pallet-treasury = { workspace = true } +pallet-utility = { workspace = true } +pallet-referenda = { workspace = true } +pallet-ranked-collective = { workspace = true } +pallet-core-fellowship = { workspace = true } +pallet-salary = { workspace = true } +sp-api = { workspace = true } +sp-arithmetic = { workspace = true } @@ -49 +49 @@ sp-block-builder = { path = "../../../../../substrate/primitives/block-builder", -sp-consensus-aura = { path = "../../../../../substrate/primitives/consensus/aura", default-features = false } +sp-consensus-aura = { workspace = true } @@ -51 +51 @@ sp-core = { path = "../../../../../substrate/primitives/core", default-features -sp-genesis-builder = { path = "../../../../../substrate/primitives/genesis-builder", default-features = false } +sp-genesis-builder = { workspace = true } @@ -55,3 +55,3 @@ sp-runtime = { path = "../../../../../substrate/primitives/runtime", default-fea -sp-session = { path = "../../../../../substrate/primitives/session", default-features = false } -sp-std = { path = "../../../../../substrate/primitives/std", default-features = false } -sp-storage = { path = "../../../../../substrate/primitives/storage", default-features = false } +sp-session = { workspace = true } +sp-std = { workspace = true } +sp-storage = { workspace = true } @@ -59 +59 @@ sp-transaction-pool = { path = "../../../../../substrate/primitives/transaction- -sp-version = { path = "../../../../../substrate/primitives/version", default-features = false } +sp-version = { workspace = true } @@ -62 +62 @@ sp-version = { path = "../../../../../substrate/primitives/version", default-fea -pallet-xcm = { path = "../../../../../polkadot/xcm/pallet-xcm", default-features = false } +pallet-xcm = { workspace = true } @@ -65,4 +65,4 @@ polkadot-runtime-common = { path = "../../../../../polkadot/runtime/common", def -xcm = { package = "staging-xcm", path = "../../../../../polkadot/xcm", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../../../../../polkadot/xcm/xcm-builder", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkadot/xcm/xcm-executor", default-features = false } -westend-runtime-constants = { path = "../../../../../polkadot/runtime/westend/constants", default-features = false } +xcm = { workspace = true } +xcm-builder = { workspace = true } +xcm-executor = { workspace = true } +westend-runtime-constants = { workspace = true } @@ -71,14 +71,14 @@ westend-runtime-constants = { path = "../../../../../polkadot/runtime/westend/co -cumulus-pallet-aura-ext = { path = "../../../../pallets/aura-ext", default-features = false } -pallet-message-queue = { path = "../../../../../substrate/frame/message-queue", default-features = false } -cumulus-pallet-parachain-system = { path = "../../../../pallets/parachain-system", default-features = false, features = ["parameterized-consensus-hook"] } -cumulus-pallet-session-benchmarking = { path = "../../../../pallets/session-benchmarking", default-features = false } -cumulus-pallet-xcm = { path = "../../../../pallets/xcm", default-features = false } -cumulus-pallet-xcmp-queue = { path = "../../../../pallets/xcmp-queue", default-features = false } -cumulus-primitives-aura = { path = "../../../../primitives/aura", default-features = false } -cumulus-primitives-core = { path = "../../../../primitives/core", default-features = false } -cumulus-primitives-utility = { path = "../../../../primitives/utility", default-features = false } -pallet-collator-selection = { path = "../../../../pallets/collator-selection", default-features = false } -pallet-collective-content = { path = "../../../pallets/collective-content", default-features = false } -parachain-info = { package = "staging-parachain-info", path = "../../../pallets/parachain-info", default-features = false } -parachains-common = { path = "../../../common", default-features = false } -testnet-parachains-constants = { path = "../../constants", default-features = false, features = ["westend"] } +cumulus-pallet-aura-ext = { workspace = true } +pallet-message-queue = { workspace = true } +cumulus-pallet-parachain-system = { features = ["parameterized-consensus-hook"] , workspace = true } +cumulus-pallet-session-benchmarking = { workspace = true } +cumulus-pallet-xcm = { workspace = true } +cumulus-pallet-xcmp-queue = { workspace = true } +cumulus-primitives-aura = { workspace = true } +cumulus-primitives-core = { workspace = true } +cumulus-primitives-utility = { workspace = true } +pallet-collator-selection = { workspace = true } +pallet-collective-content = { workspace = true } +parachain-info = { workspace = true } +parachains-common = { workspace = true } +testnet-parachains-constants = { features = ["westend"] , workspace = true } @@ -87 +87 @@ testnet-parachains-constants = { path = "../../constants", default-features = fa -substrate-wasm-builder = { path = "../../../../../substrate/utils/wasm-builder", optional = true } +substrate-wasm-builder = { optional = true , workspace = true } @@ -90 +90 @@ substrate-wasm-builder = { path = "../../../../../substrate/utils/wasm-builder", -sp-io = { path = "../../../../../substrate/primitives/io", features = ["std"] } +sp-io = { features = ["std"] , workspace = true, default-features = true } diff --git cumulus/parachains/runtimes/constants/Cargo.toml cumulus/parachains/runtimes/constants/Cargo.toml index 561e8276b5..4c20c3b59f 100644 --- cumulus/parachains/runtimes/constants/Cargo.toml +++ cumulus/parachains/runtimes/constants/Cargo.toml @@ -16 +16 @@ targets = ["x86_64-unknown-linux-gnu"] -smallvec = "1.11.0" +smallvec = { workspace = true, default-features = true } @@ -23,4 +23,4 @@ sp-runtime = { path = "../../../../substrate/primitives/runtime", default-featur -polkadot-core-primitives = { path = "../../../../polkadot/core-primitives", default-features = false } -rococo-runtime-constants = { path = "../../../../polkadot/runtime/rococo/constants", default-features = false, optional = true } -westend-runtime-constants = { path = "../../../../polkadot/runtime/westend/constants", default-features = false, optional = true } -xcm = { package = "staging-xcm", path = "../../../../polkadot/xcm", default-features = false } +polkadot-core-primitives = { workspace = true } +rococo-runtime-constants = { optional = true , workspace = true } +westend-runtime-constants = { optional = true , workspace = true } +xcm = { workspace = true } @@ -29 +29 @@ xcm = { package = "staging-xcm", path = "../../../../polkadot/xcm", default-feat -cumulus-primitives-core = { path = "../../../primitives/core", default-features = false } +cumulus-primitives-core = { workspace = true } diff --git cumulus/parachains/runtimes/contracts/contracts-rococo/Cargo.toml cumulus/parachains/runtimes/contracts/contracts-rococo/Cargo.toml index dcc6c4e853..ad7ba9303f 100644 --- cumulus/parachains/runtimes/contracts/contracts-rococo/Cargo.toml +++ cumulus/parachains/runtimes/contracts/contracts-rococo/Cargo.toml @@ -16 +16 @@ targets = ["x86_64-unknown-linux-gnu"] -substrate-wasm-builder = { path = "../../../../../substrate/utils/wasm-builder", optional = true } +substrate-wasm-builder = { optional = true , workspace = true } @@ -20 +20 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -hex-literal = { version = "0.4.1", optional = true } +hex-literal = { optional = true , workspace = true, default-features = true } @@ -22 +22 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -25 +25 @@ scale-info = { version = "2.10.0", default-features = false, features = ["derive -sp-api = { path = "../../../../../substrate/primitives/api", default-features = false } +sp-api = { workspace = true } @@ -27 +27 @@ sp-block-builder = { path = "../../../../../substrate/primitives/block-builder", -sp-consensus-aura = { path = "../../../../../substrate/primitives/consensus/aura", default-features = false } +sp-consensus-aura = { workspace = true } @@ -29 +29 @@ sp-core = { path = "../../../../../substrate/primitives/core", default-features -sp-genesis-builder = { path = "../../../../../substrate/primitives/genesis-builder", default-features = false } +sp-genesis-builder = { workspace = true } @@ -33,3 +33,3 @@ sp-runtime = { path = "../../../../../substrate/primitives/runtime", default-fea -sp-session = { path = "../../../../../substrate/primitives/session", default-features = false } -sp-std = { path = "../../../../../substrate/primitives/std", default-features = false } -sp-storage = { path = "../../../../../substrate/primitives/storage", default-features = false } +sp-session = { workspace = true } +sp-std = { workspace = true } +sp-storage = { workspace = true } @@ -37,4 +37,4 @@ sp-transaction-pool = { path = "../../../../../substrate/primitives/transaction- -sp-version = { path = "../../../../../substrate/primitives/version", default-features = false } -frame-benchmarking = { path = "../../../../../substrate/frame/benchmarking", default-features = false, optional = true } -frame-try-runtime = { path = "../../../../../substrate/frame/try-runtime", default-features = false, optional = true } -frame-executive = { path = "../../../../../substrate/frame/executive", default-features = false } +sp-version = { workspace = true } +frame-benchmarking = { optional = true , workspace = true } +frame-try-runtime = { optional = true , workspace = true } +frame-executive = { workspace = true } @@ -43,14 +43,14 @@ frame-system = { path = "../../../../../substrate/frame/system", default-feature -frame-system-benchmarking = { path = "../../../../../substrate/frame/system/benchmarking", default-features = false, optional = true } -frame-system-rpc-runtime-api = { path = "../../../../../substrate/frame/system/rpc/runtime-api", default-features = false } -pallet-aura = { path = "../../../../../substrate/frame/aura", default-features = false } -pallet-authorship = { path = "../../../../../substrate/frame/authorship", default-features = false } -pallet-insecure-randomness-collective-flip = { path = "../../../../../substrate/frame/insecure-randomness-collective-flip", default-features = false } -pallet-balances = { path = "../../../../../substrate/frame/balances", default-features = false } -pallet-multisig = { path = "../../../../../substrate/frame/multisig", default-features = false } -pallet-session = { path = "../../../../../substrate/frame/session", default-features = false } -pallet-timestamp = { path = "../../../../../substrate/frame/timestamp", default-features = false } -pallet-transaction-payment = { path = "../../../../../substrate/frame/transaction-payment", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { path = "../../../../../substrate/frame/transaction-payment/rpc/runtime-api", default-features = false } -pallet-utility = { path = "../../../../../substrate/frame/utility", default-features = false } -pallet-sudo = { path = "../../../../../substrate/frame/sudo", default-features = false } -pallet-contracts = { path = "../../../../../substrate/frame/contracts", default-features = false } +frame-system-benchmarking = { optional = true , workspace = true } +frame-system-rpc-runtime-api = { workspace = true } +pallet-aura = { workspace = true } +pallet-authorship = { workspace = true } +pallet-insecure-randomness-collective-flip = { workspace = true } +pallet-balances = { workspace = true } +pallet-multisig = { workspace = true } +pallet-session = { workspace = true } +pallet-timestamp = { workspace = true } +pallet-transaction-payment = { workspace = true } +pallet-transaction-payment-rpc-runtime-api = { workspace = true } +pallet-utility = { workspace = true } +pallet-sudo = { workspace = true } +pallet-contracts = { workspace = true } @@ -59 +59 @@ pallet-contracts = { path = "../../../../../substrate/frame/contracts", default- -pallet-xcm = { path = "../../../../../polkadot/xcm/pallet-xcm", default-features = false } +pallet-xcm = { workspace = true } @@ -62,4 +62,4 @@ polkadot-runtime-common = { path = "../../../../../polkadot/runtime/common", def -rococo-runtime-constants = { path = "../../../../../polkadot/runtime/rococo/constants", default-features = false } -xcm = { package = "staging-xcm", path = "../../../../../polkadot/xcm", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../../../../../polkadot/xcm/xcm-builder", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkadot/xcm/xcm-executor", default-features = false } +rococo-runtime-constants = { workspace = true } +xcm = { workspace = true } +xcm-builder = { workspace = true } +xcm-executor = { workspace = true } @@ -68,13 +68,13 @@ xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkad -cumulus-pallet-aura-ext = { path = "../../../../pallets/aura-ext", default-features = false } -pallet-message-queue = { path = "../../../../../substrate/frame/message-queue", default-features = false } -cumulus-pallet-parachain-system = { path = "../../../../pallets/parachain-system", default-features = false, features = ["parameterized-consensus-hook"] } -cumulus-pallet-session-benchmarking = { path = "../../../../pallets/session-benchmarking", default-features = false } -cumulus-pallet-xcm = { path = "../../../../pallets/xcm", default-features = false } -cumulus-pallet-xcmp-queue = { path = "../../../../pallets/xcmp-queue", default-features = false } -cumulus-primitives-aura = { path = "../../../../primitives/aura", default-features = false } -cumulus-primitives-core = { path = "../../../../primitives/core", default-features = false } -cumulus-primitives-utility = { path = "../../../../primitives/utility", default-features = false } -pallet-collator-selection = { path = "../../../../pallets/collator-selection", default-features = false } -parachain-info = { package = "staging-parachain-info", path = "../../../pallets/parachain-info", default-features = false } -parachains-common = { path = "../../../common", default-features = false } -testnet-parachains-constants = { path = "../../constants", default-features = false, features = ["rococo"] } +cumulus-pallet-aura-ext = { workspace = true } +pallet-message-queue = { workspace = true } +cumulus-pallet-parachain-system = { features = ["parameterized-consensus-hook"] , workspace = true } +cumulus-pallet-session-benchmarking = { workspace = true } +cumulus-pallet-xcm = { workspace = true } +cumulus-pallet-xcmp-queue = { workspace = true } +cumulus-primitives-aura = { workspace = true } +cumulus-primitives-core = { workspace = true } +cumulus-primitives-utility = { workspace = true } +pallet-collator-selection = { workspace = true } +parachain-info = { workspace = true } +parachains-common = { workspace = true } +testnet-parachains-constants = { features = ["rococo"] , workspace = true } diff --git cumulus/parachains/runtimes/coretime/coretime-rococo/Cargo.toml cumulus/parachains/runtimes/coretime/coretime-rococo/Cargo.toml index 0bc3b510ed..8e0b22eb53 100644 --- cumulus/parachains/runtimes/coretime/coretime-rococo/Cargo.toml +++ cumulus/parachains/runtimes/coretime/coretime-rococo/Cargo.toml @@ -13 +13 @@ workspace = true -substrate-wasm-builder = { path = "../../../../../substrate/utils/wasm-builder", optional = true } +substrate-wasm-builder = { optional = true , workspace = true } @@ -17 +17 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -hex-literal = "0.4.1" +hex-literal = { workspace = true, default-features = true } @@ -19 +19 @@ log = { workspace = true } -scale-info = { version = "2.9.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -23,2 +23,2 @@ serde = { optional = true, features = ["derive"], workspace = true, default-feat -frame-benchmarking = { path = "../../../../../substrate/frame/benchmarking", default-features = false, optional = true } -frame-executive = { path = "../../../../../substrate/frame/executive", default-features = false } +frame-benchmarking = { optional = true , workspace = true } +frame-executive = { workspace = true } @@ -27,16 +27,16 @@ frame-system = { path = "../../../../../substrate/frame/system", default-feature -frame-system-benchmarking = { path = "../../../../../substrate/frame/system/benchmarking", default-features = false, optional = true } -frame-system-rpc-runtime-api = { path = "../../../../../substrate/frame/system/rpc/runtime-api", default-features = false } -frame-try-runtime = { path = "../../../../../substrate/frame/try-runtime", default-features = false, optional = true } -pallet-aura = { path = "../../../../../substrate/frame/aura", default-features = false } -pallet-authorship = { path = "../../../../../substrate/frame/authorship", default-features = false } -pallet-balances = { path = "../../../../../substrate/frame/balances", default-features = false } -pallet-message-queue = { path = "../../../../../substrate/frame/message-queue", default-features = false } -pallet-broker = { path = "../../../../../substrate/frame/broker", default-features = false } -pallet-multisig = { path = "../../../../../substrate/frame/multisig", default-features = false } -pallet-session = { path = "../../../../../substrate/frame/session", default-features = false } -pallet-sudo = { path = "../../../../../substrate/frame/sudo", default-features = false } -pallet-timestamp = { path = "../../../../../substrate/frame/timestamp", default-features = false } -pallet-transaction-payment = { path = "../../../../../substrate/frame/transaction-payment", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { path = "../../../../../substrate/frame/transaction-payment/rpc/runtime-api", default-features = false } -pallet-utility = { path = "../../../../../substrate/frame/utility", default-features = false } -sp-api = { path = "../../../../../substrate/primitives/api", default-features = false } +frame-system-benchmarking = { optional = true , workspace = true } +frame-system-rpc-runtime-api = { workspace = true } +frame-try-runtime = { optional = true , workspace = true } +pallet-aura = { workspace = true } +pallet-authorship = { workspace = true } +pallet-balances = { workspace = true } +pallet-message-queue = { workspace = true } +pallet-broker = { workspace = true } +pallet-multisig = { workspace = true } +pallet-session = { workspace = true } +pallet-sudo = { workspace = true } +pallet-timestamp = { workspace = true } +pallet-transaction-payment = { workspace = true } +pallet-transaction-payment-rpc-runtime-api = { workspace = true } +pallet-utility = { workspace = true } +sp-api = { workspace = true } @@ -44 +44 @@ sp-block-builder = { path = "../../../../../substrate/primitives/block-builder", -sp-consensus-aura = { path = "../../../../../substrate/primitives/consensus/aura", default-features = false } +sp-consensus-aura = { workspace = true } @@ -47 +47 @@ sp-inherents = { path = "../../../../../substrate/primitives/inherents", default -sp-genesis-builder = { path = "../../../../../substrate/primitives/genesis-builder", default-features = false } +sp-genesis-builder = { workspace = true } @@ -50,3 +50,3 @@ sp-runtime = { path = "../../../../../substrate/primitives/runtime", default-fea -sp-session = { path = "../../../../../substrate/primitives/session", default-features = false } -sp-std = { path = "../../../../../substrate/primitives/std", default-features = false } -sp-storage = { path = "../../../../../substrate/primitives/storage", default-features = false } +sp-session = { workspace = true } +sp-std = { workspace = true } +sp-storage = { workspace = true } @@ -54 +54 @@ sp-transaction-pool = { path = "../../../../../substrate/primitives/transaction- -sp-version = { path = "../../../../../substrate/primitives/version", default-features = false } +sp-version = { workspace = true } @@ -57,2 +57,2 @@ sp-version = { path = "../../../../../substrate/primitives/version", default-fea -pallet-xcm = { path = "../../../../../polkadot/xcm/pallet-xcm", default-features = false } -pallet-xcm-benchmarks = { path = "../../../../../polkadot/xcm/pallet-xcm-benchmarks", default-features = false, optional = true } +pallet-xcm = { workspace = true } +pallet-xcm-benchmarks = { optional = true , workspace = true } @@ -61,4 +61,4 @@ polkadot-runtime-common = { path = "../../../../../polkadot/runtime/common", def -rococo-runtime-constants = { path = "../../../../../polkadot/runtime/rococo/constants", default-features = false } -xcm = { package = "staging-xcm", path = "../../../../../polkadot/xcm", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../../../../../polkadot/xcm/xcm-builder", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkadot/xcm/xcm-executor", default-features = false } +rococo-runtime-constants = { workspace = true } +xcm = { workspace = true } +xcm-builder = { workspace = true } +xcm-executor = { workspace = true } @@ -67,12 +67,12 @@ xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkad -cumulus-pallet-aura-ext = { path = "../../../../pallets/aura-ext", default-features = false } -cumulus-pallet-parachain-system = { path = "../../../../pallets/parachain-system", default-features = false, features = ["parameterized-consensus-hook"] } -cumulus-pallet-session-benchmarking = { path = "../../../../pallets/session-benchmarking", default-features = false } -cumulus-pallet-xcm = { path = "../../../../pallets/xcm", default-features = false } -cumulus-pallet-xcmp-queue = { path = "../../../../pallets/xcmp-queue", default-features = false } -cumulus-primitives-aura = { path = "../../../../primitives/aura", default-features = false } -cumulus-primitives-core = { path = "../../../../primitives/core", default-features = false } -cumulus-primitives-utility = { path = "../../../../primitives/utility", default-features = false } -pallet-collator-selection = { path = "../../../../pallets/collator-selection", default-features = false } -parachain-info = { package = "staging-parachain-info", path = "../../../pallets/parachain-info", default-features = false } -parachains-common = { path = "../../../common", default-features = false } -testnet-parachains-constants = { path = "../../constants", default-features = false, features = ["rococo"] } +cumulus-pallet-aura-ext = { workspace = true } +cumulus-pallet-parachain-system = { features = ["parameterized-consensus-hook"] , workspace = true } +cumulus-pallet-session-benchmarking = { workspace = true } +cumulus-pallet-xcm = { workspace = true } +cumulus-pallet-xcmp-queue = { workspace = true } +cumulus-primitives-aura = { workspace = true } +cumulus-primitives-core = { workspace = true } +cumulus-primitives-utility = { workspace = true } +pallet-collator-selection = { workspace = true } +parachain-info = { workspace = true } +parachains-common = { workspace = true } +testnet-parachains-constants = { features = ["rococo"] , workspace = true } diff --git cumulus/parachains/runtimes/coretime/coretime-westend/Cargo.toml cumulus/parachains/runtimes/coretime/coretime-westend/Cargo.toml index a7d52dfd78..cb7de2412a 100644 --- cumulus/parachains/runtimes/coretime/coretime-westend/Cargo.toml +++ cumulus/parachains/runtimes/coretime/coretime-westend/Cargo.toml @@ -13 +13 @@ workspace = true -substrate-wasm-builder = { path = "../../../../../substrate/utils/wasm-builder", optional = true } +substrate-wasm-builder = { optional = true , workspace = true } @@ -17 +17 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -hex-literal = "0.4.1" +hex-literal = { workspace = true, default-features = true } @@ -19 +19 @@ log = { workspace = true } -scale-info = { version = "2.9.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -23,2 +23,2 @@ serde = { optional = true, features = ["derive"], workspace = true, default-feat -frame-benchmarking = { path = "../../../../../substrate/frame/benchmarking", default-features = false, optional = true } -frame-executive = { path = "../../../../../substrate/frame/executive", default-features = false } +frame-benchmarking = { optional = true , workspace = true } +frame-executive = { workspace = true } @@ -27,15 +27,15 @@ frame-system = { path = "../../../../../substrate/frame/system", default-feature -frame-system-benchmarking = { path = "../../../../../substrate/frame/system/benchmarking", default-features = false, optional = true } -frame-system-rpc-runtime-api = { path = "../../../../../substrate/frame/system/rpc/runtime-api", default-features = false } -frame-try-runtime = { path = "../../../../../substrate/frame/try-runtime", default-features = false, optional = true } -pallet-aura = { path = "../../../../../substrate/frame/aura", default-features = false } -pallet-authorship = { path = "../../../../../substrate/frame/authorship", default-features = false } -pallet-balances = { path = "../../../../../substrate/frame/balances", default-features = false } -pallet-message-queue = { path = "../../../../../substrate/frame/message-queue", default-features = false } -pallet-broker = { path = "../../../../../substrate/frame/broker", default-features = false } -pallet-multisig = { path = "../../../../../substrate/frame/multisig", default-features = false } -pallet-session = { path = "../../../../../substrate/frame/session", default-features = false } -pallet-timestamp = { path = "../../../../../substrate/frame/timestamp", default-features = false } -pallet-transaction-payment = { path = "../../../../../substrate/frame/transaction-payment", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { path = "../../../../../substrate/frame/transaction-payment/rpc/runtime-api", default-features = false } -pallet-utility = { path = "../../../../../substrate/frame/utility", default-features = false } -sp-api = { path = "../../../../../substrate/primitives/api", default-features = false } +frame-system-benchmarking = { optional = true , workspace = true } +frame-system-rpc-runtime-api = { workspace = true } +frame-try-runtime = { optional = true , workspace = true } +pallet-aura = { workspace = true } +pallet-authorship = { workspace = true } +pallet-balances = { workspace = true } +pallet-message-queue = { workspace = true } +pallet-broker = { workspace = true } +pallet-multisig = { workspace = true } +pallet-session = { workspace = true } +pallet-timestamp = { workspace = true } +pallet-transaction-payment = { workspace = true } +pallet-transaction-payment-rpc-runtime-api = { workspace = true } +pallet-utility = { workspace = true } +sp-api = { workspace = true } @@ -43 +43 @@ sp-block-builder = { path = "../../../../../substrate/primitives/block-builder", -sp-consensus-aura = { path = "../../../../../substrate/primitives/consensus/aura", default-features = false } +sp-consensus-aura = { workspace = true } @@ -46 +46 @@ sp-inherents = { path = "../../../../../substrate/primitives/inherents", default -sp-genesis-builder = { path = "../../../../../substrate/primitives/genesis-builder", default-features = false } +sp-genesis-builder = { workspace = true } @@ -49,3 +49,3 @@ sp-runtime = { path = "../../../../../substrate/primitives/runtime", default-fea -sp-session = { path = "../../../../../substrate/primitives/session", default-features = false } -sp-std = { path = "../../../../../substrate/primitives/std", default-features = false } -sp-storage = { path = "../../../../../substrate/primitives/storage", default-features = false } +sp-session = { workspace = true } +sp-std = { workspace = true } +sp-storage = { workspace = true } @@ -53 +53 @@ sp-transaction-pool = { path = "../../../../../substrate/primitives/transaction- -sp-version = { path = "../../../../../substrate/primitives/version", default-features = false } +sp-version = { workspace = true } @@ -56,2 +56,2 @@ sp-version = { path = "../../../../../substrate/primitives/version", default-fea -pallet-xcm = { path = "../../../../../polkadot/xcm/pallet-xcm", default-features = false } -pallet-xcm-benchmarks = { path = "../../../../../polkadot/xcm/pallet-xcm-benchmarks", default-features = false, optional = true } +pallet-xcm = { workspace = true } +pallet-xcm-benchmarks = { optional = true , workspace = true } @@ -60,4 +60,4 @@ polkadot-runtime-common = { path = "../../../../../polkadot/runtime/common", def -westend-runtime-constants = { path = "../../../../../polkadot/runtime/westend/constants", default-features = false } -xcm = { package = "staging-xcm", path = "../../../../../polkadot/xcm", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../../../../../polkadot/xcm/xcm-builder", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkadot/xcm/xcm-executor", default-features = false } +westend-runtime-constants = { workspace = true } +xcm = { workspace = true } +xcm-builder = { workspace = true } +xcm-executor = { workspace = true } @@ -66,12 +66,12 @@ xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkad -cumulus-pallet-aura-ext = { path = "../../../../pallets/aura-ext", default-features = false } -cumulus-pallet-parachain-system = { path = "../../../../pallets/parachain-system", default-features = false, features = ["parameterized-consensus-hook"] } -cumulus-pallet-session-benchmarking = { path = "../../../../pallets/session-benchmarking", default-features = false } -cumulus-pallet-xcm = { path = "../../../../pallets/xcm", default-features = false } -cumulus-pallet-xcmp-queue = { path = "../../../../pallets/xcmp-queue", default-features = false } -cumulus-primitives-aura = { path = "../../../../primitives/aura", default-features = false } -cumulus-primitives-core = { path = "../../../../primitives/core", default-features = false } -cumulus-primitives-utility = { path = "../../../../primitives/utility", default-features = false } -pallet-collator-selection = { path = "../../../../pallets/collator-selection", default-features = false } -parachain-info = { package = "staging-parachain-info", path = "../../../pallets/parachain-info", default-features = false } -parachains-common = { path = "../../../common", default-features = false } -testnet-parachains-constants = { path = "../../constants", default-features = false, features = ["westend"] } +cumulus-pallet-aura-ext = { workspace = true } +cumulus-pallet-parachain-system = { features = ["parameterized-consensus-hook"] , workspace = true } +cumulus-pallet-session-benchmarking = { workspace = true } +cumulus-pallet-xcm = { workspace = true } +cumulus-pallet-xcmp-queue = { workspace = true } +cumulus-primitives-aura = { workspace = true } +cumulus-primitives-core = { workspace = true } +cumulus-primitives-utility = { workspace = true } +pallet-collator-selection = { workspace = true } +parachain-info = { workspace = true } +parachains-common = { workspace = true } +testnet-parachains-constants = { features = ["westend"] , workspace = true } diff --git cumulus/parachains/runtimes/glutton/glutton-westend/Cargo.toml cumulus/parachains/runtimes/glutton/glutton-westend/Cargo.toml index 23c5ce1c7f..76414c1cc0 100644 --- cumulus/parachains/runtimes/glutton/glutton-westend/Cargo.toml +++ cumulus/parachains/runtimes/glutton/glutton-westend/Cargo.toml @@ -14 +14 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -17,2 +17,2 @@ scale-info = { version = "2.10.0", default-features = false, features = ["derive -frame-benchmarking = { path = "../../../../../substrate/frame/benchmarking", default-features = false, optional = true } -frame-executive = { path = "../../../../../substrate/frame/executive", default-features = false } +frame-benchmarking = { optional = true , workspace = true } +frame-executive = { workspace = true } @@ -21,8 +21,8 @@ frame-system = { path = "../../../../../substrate/frame/system", default-feature -frame-system-rpc-runtime-api = { path = "../../../../../substrate/frame/system/rpc/runtime-api", default-features = false } -frame-system-benchmarking = { path = "../../../../../substrate/frame/system/benchmarking", default-features = false, optional = true } -frame-try-runtime = { path = "../../../../../substrate/frame/try-runtime", default-features = false, optional = true } -pallet-aura = { path = "../../../../../substrate/frame/aura", default-features = false } -pallet-glutton = { path = "../../../../../substrate/frame/glutton", default-features = false, optional = true } -pallet-sudo = { path = "../../../../../substrate/frame/sudo", default-features = false, optional = true } -pallet-timestamp = { path = "../../../../../substrate/frame/timestamp", default-features = false } -sp-api = { path = "../../../../../substrate/primitives/api", default-features = false } +frame-system-rpc-runtime-api = { workspace = true } +frame-system-benchmarking = { optional = true , workspace = true } +frame-try-runtime = { optional = true , workspace = true } +pallet-aura = { workspace = true } +pallet-glutton = { optional = true , workspace = true } +pallet-sudo = { optional = true , workspace = true } +pallet-timestamp = { workspace = true } +sp-api = { workspace = true } @@ -30 +30 @@ sp-block-builder = { path = "../../../../../substrate/primitives/block-builder", -sp-consensus-aura = { path = "../../../../../substrate/primitives/consensus/aura", default-features = false } +sp-consensus-aura = { workspace = true } @@ -32 +32 @@ sp-core = { path = "../../../../../substrate/primitives/core", default-features -sp-genesis-builder = { path = "../../../../../substrate/primitives/genesis-builder", default-features = false } +sp-genesis-builder = { workspace = true } @@ -34 +34 @@ sp-inherents = { path = "../../../../../substrate/primitives/inherents", default -pallet-message-queue = { path = "../../../../../substrate/frame/message-queue", default-features = false } +pallet-message-queue = { workspace = true } @@ -37,3 +37,3 @@ sp-runtime = { path = "../../../../../substrate/primitives/runtime", default-fea -sp-session = { path = "../../../../../substrate/primitives/session", default-features = false } -sp-std = { path = "../../../../../substrate/primitives/std", default-features = false } -sp-storage = { path = "../../../../../substrate/primitives/storage", default-features = false } +sp-session = { workspace = true } +sp-std = { workspace = true } +sp-storage = { workspace = true } @@ -41 +41 @@ sp-transaction-pool = { path = "../../../../../substrate/primitives/transaction- -sp-version = { path = "../../../../../substrate/primitives/version", default-features = false } +sp-version = { workspace = true } @@ -44,3 +44,3 @@ sp-version = { path = "../../../../../substrate/primitives/version", default-fea -xcm = { package = "staging-xcm", path = "../../../../../polkadot/xcm", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../../../../../polkadot/xcm/xcm-builder", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkadot/xcm/xcm-executor", default-features = false } +xcm = { workspace = true } +xcm-builder = { workspace = true } +xcm-executor = { workspace = true } @@ -49,9 +49,9 @@ xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkad -cumulus-pallet-aura-ext = { path = "../../../../pallets/aura-ext", default-features = false } -cumulus-pallet-parachain-system = { path = "../../../../pallets/parachain-system", default-features = false, features = ["parameterized-consensus-hook"] } -cumulus-pallet-xcm = { path = "../../../../pallets/xcm", default-features = false } -cumulus-primitives-aura = { path = "../../../../primitives/aura", default-features = false } -cumulus-primitives-core = { path = "../../../../primitives/core", default-features = false } -cumulus-primitives-timestamp = { path = "../../../../primitives/timestamp", default-features = false } -parachain-info = { package = "staging-parachain-info", path = "../../../pallets/parachain-info", default-features = false } -parachains-common = { path = "../../../common", default-features = false } -testnet-parachains-constants = { path = "../../constants", default-features = false, features = ["westend"] } +cumulus-pallet-aura-ext = { workspace = true } +cumulus-pallet-parachain-system = { features = ["parameterized-consensus-hook"] , workspace = true } +cumulus-pallet-xcm = { workspace = true } +cumulus-primitives-aura = { workspace = true } +cumulus-primitives-core = { workspace = true } +cumulus-primitives-timestamp = { workspace = true } +parachain-info = { workspace = true } +parachains-common = { workspace = true } +testnet-parachains-constants = { features = ["westend"] , workspace = true } @@ -60 +60 @@ testnet-parachains-constants = { path = "../../constants", default-features = fa -substrate-wasm-builder = { path = "../../../../../substrate/utils/wasm-builder" } +substrate-wasm-builder = { workspace = true } diff --git cumulus/parachains/runtimes/people/people-rococo/Cargo.toml cumulus/parachains/runtimes/people/people-rococo/Cargo.toml index c0b8fb7636..097c47d20b 100644 --- cumulus/parachains/runtimes/people/people-rococo/Cargo.toml +++ cumulus/parachains/runtimes/people/people-rococo/Cargo.toml @@ -10 +10 @@ license = "Apache-2.0" -substrate-wasm-builder = { path = "../../../../../substrate/utils/wasm-builder", optional = true } +substrate-wasm-builder = { optional = true , workspace = true } @@ -14,2 +14,2 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -enumflags2 = { version = "0.7.7" } -hex-literal = { version = "0.4.1" } +enumflags2 = { workspace = true } +hex-literal = { workspace = true, default-features = true } @@ -17 +17 @@ log = { workspace = true } -scale-info = { version = "2.9.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -21,2 +21,2 @@ serde = { optional = true, features = ["derive"], workspace = true, default-feat -frame-benchmarking = { path = "../../../../../substrate/frame/benchmarking", default-features = false, optional = true } -frame-executive = { path = "../../../../../substrate/frame/executive", default-features = false } +frame-benchmarking = { optional = true , workspace = true } +frame-executive = { workspace = true } @@ -25,15 +25,15 @@ frame-system = { path = "../../../../../substrate/frame/system", default-feature -frame-system-benchmarking = { path = "../../../../../substrate/frame/system/benchmarking", default-features = false, optional = true } -frame-system-rpc-runtime-api = { path = "../../../../../substrate/frame/system/rpc/runtime-api", default-features = false } -frame-try-runtime = { path = "../../../../../substrate/frame/try-runtime", default-features = false, optional = true } -pallet-aura = { path = "../../../../../substrate/frame/aura", default-features = false } -pallet-authorship = { path = "../../../../../substrate/frame/authorship", default-features = false } -pallet-balances = { path = "../../../../../substrate/frame/balances", default-features = false } -pallet-identity = { path = "../../../../../substrate/frame/identity", default-features = false } -pallet-message-queue = { path = "../../../../../substrate/frame/message-queue", default-features = false } -pallet-multisig = { path = "../../../../../substrate/frame/multisig", default-features = false } -pallet-session = { path = "../../../../../substrate/frame/session", default-features = false } -pallet-timestamp = { path = "../../../../../substrate/frame/timestamp", default-features = false } -pallet-transaction-payment = { path = "../../../../../substrate/frame/transaction-payment", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { path = "../../../../../substrate/frame/transaction-payment/rpc/runtime-api", default-features = false } -pallet-utility = { path = "../../../../../substrate/frame/utility", default-features = false } -sp-api = { path = "../../../../../substrate/primitives/api", default-features = false } +frame-system-benchmarking = { optional = true , workspace = true } +frame-system-rpc-runtime-api = { workspace = true } +frame-try-runtime = { optional = true , workspace = true } +pallet-aura = { workspace = true } +pallet-authorship = { workspace = true } +pallet-balances = { workspace = true } +pallet-identity = { workspace = true } +pallet-message-queue = { workspace = true } +pallet-multisig = { workspace = true } +pallet-session = { workspace = true } +pallet-timestamp = { workspace = true } +pallet-transaction-payment = { workspace = true } +pallet-transaction-payment-rpc-runtime-api = { workspace = true } +pallet-utility = { workspace = true } +sp-api = { workspace = true } @@ -41 +41 @@ sp-block-builder = { path = "../../../../../substrate/primitives/block-builder", -sp-consensus-aura = { path = "../../../../../substrate/primitives/consensus/aura", default-features = false } +sp-consensus-aura = { workspace = true } @@ -43 +43 @@ sp-core = { path = "../../../../../substrate/primitives/core", default-features -sp-genesis-builder = { path = "../../../../../substrate/primitives/genesis-builder", default-features = false } +sp-genesis-builder = { workspace = true } @@ -47,3 +47,3 @@ sp-runtime = { path = "../../../../../substrate/primitives/runtime", default-fea -sp-session = { path = "../../../../../substrate/primitives/session", default-features = false } -sp-std = { path = "../../../../../substrate/primitives/std", default-features = false } -sp-storage = { path = "../../../../../substrate/primitives/storage", default-features = false } +sp-session = { workspace = true } +sp-std = { workspace = true } +sp-storage = { workspace = true } @@ -51 +51 @@ sp-transaction-pool = { path = "../../../../../substrate/primitives/transaction- -sp-version = { path = "../../../../../substrate/primitives/version", default-features = false } +sp-version = { workspace = true } @@ -54,2 +54,2 @@ sp-version = { path = "../../../../../substrate/primitives/version", default-fea -pallet-xcm = { path = "../../../../../polkadot/xcm/pallet-xcm", default-features = false } -pallet-xcm-benchmarks = { path = "../../../../../polkadot/xcm/pallet-xcm-benchmarks", default-features = false, optional = true } +pallet-xcm = { workspace = true } +pallet-xcm-benchmarks = { optional = true , workspace = true } @@ -58,4 +58,4 @@ polkadot-runtime-common = { path = "../../../../../polkadot/runtime/common", def -rococo-runtime-constants = { path = "../../../../../polkadot/runtime/rococo/constants", default-features = false } -xcm = { package = "staging-xcm", path = "../../../../../polkadot/xcm", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../../../../../polkadot/xcm/xcm-builder", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkadot/xcm/xcm-executor", default-features = false } +rococo-runtime-constants = { workspace = true } +xcm = { workspace = true } +xcm-builder = { workspace = true } +xcm-executor = { workspace = true } @@ -64,12 +64,12 @@ xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkad -cumulus-pallet-aura-ext = { path = "../../../../pallets/aura-ext", default-features = false } -cumulus-pallet-parachain-system = { path = "../../../../pallets/parachain-system", default-features = false, features = ["parameterized-consensus-hook"] } -cumulus-pallet-session-benchmarking = { path = "../../../../pallets/session-benchmarking", default-features = false } -cumulus-pallet-xcm = { path = "../../../../pallets/xcm", default-features = false } -cumulus-pallet-xcmp-queue = { path = "../../../../pallets/xcmp-queue", default-features = false } -cumulus-primitives-aura = { path = "../../../../primitives/aura", default-features = false } -cumulus-primitives-core = { path = "../../../../primitives/core", default-features = false } -cumulus-primitives-utility = { path = "../../../../primitives/utility", default-features = false } -pallet-collator-selection = { path = "../../../../pallets/collator-selection", default-features = false } -parachain-info = { package = "staging-parachain-info", path = "../../../pallets/parachain-info", default-features = false } -parachains-common = { path = "../../../common", default-features = false } -testnet-parachains-constants = { path = "../../constants", default-features = false, features = ["rococo"] } +cumulus-pallet-aura-ext = { workspace = true } +cumulus-pallet-parachain-system = { features = ["parameterized-consensus-hook"] , workspace = true } +cumulus-pallet-session-benchmarking = { workspace = true } +cumulus-pallet-xcm = { workspace = true } +cumulus-pallet-xcmp-queue = { workspace = true } +cumulus-primitives-aura = { workspace = true } +cumulus-primitives-core = { workspace = true } +cumulus-primitives-utility = { workspace = true } +pallet-collator-selection = { workspace = true } +parachain-info = { workspace = true } +parachains-common = { workspace = true } +testnet-parachains-constants = { features = ["rococo"] , workspace = true } diff --git cumulus/parachains/runtimes/people/people-westend/Cargo.toml cumulus/parachains/runtimes/people/people-westend/Cargo.toml index e87e825a34..847d5451fd 100644 --- cumulus/parachains/runtimes/people/people-westend/Cargo.toml +++ cumulus/parachains/runtimes/people/people-westend/Cargo.toml @@ -10 +10 @@ license = "Apache-2.0" -substrate-wasm-builder = { path = "../../../../../substrate/utils/wasm-builder", optional = true } +substrate-wasm-builder = { optional = true , workspace = true } @@ -14,2 +14,2 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -enumflags2 = { version = "0.7.7" } -hex-literal = { version = "0.4.1" } +enumflags2 = { workspace = true } +hex-literal = { workspace = true, default-features = true } @@ -17 +17 @@ log = { workspace = true } -scale-info = { version = "2.9.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -21,2 +21,2 @@ serde = { optional = true, features = ["derive"], workspace = true, default-feat -frame-benchmarking = { path = "../../../../../substrate/frame/benchmarking", default-features = false, optional = true } -frame-executive = { path = "../../../../../substrate/frame/executive", default-features = false } +frame-benchmarking = { optional = true , workspace = true } +frame-executive = { workspace = true } @@ -25,15 +25,15 @@ frame-system = { path = "../../../../../substrate/frame/system", default-feature -frame-system-benchmarking = { path = "../../../../../substrate/frame/system/benchmarking", default-features = false, optional = true } -frame-system-rpc-runtime-api = { path = "../../../../../substrate/frame/system/rpc/runtime-api", default-features = false } -frame-try-runtime = { path = "../../../../../substrate/frame/try-runtime", default-features = false, optional = true } -pallet-aura = { path = "../../../../../substrate/frame/aura", default-features = false } -pallet-authorship = { path = "../../../../../substrate/frame/authorship", default-features = false } -pallet-balances = { path = "../../../../../substrate/frame/balances", default-features = false } -pallet-identity = { path = "../../../../../substrate/frame/identity", default-features = false } -pallet-message-queue = { path = "../../../../../substrate/frame/message-queue", default-features = false } -pallet-multisig = { path = "../../../../../substrate/frame/multisig", default-features = false } -pallet-session = { path = "../../../../../substrate/frame/session", default-features = false } -pallet-timestamp = { path = "../../../../../substrate/frame/timestamp", default-features = false } -pallet-transaction-payment = { path = "../../../../../substrate/frame/transaction-payment", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { path = "../../../../../substrate/frame/transaction-payment/rpc/runtime-api", default-features = false } -pallet-utility = { path = "../../../../../substrate/frame/utility", default-features = false } -sp-api = { path = "../../../../../substrate/primitives/api", default-features = false } +frame-system-benchmarking = { optional = true , workspace = true } +frame-system-rpc-runtime-api = { workspace = true } +frame-try-runtime = { optional = true , workspace = true } +pallet-aura = { workspace = true } +pallet-authorship = { workspace = true } +pallet-balances = { workspace = true } +pallet-identity = { workspace = true } +pallet-message-queue = { workspace = true } +pallet-multisig = { workspace = true } +pallet-session = { workspace = true } +pallet-timestamp = { workspace = true } +pallet-transaction-payment = { workspace = true } +pallet-transaction-payment-rpc-runtime-api = { workspace = true } +pallet-utility = { workspace = true } +sp-api = { workspace = true } @@ -41 +41 @@ sp-block-builder = { path = "../../../../../substrate/primitives/block-builder", -sp-consensus-aura = { path = "../../../../../substrate/primitives/consensus/aura", default-features = false } +sp-consensus-aura = { workspace = true } @@ -43 +43 @@ sp-core = { path = "../../../../../substrate/primitives/core", default-features -sp-genesis-builder = { path = "../../../../../substrate/primitives/genesis-builder", default-features = false } +sp-genesis-builder = { workspace = true } @@ -47,3 +47,3 @@ sp-runtime = { path = "../../../../../substrate/primitives/runtime", default-fea -sp-session = { path = "../../../../../substrate/primitives/session", default-features = false } -sp-std = { path = "../../../../../substrate/primitives/std", default-features = false } -sp-storage = { path = "../../../../../substrate/primitives/storage", default-features = false } +sp-session = { workspace = true } +sp-std = { workspace = true } +sp-storage = { workspace = true } @@ -51 +51 @@ sp-transaction-pool = { path = "../../../../../substrate/primitives/transaction- -sp-version = { path = "../../../../../substrate/primitives/version", default-features = false } +sp-version = { workspace = true } @@ -54,2 +54,2 @@ sp-version = { path = "../../../../../substrate/primitives/version", default-fea -pallet-xcm = { path = "../../../../../polkadot/xcm/pallet-xcm", default-features = false } -pallet-xcm-benchmarks = { path = "../../../../../polkadot/xcm/pallet-xcm-benchmarks", default-features = false, optional = true } +pallet-xcm = { workspace = true } +pallet-xcm-benchmarks = { optional = true , workspace = true } @@ -58,4 +58,4 @@ polkadot-runtime-common = { path = "../../../../../polkadot/runtime/common", def -westend-runtime-constants = { path = "../../../../../polkadot/runtime/westend/constants", default-features = false } -xcm = { package = "staging-xcm", path = "../../../../../polkadot/xcm", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../../../../../polkadot/xcm/xcm-builder", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkadot/xcm/xcm-executor", default-features = false } +westend-runtime-constants = { workspace = true } +xcm = { workspace = true } +xcm-builder = { workspace = true } +xcm-executor = { workspace = true } @@ -64,12 +64,12 @@ xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkad -cumulus-pallet-aura-ext = { path = "../../../../pallets/aura-ext", default-features = false } -cumulus-pallet-parachain-system = { path = "../../../../pallets/parachain-system", default-features = false, features = ["parameterized-consensus-hook"] } -cumulus-pallet-session-benchmarking = { path = "../../../../pallets/session-benchmarking", default-features = false } -cumulus-pallet-xcm = { path = "../../../../pallets/xcm", default-features = false } -cumulus-pallet-xcmp-queue = { path = "../../../../pallets/xcmp-queue", default-features = false } -cumulus-primitives-aura = { path = "../../../../primitives/aura", default-features = false } -cumulus-primitives-core = { path = "../../../../primitives/core", default-features = false } -cumulus-primitives-utility = { path = "../../../../primitives/utility", default-features = false } -pallet-collator-selection = { path = "../../../../pallets/collator-selection", default-features = false } -parachain-info = { package = "staging-parachain-info", path = "../../../pallets/parachain-info", default-features = false } -parachains-common = { path = "../../../common", default-features = false } -testnet-parachains-constants = { path = "../../constants", default-features = false, features = ["westend"] } +cumulus-pallet-aura-ext = { workspace = true } +cumulus-pallet-parachain-system = { features = ["parameterized-consensus-hook"] , workspace = true } +cumulus-pallet-session-benchmarking = { workspace = true } +cumulus-pallet-xcm = { workspace = true } +cumulus-pallet-xcmp-queue = { workspace = true } +cumulus-primitives-aura = { workspace = true } +cumulus-primitives-core = { workspace = true } +cumulus-primitives-utility = { workspace = true } +pallet-collator-selection = { workspace = true } +parachain-info = { workspace = true } +parachains-common = { workspace = true } +testnet-parachains-constants = { features = ["westend"] , workspace = true } diff --git cumulus/parachains/runtimes/starters/seedling/Cargo.toml cumulus/parachains/runtimes/starters/seedling/Cargo.toml index 1f5bee7784..78557dc237 100644 --- cumulus/parachains/runtimes/starters/seedling/Cargo.toml +++ cumulus/parachains/runtimes/starters/seedling/Cargo.toml @@ -14 +14 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -17 +17 @@ scale-info = { version = "2.10.0", default-features = false, features = ["derive -frame-executive = { path = "../../../../../substrate/frame/executive", default-features = false } +frame-executive = { workspace = true } @@ -20,5 +20,5 @@ frame-system = { path = "../../../../../substrate/frame/system", default-feature -pallet-aura = { path = "../../../../../substrate/frame/aura", default-features = false } -pallet-balances = { path = "../../../../../substrate/frame/balances", default-features = false } -pallet-sudo = { path = "../../../../../substrate/frame/sudo", default-features = false } -pallet-timestamp = { path = "../../../../../substrate/frame/timestamp", default-features = false } -sp-api = { path = "../../../../../substrate/primitives/api", default-features = false } +pallet-aura = { workspace = true } +pallet-balances = { workspace = true } +pallet-sudo = { workspace = true } +pallet-timestamp = { workspace = true } +sp-api = { workspace = true } @@ -26 +26 @@ sp-block-builder = { path = "../../../../../substrate/primitives/block-builder", -sp-consensus-aura = { path = "../../../../../substrate/primitives/consensus/aura", default-features = false } +sp-consensus-aura = { workspace = true } @@ -28 +28 @@ sp-core = { path = "../../../../../substrate/primitives/core", default-features -sp-genesis-builder = { path = "../../../../../substrate/primitives/genesis-builder", default-features = false } +sp-genesis-builder = { workspace = true } @@ -32,2 +32,2 @@ sp-runtime = { path = "../../../../../substrate/primitives/runtime", default-fea -sp-session = { path = "../../../../../substrate/primitives/session", default-features = false } -sp-std = { path = "../../../../../substrate/primitives/std", default-features = false } +sp-session = { workspace = true } +sp-std = { workspace = true } @@ -35 +35 @@ sp-transaction-pool = { path = "../../../../../substrate/primitives/transaction- -sp-version = { path = "../../../../../substrate/primitives/version", default-features = false } +sp-version = { workspace = true } @@ -38,7 +38,7 @@ sp-version = { path = "../../../../../substrate/primitives/version", default-fea -cumulus-pallet-aura-ext = { path = "../../../../pallets/aura-ext", default-features = false } -cumulus-pallet-parachain-system = { path = "../../../../pallets/parachain-system", default-features = false, features = ["parameterized-consensus-hook"] } -cumulus-pallet-solo-to-para = { path = "../../../../pallets/solo-to-para", default-features = false } -cumulus-primitives-core = { path = "../../../../primitives/core", default-features = false } -cumulus-primitives-timestamp = { path = "../../../../primitives/timestamp", default-features = false } -parachain-info = { package = "staging-parachain-info", path = "../../../pallets/parachain-info", default-features = false } -parachains-common = { path = "../../../common", default-features = false } +cumulus-pallet-aura-ext = { workspace = true } +cumulus-pallet-parachain-system = { features = ["parameterized-consensus-hook"] , workspace = true } +cumulus-pallet-solo-to-para = { workspace = true } +cumulus-primitives-core = { workspace = true } +cumulus-primitives-timestamp = { workspace = true } +parachain-info = { workspace = true } +parachains-common = { workspace = true } @@ -47 +47 @@ parachains-common = { path = "../../../common", default-features = false } -substrate-wasm-builder = { path = "../../../../../substrate/utils/wasm-builder", optional = true } +substrate-wasm-builder = { optional = true , workspace = true } diff --git cumulus/parachains/runtimes/starters/shell/Cargo.toml cumulus/parachains/runtimes/starters/shell/Cargo.toml index 5a8f2a9d12..f5265acc2c 100644 --- cumulus/parachains/runtimes/starters/shell/Cargo.toml +++ cumulus/parachains/runtimes/starters/shell/Cargo.toml @@ -14 +14 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -17 +17 @@ scale-info = { version = "2.10.0", default-features = false, features = ["derive -frame-executive = { path = "../../../../../substrate/frame/executive", default-features = false } +frame-executive = { workspace = true } @@ -20,4 +20,4 @@ frame-system = { path = "../../../../../substrate/frame/system", default-feature -frame-try-runtime = { path = "../../../../../substrate/frame/try-runtime", default-features = false, optional = true } -pallet-aura = { path = "../../../../../substrate/frame/aura", default-features = false } -pallet-timestamp = { path = "../../../../../substrate/frame/timestamp", default-features = false } -sp-api = { path = "../../../../../substrate/primitives/api", default-features = false } +frame-try-runtime = { optional = true , workspace = true } +pallet-aura = { workspace = true } +pallet-timestamp = { workspace = true } +sp-api = { workspace = true } @@ -25 +25 @@ sp-block-builder = { path = "../../../../../substrate/primitives/block-builder", -sp-consensus-aura = { path = "../../../../../substrate/primitives/consensus/aura", default-features = false } +sp-consensus-aura = { workspace = true } @@ -27 +27 @@ sp-core = { path = "../../../../../substrate/primitives/core", default-features -sp-genesis-builder = { path = "../../../../../substrate/primitives/genesis-builder", default-features = false } +sp-genesis-builder = { workspace = true } @@ -31,2 +31,2 @@ sp-runtime = { path = "../../../../../substrate/primitives/runtime", default-fea -sp-session = { path = "../../../../../substrate/primitives/session", default-features = false } -sp-std = { path = "../../../../../substrate/primitives/std", default-features = false } +sp-session = { workspace = true } +sp-std = { workspace = true } @@ -34,2 +34,2 @@ sp-transaction-pool = { path = "../../../../../substrate/primitives/transaction- -sp-version = { path = "../../../../../substrate/primitives/version", default-features = false } -pallet-message-queue = { path = "../../../../../substrate/frame/message-queue", default-features = false } +sp-version = { workspace = true } +pallet-message-queue = { workspace = true } @@ -38,3 +38,3 @@ pallet-message-queue = { path = "../../../../../substrate/frame/message-queue", -xcm = { package = "staging-xcm", path = "../../../../../polkadot/xcm", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../../../../../polkadot/xcm/xcm-builder", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkadot/xcm/xcm-executor", default-features = false } +xcm = { workspace = true } +xcm-builder = { workspace = true } +xcm-executor = { workspace = true } @@ -43,6 +43,6 @@ xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkad -cumulus-pallet-aura-ext = { path = "../../../../pallets/aura-ext", default-features = false } -cumulus-pallet-parachain-system = { path = "../../../../pallets/parachain-system", default-features = false, features = ["parameterized-consensus-hook"] } -cumulus-pallet-xcm = { path = "../../../../pallets/xcm", default-features = false } -cumulus-primitives-core = { path = "../../../../primitives/core", default-features = false } -parachain-info = { package = "staging-parachain-info", path = "../../../pallets/parachain-info", default-features = false } -parachains-common = { path = "../../../common", default-features = false } +cumulus-pallet-aura-ext = { workspace = true } +cumulus-pallet-parachain-system = { features = ["parameterized-consensus-hook"] , workspace = true } +cumulus-pallet-xcm = { workspace = true } +cumulus-primitives-core = { workspace = true } +parachain-info = { workspace = true } +parachains-common = { workspace = true } @@ -51 +51 @@ parachains-common = { path = "../../../common", default-features = false } -substrate-wasm-builder = { path = "../../../../../substrate/utils/wasm-builder", optional = true } +substrate-wasm-builder = { optional = true , workspace = true } diff --git cumulus/parachains/runtimes/test-utils/Cargo.toml cumulus/parachains/runtimes/test-utils/Cargo.toml index eda88beb7d..6fb5307bb4 100644 --- cumulus/parachains/runtimes/test-utils/Cargo.toml +++ cumulus/parachains/runtimes/test-utils/Cargo.toml @@ -18,5 +18,5 @@ frame-system = { path = "../../../../substrate/frame/system", default-features = -pallet-balances = { path = "../../../../substrate/frame/balances", default-features = false } -pallet-session = { path = "../../../../substrate/frame/session", default-features = false } -pallet-timestamp = { path = "../../../../substrate/frame/timestamp", default-features = false } -sp-consensus-aura = { path = "../../../../substrate/primitives/consensus/aura", default-features = false } -sp-io = { path = "../../../../substrate/primitives/io", default-features = false } +pallet-balances = { workspace = true } +pallet-session = { workspace = true } +pallet-timestamp = { workspace = true } +sp-consensus-aura = { workspace = true } +sp-io = { workspace = true } @@ -24,2 +24,2 @@ sp-runtime = { path = "../../../../substrate/primitives/runtime", default-featur -sp-std = { path = "../../../../substrate/primitives/std", default-features = false } -sp-tracing = { path = "../../../../substrate/primitives/tracing" } +sp-std = { workspace = true } +sp-tracing = { workspace = true, default-features = true } @@ -29,7 +29,7 @@ sp-core = { path = "../../../../substrate/primitives/core", default-features = f -cumulus-pallet-parachain-system = { path = "../../../pallets/parachain-system", default-features = false, features = ["parameterized-consensus-hook"] } -cumulus-pallet-xcmp-queue = { path = "../../../pallets/xcmp-queue", default-features = false } -pallet-collator-selection = { path = "../../../pallets/collator-selection", default-features = false } -parachain-info = { package = "staging-parachain-info", path = "../../pallets/parachain-info", default-features = false } -cumulus-primitives-core = { path = "../../../primitives/core", default-features = false } -cumulus-primitives-parachain-inherent = { path = "../../../primitives/parachain-inherent", default-features = false } -cumulus-test-relay-sproof-builder = { path = "../../../test/relay-sproof-builder", default-features = false } +cumulus-pallet-parachain-system = { features = ["parameterized-consensus-hook"] , workspace = true } +cumulus-pallet-xcmp-queue = { workspace = true } +pallet-collator-selection = { workspace = true } +parachain-info = { workspace = true } +cumulus-primitives-core = { workspace = true } +cumulus-primitives-parachain-inherent = { workspace = true } +cumulus-test-relay-sproof-builder = { workspace = true } @@ -38,3 +38,3 @@ cumulus-test-relay-sproof-builder = { path = "../../../test/relay-sproof-builder -xcm = { package = "staging-xcm", path = "../../../../polkadot/xcm", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../../../polkadot/xcm/xcm-executor", default-features = false } -pallet-xcm = { path = "../../../../polkadot/xcm/pallet-xcm", default-features = false } +xcm = { workspace = true } +xcm-executor = { workspace = true } +pallet-xcm = { workspace = true } @@ -44 +44 @@ polkadot-parachain-primitives = { path = "../../../../polkadot/parachain", defau -hex-literal = "0.4.1" +hex-literal = { workspace = true, default-features = true } @@ -47 +47 @@ hex-literal = "0.4.1" -substrate-wasm-builder = { path = "../../../../substrate/utils/wasm-builder" } +substrate-wasm-builder = { workspace = true } diff --git cumulus/parachains/runtimes/testing/penpal/Cargo.toml cumulus/parachains/runtimes/testing/penpal/Cargo.toml index 08e5987d43..3f5ce09abf 100644 --- cumulus/parachains/runtimes/testing/penpal/Cargo.toml +++ cumulus/parachains/runtimes/testing/penpal/Cargo.toml @@ -18 +18 @@ targets = ["x86_64-unknown-linux-gnu"] -substrate-wasm-builder = { path = "../../../../../substrate/utils/wasm-builder", optional = true } +substrate-wasm-builder = { optional = true , workspace = true } @@ -22 +22 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -hex-literal = { version = "0.4.1", optional = true } +hex-literal = { optional = true , workspace = true, default-features = true } @@ -24,2 +24,2 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -smallvec = "1.11.0" +scale-info = { features = ["derive"] , workspace = true } +smallvec = { workspace = true, default-features = true } @@ -28,2 +28,2 @@ smallvec = "1.11.0" -frame-benchmarking = { path = "../../../../../substrate/frame/benchmarking", default-features = false, optional = true } -frame-executive = { path = "../../../../../substrate/frame/executive", default-features = false } +frame-benchmarking = { optional = true , workspace = true } +frame-executive = { workspace = true } @@ -32,14 +32,14 @@ frame-system = { path = "../../../../../substrate/frame/system", default-feature -frame-system-benchmarking = { path = "../../../../../substrate/frame/system/benchmarking", default-features = false, optional = true } -frame-system-rpc-runtime-api = { path = "../../../../../substrate/frame/system/rpc/runtime-api", default-features = false } -frame-try-runtime = { path = "../../../../../substrate/frame/try-runtime", default-features = false, optional = true } -pallet-aura = { path = "../../../../../substrate/frame/aura", default-features = false } -pallet-authorship = { path = "../../../../../substrate/frame/authorship", default-features = false } -pallet-balances = { path = "../../../../../substrate/frame/balances", default-features = false } -pallet-session = { path = "../../../../../substrate/frame/session", default-features = false } -pallet-sudo = { path = "../../../../../substrate/frame/sudo", default-features = false } -pallet-timestamp = { path = "../../../../../substrate/frame/timestamp", default-features = false } -pallet-transaction-payment = { path = "../../../../../substrate/frame/transaction-payment", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { path = "../../../../../substrate/frame/transaction-payment/rpc/runtime-api", default-features = false } -pallet-asset-tx-payment = { path = "../../../../../substrate/frame/transaction-payment/asset-tx-payment", default-features = false } -pallet-assets = { path = "../../../../../substrate/frame/assets", default-features = false } -sp-api = { path = "../../../../../substrate/primitives/api", default-features = false } +frame-system-benchmarking = { optional = true , workspace = true } +frame-system-rpc-runtime-api = { workspace = true } +frame-try-runtime = { optional = true , workspace = true } +pallet-aura = { workspace = true } +pallet-authorship = { workspace = true } +pallet-balances = { workspace = true } +pallet-session = { workspace = true } +pallet-sudo = { workspace = true } +pallet-timestamp = { workspace = true } +pallet-transaction-payment = { workspace = true } +pallet-transaction-payment-rpc-runtime-api = { workspace = true } +pallet-asset-tx-payment = { workspace = true } +pallet-assets = { workspace = true } +sp-api = { workspace = true } @@ -47 +47 @@ sp-block-builder = { path = "../../../../../substrate/primitives/block-builder", -sp-consensus-aura = { path = "../../../../../substrate/primitives/consensus/aura", default-features = false } +sp-consensus-aura = { workspace = true } @@ -49 +49 @@ sp-core = { path = "../../../../../substrate/primitives/core", default-features -sp-genesis-builder = { path = "../../../../../substrate/primitives/genesis-builder", default-features = false } +sp-genesis-builder = { workspace = true } @@ -53,3 +53,3 @@ sp-runtime = { path = "../../../../../substrate/primitives/runtime", default-fea -sp-session = { path = "../../../../../substrate/primitives/session", default-features = false } -sp-std = { path = "../../../../../substrate/primitives/std", default-features = false } -sp-storage = { path = "../../../../../substrate/primitives/storage", default-features = false } +sp-session = { workspace = true } +sp-std = { workspace = true } +sp-storage = { workspace = true } @@ -57 +57 @@ sp-transaction-pool = { path = "../../../../../substrate/primitives/transaction- -sp-version = { path = "../../../../../substrate/primitives/version", default-features = false } +sp-version = { workspace = true } @@ -61 +61 @@ polkadot-primitives = { path = "../../../../../polkadot/primitives", default-fea -pallet-xcm = { path = "../../../../../polkadot/xcm/pallet-xcm", default-features = false } +pallet-xcm = { workspace = true } @@ -64,3 +64,3 @@ polkadot-runtime-common = { path = "../../../../../polkadot/runtime/common", def -xcm = { package = "staging-xcm", path = "../../../../../polkadot/xcm", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../../../../../polkadot/xcm/xcm-builder", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkadot/xcm/xcm-executor", default-features = false } +xcm = { workspace = true } +xcm-builder = { workspace = true } +xcm-executor = { workspace = true } @@ -69,13 +69,13 @@ xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkad -cumulus-pallet-aura-ext = { path = "../../../../pallets/aura-ext", default-features = false } -pallet-message-queue = { path = "../../../../../substrate/frame/message-queue", default-features = false } -cumulus-pallet-parachain-system = { path = "../../../../pallets/parachain-system", default-features = false, features = ["parameterized-consensus-hook"] } -cumulus-pallet-session-benchmarking = { path = "../../../../pallets/session-benchmarking", default-features = false } -cumulus-pallet-xcm = { path = "../../../../pallets/xcm", default-features = false } -cumulus-pallet-xcmp-queue = { path = "../../../../pallets/xcmp-queue", default-features = false } -cumulus-primitives-core = { path = "../../../../primitives/core", default-features = false } -cumulus-primitives-utility = { path = "../../../../primitives/utility", default-features = false } -pallet-collator-selection = { path = "../../../../pallets/collator-selection", default-features = false } -parachain-info = { package = "staging-parachain-info", path = "../../../pallets/parachain-info", default-features = false } -parachains-common = { path = "../../../common", default-features = false } -testnet-parachains-constants = { path = "../../constants", default-features = false, features = ["rococo"] } -assets-common = { path = "../../assets/common", default-features = false } +cumulus-pallet-aura-ext = { workspace = true } +pallet-message-queue = { workspace = true } +cumulus-pallet-parachain-system = { features = ["parameterized-consensus-hook"] , workspace = true } +cumulus-pallet-session-benchmarking = { workspace = true } +cumulus-pallet-xcm = { workspace = true } +cumulus-pallet-xcmp-queue = { workspace = true } +cumulus-primitives-core = { workspace = true } +cumulus-primitives-utility = { workspace = true } +pallet-collator-selection = { workspace = true } +parachain-info = { workspace = true } +parachains-common = { workspace = true } +testnet-parachains-constants = { features = ["rococo"] , workspace = true } +assets-common = { workspace = true } diff --git cumulus/parachains/runtimes/testing/rococo-parachain/Cargo.toml cumulus/parachains/runtimes/testing/rococo-parachain/Cargo.toml index 42169e8949..f76375d375 100644 --- cumulus/parachains/runtimes/testing/rococo-parachain/Cargo.toml +++ cumulus/parachains/runtimes/testing/rococo-parachain/Cargo.toml @@ -14 +14 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -17,2 +17,2 @@ scale-info = { version = "2.10.0", default-features = false, features = ["derive -frame-benchmarking = { path = "../../../../../substrate/frame/benchmarking", default-features = false, optional = true } -frame-executive = { path = "../../../../../substrate/frame/executive", default-features = false } +frame-benchmarking = { optional = true , workspace = true } +frame-executive = { workspace = true } @@ -21,9 +21,9 @@ frame-system = { path = "../../../../../substrate/frame/system", default-feature -frame-system-rpc-runtime-api = { path = "../../../../../substrate/frame/system/rpc/runtime-api", default-features = false } -pallet-assets = { path = "../../../../../substrate/frame/assets", default-features = false } -pallet-aura = { path = "../../../../../substrate/frame/aura", default-features = false } -pallet-balances = { path = "../../../../../substrate/frame/balances", default-features = false } -pallet-sudo = { path = "../../../../../substrate/frame/sudo", default-features = false } -pallet-timestamp = { path = "../../../../../substrate/frame/timestamp", default-features = false } -pallet-transaction-payment = { path = "../../../../../substrate/frame/transaction-payment", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { path = "../../../../../substrate/frame/transaction-payment/rpc/runtime-api", default-features = false } -sp-api = { path = "../../../../../substrate/primitives/api", default-features = false } +frame-system-rpc-runtime-api = { workspace = true } +pallet-assets = { workspace = true } +pallet-aura = { workspace = true } +pallet-balances = { workspace = true } +pallet-sudo = { workspace = true } +pallet-timestamp = { workspace = true } +pallet-transaction-payment = { workspace = true } +pallet-transaction-payment-rpc-runtime-api = { workspace = true } +sp-api = { workspace = true } @@ -31 +31 @@ sp-block-builder = { path = "../../../../../substrate/primitives/block-builder", -sp-consensus-aura = { path = "../../../../../substrate/primitives/consensus/aura", default-features = false } +sp-consensus-aura = { workspace = true } @@ -33 +33 @@ sp-core = { path = "../../../../../substrate/primitives/core", default-features -sp-genesis-builder = { path = "../../../../../substrate/primitives/genesis-builder", default-features = false } +sp-genesis-builder = { workspace = true } @@ -37,2 +37,2 @@ sp-runtime = { path = "../../../../../substrate/primitives/runtime", default-fea -sp-session = { path = "../../../../../substrate/primitives/session", default-features = false } -sp-std = { path = "../../../../../substrate/primitives/std", default-features = false } +sp-session = { workspace = true } +sp-std = { workspace = true } @@ -40 +40 @@ sp-transaction-pool = { path = "../../../../../substrate/primitives/transaction- -sp-version = { path = "../../../../../substrate/primitives/version", default-features = false } +sp-version = { workspace = true } @@ -43 +43 @@ sp-version = { path = "../../../../../substrate/primitives/version", default-fea -pallet-xcm = { path = "../../../../../polkadot/xcm/pallet-xcm", default-features = false } +pallet-xcm = { workspace = true } @@ -45,3 +45,3 @@ polkadot-parachain-primitives = { path = "../../../../../polkadot/parachain", de -xcm = { package = "staging-xcm", path = "../../../../../polkadot/xcm", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../../../../../polkadot/xcm/xcm-builder", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkadot/xcm/xcm-executor", default-features = false } +xcm = { workspace = true } +xcm-builder = { workspace = true } +xcm-executor = { workspace = true } @@ -51,12 +51,12 @@ polkadot-runtime-common = { path = "../../../../../polkadot/runtime/common", def -cumulus-pallet-aura-ext = { path = "../../../../pallets/aura-ext", default-features = false } -pallet-message-queue = { path = "../../../../../substrate/frame/message-queue", default-features = false } -cumulus-pallet-parachain-system = { path = "../../../../pallets/parachain-system", default-features = false, features = ["parameterized-consensus-hook"] } -cumulus-pallet-xcm = { path = "../../../../pallets/xcm", default-features = false } -cumulus-pallet-xcmp-queue = { path = "../../../../pallets/xcmp-queue", default-features = false } -cumulus-ping = { path = "../../../pallets/ping", default-features = false } -cumulus-primitives-aura = { path = "../../../../primitives/aura", default-features = false } -cumulus-primitives-core = { path = "../../../../primitives/core", default-features = false } -cumulus-primitives-utility = { path = "../../../../primitives/utility", default-features = false } -parachains-common = { path = "../../../common", default-features = false } -testnet-parachains-constants = { path = "../../constants", default-features = false, features = ["rococo"] } -parachain-info = { package = "staging-parachain-info", path = "../../../pallets/parachain-info", default-features = false } +cumulus-pallet-aura-ext = { workspace = true } +pallet-message-queue = { workspace = true } +cumulus-pallet-parachain-system = { features = ["parameterized-consensus-hook"] , workspace = true } +cumulus-pallet-xcm = { workspace = true } +cumulus-pallet-xcmp-queue = { workspace = true } +cumulus-ping = { workspace = true } +cumulus-primitives-aura = { workspace = true } +cumulus-primitives-core = { workspace = true } +cumulus-primitives-utility = { workspace = true } +parachains-common = { workspace = true } +testnet-parachains-constants = { features = ["rococo"] , workspace = true } +parachain-info = { workspace = true } @@ -65 +65 @@ parachain-info = { package = "staging-parachain-info", path = "../../../pallets/ -substrate-wasm-builder = { path = "../../../../../substrate/utils/wasm-builder", optional = true } +substrate-wasm-builder = { optional = true , workspace = true } diff --git cumulus/polkadot-parachain/Cargo.toml cumulus/polkadot-parachain/Cargo.toml index 84a232e954..e0c667ad8a 100644 --- cumulus/polkadot-parachain/Cargo.toml +++ cumulus/polkadot-parachain/Cargo.toml @@ -18,2 +18,2 @@ path = "src/main.rs" -async-trait = "0.1.74" -clap = { version = "4.5.1", features = ["derive"] } +async-trait = { workspace = true } +clap = { features = ["derive"] , workspace = true } @@ -21,2 +21,2 @@ codec = { package = "parity-scale-codec", version = "3.0.0" } -futures = "0.3.28" -hex-literal = "0.4.1" +futures = { workspace = true } +hex-literal = { workspace = true, default-features = true } @@ -28,18 +28,18 @@ serde_json = { workspace = true, default-features = true } -rococo-parachain-runtime = { path = "../parachains/runtimes/testing/rococo-parachain" } -shell-runtime = { path = "../parachains/runtimes/starters/shell" } -glutton-westend-runtime = { path = "../parachains/runtimes/glutton/glutton-westend" } -seedling-runtime = { path = "../parachains/runtimes/starters/seedling" } -asset-hub-rococo-runtime = { path = "../parachains/runtimes/assets/asset-hub-rococo" } -asset-hub-westend-runtime = { path = "../parachains/runtimes/assets/asset-hub-westend" } -collectives-westend-runtime = { path = "../parachains/runtimes/collectives/collectives-westend" } -contracts-rococo-runtime = { path = "../parachains/runtimes/contracts/contracts-rococo" } -bridge-hub-rococo-runtime = { path = "../parachains/runtimes/bridge-hubs/bridge-hub-rococo" } -coretime-rococo-runtime = { path = "../parachains/runtimes/coretime/coretime-rococo" } -coretime-westend-runtime = { path = "../parachains/runtimes/coretime/coretime-westend" } -bridge-hub-westend-runtime = { path = "../parachains/runtimes/bridge-hubs/bridge-hub-westend" } -penpal-runtime = { path = "../parachains/runtimes/testing/penpal" } -jsonrpsee = { version = "0.22", features = ["server"] } -people-rococo-runtime = { path = "../parachains/runtimes/people/people-rococo" } -people-westend-runtime = { path = "../parachains/runtimes/people/people-westend" } -parachains-common = { path = "../parachains/common" } -testnet-parachains-constants = { path = "../parachains/runtimes/constants", default-features = false, features = ["rococo", "westend"] } +rococo-parachain-runtime = { workspace = true } +shell-runtime = { workspace = true } +glutton-westend-runtime = { workspace = true } +seedling-runtime = { workspace = true } +asset-hub-rococo-runtime = { workspace = true, default-features = true } +asset-hub-westend-runtime = { workspace = true } +collectives-westend-runtime = { workspace = true } +contracts-rococo-runtime = { workspace = true } +bridge-hub-rococo-runtime = { workspace = true, default-features = true } +coretime-rococo-runtime = { workspace = true } +coretime-westend-runtime = { workspace = true } +bridge-hub-westend-runtime = { workspace = true, default-features = true } +penpal-runtime = { workspace = true } +jsonrpsee = { features = ["server"] , workspace = true } +people-rococo-runtime = { workspace = true } +people-westend-runtime = { workspace = true } +parachains-common = { workspace = true, default-features = true } +testnet-parachains-constants = { features = ["rococo", "westend"] , workspace = true } @@ -48,2 +48,2 @@ testnet-parachains-constants = { path = "../parachains/runtimes/constants", defa -frame-benchmarking = { path = "../../substrate/frame/benchmarking" } -frame-benchmarking-cli = { path = "../../substrate/utils/frame/benchmarking-cli" } +frame-benchmarking = { workspace = true, default-features = true } +frame-benchmarking-cli = { workspace = true } @@ -51 +51 @@ sp-runtime = { path = "../../substrate/primitives/runtime", default-features = f -sp-io = { path = "../../substrate/primitives/io" } +sp-io = { workspace = true, default-features = true } @@ -53,4 +53,4 @@ sp-core = { path = "../../substrate/primitives/core" } -sp-session = { path = "../../substrate/primitives/session" } -frame-try-runtime = { path = "../../substrate/frame/try-runtime", optional = true } -sc-consensus = { path = "../../substrate/client/consensus/common" } -sp-tracing = { path = "../../substrate/primitives/tracing" } +sp-session = { workspace = true, default-features = true } +frame-try-runtime = { optional = true , workspace = true, default-features = true } +sc-consensus = { workspace = true } +sp-tracing = { workspace = true, default-features = true } @@ -58 +58 @@ frame-support = { path = "../../substrate/frame/support" } -sc-cli = { path = "../../substrate/client/cli" } +sc-cli = { workspace = true, default-features = true } @@ -60 +60 @@ sc-client-api = { path = "../../substrate/client/api" } -sc-executor = { path = "../../substrate/client/executor" } +sc-executor = { workspace = true } @@ -63 +63 @@ sc-telemetry = { path = "../../substrate/client/telemetry" } -sc-transaction-pool = { path = "../../substrate/client/transaction-pool" } +sc-transaction-pool = { workspace = true } @@ -65,6 +65,6 @@ sp-transaction-pool = { path = "../../substrate/primitives/transaction-pool" } -sc-network = { path = "../../substrate/client/network" } -sc-network-sync = { path = "../../substrate/client/network/sync" } -sc-basic-authorship = { path = "../../substrate/client/basic-authorship" } -sp-timestamp = { path = "../../substrate/primitives/timestamp" } -sp-blockchain = { path = "../../substrate/primitives/blockchain" } -sp-genesis-builder = { path = "../../substrate/primitives/genesis-builder", default-features = false } +sc-network = { workspace = true } +sc-network-sync = { workspace = true } +sc-basic-authorship = { workspace = true } +sp-timestamp = { workspace = true, default-features = true } +sp-blockchain = { workspace = true } +sp-genesis-builder = { workspace = true } @@ -72,5 +72,5 @@ sp-block-builder = { path = "../../substrate/primitives/block-builder" } -sp-keystore = { path = "../../substrate/primitives/keystore" } -sc-chain-spec = { path = "../../substrate/client/chain-spec" } -sc-rpc = { path = "../../substrate/client/rpc" } -sp-version = { path = "../../substrate/primitives/version" } -sc-tracing = { path = "../../substrate/client/tracing" } +sp-keystore = { workspace = true, default-features = true } +sc-chain-spec = { workspace = true } +sc-rpc = { workspace = true } +sp-version = { workspace = true, default-features = true } +sc-tracing = { workspace = true } @@ -78,4 +78,4 @@ sp-offchain = { path = "../../substrate/primitives/offchain" } -frame-system-rpc-runtime-api = { path = "../../substrate/frame/system/rpc/runtime-api" } -pallet-transaction-payment = { path = "../../substrate/frame/transaction-payment" } -pallet-transaction-payment-rpc-runtime-api = { path = "../../substrate/frame/transaction-payment/rpc/runtime-api" } -sp-std = { path = "../../substrate/primitives/std" } +frame-system-rpc-runtime-api = { workspace = true, default-features = true } +pallet-transaction-payment = { workspace = true, default-features = true } +pallet-transaction-payment-rpc-runtime-api = { workspace = true, default-features = true } +sp-std = { workspace = true, default-features = true } @@ -83,3 +83,3 @@ sp-inherents = { path = "../../substrate/primitives/inherents" } -sp-api = { path = "../../substrate/primitives/api" } -sp-consensus-aura = { path = "../../substrate/primitives/consensus/aura" } -sc-sysinfo = { path = "../../substrate/client/sysinfo" } +sp-api = { workspace = true, default-features = true } +sp-consensus-aura = { workspace = true, default-features = true } +sc-sysinfo = { workspace = true } @@ -89,2 +89,2 @@ frame-rpc-system = { package = "substrate-frame-rpc-system", path = "../../subst -pallet-transaction-payment-rpc = { path = "../../substrate/frame/transaction-payment/rpc" } -substrate-state-trie-migration-rpc = { path = "../../substrate/utils/frame/rpc/state-trie-migration-rpc" } +pallet-transaction-payment-rpc = { workspace = true } +substrate-state-trie-migration-rpc = { workspace = true } @@ -94 +94 @@ substrate-state-trie-migration-rpc = { path = "../../substrate/utils/frame/rpc/s -polkadot-cli = { path = "../../polkadot/cli", features = ["rococo-native"] } +polkadot-cli = { features = ["rococo-native"] , workspace = true, default-features = true } @@ -97 +97 @@ polkadot-service = { path = "../../polkadot/node/service" } -xcm = { package = "staging-xcm", path = "../../polkadot/xcm" } +xcm = { workspace = true, default-features = true } @@ -100,12 +100,12 @@ xcm = { package = "staging-xcm", path = "../../polkadot/xcm" } -cumulus-client-cli = { path = "../client/cli" } -cumulus-client-collator = { path = "../client/collator" } -cumulus-client-consensus-aura = { path = "../client/consensus/aura" } -cumulus-client-consensus-relay-chain = { path = "../client/consensus/relay-chain" } -cumulus-client-consensus-common = { path = "../client/consensus/common" } -cumulus-client-consensus-proposer = { path = "../client/consensus/proposer" } -cumulus-client-parachain-inherent = { path = "../client/parachain-inherent" } -cumulus-client-service = { path = "../client/service" } -cumulus-primitives-aura = { path = "../primitives/aura" } -cumulus-primitives-core = { path = "../primitives/core" } -cumulus-relay-chain-interface = { path = "../client/relay-chain-interface" } -color-print = "0.3.4" +cumulus-client-cli = { workspace = true } +cumulus-client-collator = { workspace = true } +cumulus-client-consensus-aura = { workspace = true } +cumulus-client-consensus-relay-chain = { workspace = true } +cumulus-client-consensus-common = { workspace = true } +cumulus-client-consensus-proposer = { workspace = true } +cumulus-client-parachain-inherent = { workspace = true } +cumulus-client-service = { workspace = true } +cumulus-primitives-aura = { workspace = true, default-features = true } +cumulus-primitives-core = { workspace = true, default-features = true } +cumulus-relay-chain-interface = { workspace = true } +color-print = { workspace = true } @@ -114 +114 @@ color-print = "0.3.4" -substrate-build-script-utils = { path = "../../substrate/utils/build-script-utils" } +substrate-build-script-utils = { workspace = true } @@ -117,5 +117,5 @@ substrate-build-script-utils = { path = "../../substrate/utils/build-script-util -assert_cmd = "2.0" -nix = { version = "0.26.1", features = ["signal"] } -tempfile = "3.8.0" -tokio = { version = "1.32.0", features = ["macros", "parking_lot", "time"] } -wait-timeout = "0.2" +assert_cmd = { workspace = true } +nix = { features = ["signal"] , workspace = true } +tempfile = { workspace = true } +tokio = { features = ["macros", "parking_lot", "time"] , workspace = true, default-features = true } +wait-timeout = { workspace = true } diff --git cumulus/primitives/aura/Cargo.toml cumulus/primitives/aura/Cargo.toml index 21c06ef22d..a797d822cf 100644 --- cumulus/primitives/aura/Cargo.toml +++ cumulus/primitives/aura/Cargo.toml @@ -16,2 +16,2 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -sp-api = { path = "../../../substrate/primitives/api", default-features = false } -sp-consensus-aura = { path = "../../../substrate/primitives/consensus/aura", default-features = false } +sp-api = { workspace = true } +sp-consensus-aura = { workspace = true } @@ -19 +19 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-std = { path = "../../../substrate/primitives/std", default-features = false } +sp-std = { workspace = true } @@ -22 +22 @@ sp-std = { path = "../../../substrate/primitives/std", default-features = false -polkadot-core-primitives = { path = "../../../polkadot/core-primitives", default-features = false } +polkadot-core-primitives = { workspace = true } diff --git cumulus/primitives/core/Cargo.toml cumulus/primitives/core/Cargo.toml index 32c5054f35..44858c1e3f 100644 --- cumulus/primitives/core/Cargo.toml +++ cumulus/primitives/core/Cargo.toml @@ -14 +14 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -17 +17 @@ scale-info = { version = "2.10.0", default-features = false, features = ["derive -sp-api = { path = "../../../substrate/primitives/api", default-features = false } +sp-api = { workspace = true } @@ -19,2 +19,2 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-std = { path = "../../../substrate/primitives/std", default-features = false } -sp-trie = { path = "../../../substrate/primitives/trie", default-features = false } +sp-std = { workspace = true } +sp-trie = { workspace = true } @@ -23 +23 @@ sp-trie = { path = "../../../substrate/primitives/trie", default-features = fals -polkadot-core-primitives = { path = "../../../polkadot/core-primitives", default-features = false } +polkadot-core-primitives = { workspace = true } @@ -26 +26 @@ polkadot-primitives = { path = "../../../polkadot/primitives", default-features -xcm = { package = "staging-xcm", path = "../../../polkadot/xcm", default-features = false } +xcm = { workspace = true } diff --git cumulus/primitives/parachain-inherent/Cargo.toml cumulus/primitives/parachain-inherent/Cargo.toml index f434305a0c..61c0e7935e 100644 --- cumulus/primitives/parachain-inherent/Cargo.toml +++ cumulus/primitives/parachain-inherent/Cargo.toml @@ -13 +13 @@ workspace = true -async-trait = { version = "0.1.74", optional = true } +async-trait = { optional = true , workspace = true } @@ -15 +15 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -21,3 +21,3 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", optional = true } -sp-state-machine = { path = "../../../substrate/primitives/state-machine", optional = true } -sp-std = { path = "../../../substrate/primitives/std", default-features = false } -sp-trie = { path = "../../../substrate/primitives/trie", default-features = false } +sp-state-machine = { optional = true , workspace = true, default-features = true } +sp-std = { workspace = true } +sp-trie = { workspace = true } @@ -26 +26 @@ sp-trie = { path = "../../../substrate/primitives/trie", default-features = fals -cumulus-primitives-core = { path = "../core", default-features = false } +cumulus-primitives-core = { workspace = true } diff --git cumulus/primitives/proof-size-hostfunction/Cargo.toml cumulus/primitives/proof-size-hostfunction/Cargo.toml index dd584ce86b..7ceae4de4f 100644 --- cumulus/primitives/proof-size-hostfunction/Cargo.toml +++ cumulus/primitives/proof-size-hostfunction/Cargo.toml @@ -13,3 +13,3 @@ workspace = true -sp-runtime-interface = { path = "../../../substrate/primitives/runtime-interface", default-features = false } -sp-externalities = { path = "../../../substrate/primitives/externalities", default-features = false } -sp-trie = { path = "../../../substrate/primitives/trie", default-features = false } +sp-runtime-interface = { workspace = true } +sp-externalities = { workspace = true } +sp-trie = { workspace = true } @@ -18 +18 @@ sp-trie = { path = "../../../substrate/primitives/trie", default-features = fals -sp-state-machine = { path = "../../../substrate/primitives/state-machine" } +sp-state-machine = { workspace = true, default-features = true } @@ -20 +20 @@ sp-core = { path = "../../../substrate/primitives/core" } -sp-io = { path = "../../../substrate/primitives/io" } +sp-io = { workspace = true, default-features = true } diff --git cumulus/primitives/timestamp/Cargo.toml cumulus/primitives/timestamp/Cargo.toml index 59f327b264..97a1bfaf7a 100644 --- cumulus/primitives/timestamp/Cargo.toml +++ cumulus/primitives/timestamp/Cargo.toml @@ -14 +14 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -futures = "0.3.28" +futures = { workspace = true } @@ -18,2 +18,2 @@ sp-inherents = { path = "../../../substrate/primitives/inherents", default-featu -sp-std = { path = "../../../substrate/primitives/std", default-features = false } -sp-timestamp = { path = "../../../substrate/primitives/timestamp", default-features = false } +sp-std = { workspace = true } +sp-timestamp = { workspace = true } @@ -22 +22 @@ sp-timestamp = { path = "../../../substrate/primitives/timestamp", default-featu -cumulus-primitives-core = { path = "../core", default-features = false } +cumulus-primitives-core = { workspace = true } diff --git cumulus/primitives/utility/Cargo.toml cumulus/primitives/utility/Cargo.toml index 45c0e66709..161af17c60 100644 --- cumulus/primitives/utility/Cargo.toml +++ cumulus/primitives/utility/Cargo.toml @@ -18 +18 @@ frame-support = { path = "../../../substrate/frame/support", default-features = -sp-io = { path = "../../../substrate/primitives/io", default-features = false } +sp-io = { workspace = true } @@ -20,2 +20,2 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-std = { path = "../../../substrate/primitives/std", default-features = false } -pallet-asset-conversion = { path = "../../../substrate/frame/asset-conversion", default-features = false } +sp-std = { workspace = true } +pallet-asset-conversion = { workspace = true } @@ -26,4 +26,4 @@ polkadot-runtime-parachains = { path = "../../../polkadot/runtime/parachains", d -xcm = { package = "staging-xcm", path = "../../../polkadot/xcm", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../../polkadot/xcm/xcm-executor", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../../../polkadot/xcm/xcm-builder", default-features = false } -pallet-xcm-benchmarks = { path = "../../../polkadot/xcm/pallet-xcm-benchmarks", default-features = false } +xcm = { workspace = true } +xcm-executor = { workspace = true } +xcm-builder = { workspace = true } +pallet-xcm-benchmarks = { workspace = true } @@ -32 +32 @@ pallet-xcm-benchmarks = { path = "../../../polkadot/xcm/pallet-xcm-benchmarks", -cumulus-primitives-core = { path = "../core", default-features = false } +cumulus-primitives-core = { workspace = true } diff --git cumulus/test/client/Cargo.toml cumulus/test/client/Cargo.toml index 7190172101..f228595fde 100644 --- cumulus/test/client/Cargo.toml +++ cumulus/test/client/Cargo.toml @@ -16,5 +16,5 @@ sc-service = { path = "../../../substrate/client/service" } -sc-consensus = { path = "../../../substrate/client/consensus/common" } -sc-block-builder = { path = "../../../substrate/client/block-builder" } -sc-executor = { path = "../../../substrate/client/executor" } -sc-executor-common = { path = "../../../substrate/client/executor/common" } -substrate-test-client = { path = "../../../substrate/test-utils/client" } +sc-consensus = { workspace = true } +sc-block-builder = { workspace = true } +sc-executor = { workspace = true } +sc-executor-common = { workspace = true } +substrate-test-client = { workspace = true } @@ -23 +23 @@ sp-core = { path = "../../../substrate/primitives/core" } -sp-api = { path = "../../../substrate/primitives/api" } +sp-api = { workspace = true, default-features = true } @@ -25 +25 @@ sp-keyring = { path = "../../../substrate/primitives/keyring" } -sp-blockchain = { path = "../../../substrate/primitives/blockchain" } +sp-blockchain = { workspace = true } @@ -27,2 +27,2 @@ sp-inherents = { path = "../../../substrate/primitives/inherents" } -sp-io = { path = "../../../substrate/primitives/io" } -sp-timestamp = { path = "../../../substrate/primitives/timestamp" } +sp-io = { workspace = true, default-features = true } +sp-timestamp = { workspace = true, default-features = true } @@ -30,2 +30,2 @@ frame-system = { path = "../../../substrate/frame/system" } -pallet-transaction-payment = { path = "../../../substrate/frame/transaction-payment" } -pallet-balances = { path = "../../../substrate/frame/balances" } +pallet-transaction-payment = { workspace = true, default-features = true } +pallet-balances = { workspace = true, default-features = true } @@ -38,6 +38,6 @@ polkadot-parachain-primitives = { path = "../../../polkadot/parachain" } -cumulus-test-runtime = { path = "../runtime" } -cumulus-test-service = { path = "../service" } -cumulus-test-relay-sproof-builder = { path = "../relay-sproof-builder" } -cumulus-primitives-core = { path = "../../primitives/core" } -cumulus-primitives-proof-size-hostfunction = { path = "../../primitives/proof-size-hostfunction" } -cumulus-primitives-parachain-inherent = { path = "../../primitives/parachain-inherent" } +cumulus-test-runtime = { workspace = true } +cumulus-test-service = { workspace = true } +cumulus-test-relay-sproof-builder = { workspace = true, default-features = true } +cumulus-primitives-core = { workspace = true, default-features = true } +cumulus-primitives-proof-size-hostfunction = { workspace = true, default-features = true } +cumulus-primitives-parachain-inherent = { workspace = true, default-features = true } diff --git cumulus/test/relay-sproof-builder/Cargo.toml cumulus/test/relay-sproof-builder/Cargo.toml index ff5c4bd66b..b0a18b5a57 100644 --- cumulus/test/relay-sproof-builder/Cargo.toml +++ cumulus/test/relay-sproof-builder/Cargo.toml @@ -17,3 +17,3 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-state-machine = { path = "../../../substrate/primitives/state-machine", default-features = false } -sp-trie = { path = "../../../substrate/primitives/trie", default-features = false } -sp-std = { path = "../../../substrate/primitives/std", default-features = false } +sp-state-machine = { workspace = true } +sp-trie = { workspace = true } +sp-std = { workspace = true } @@ -25 +25 @@ polkadot-primitives = { path = "../../../polkadot/primitives", default-features -cumulus-primitives-core = { path = "../../primitives/core", default-features = false } +cumulus-primitives-core = { workspace = true } diff --git cumulus/test/runtime/Cargo.toml cumulus/test/runtime/Cargo.toml index 5902a62512..2b99bd14ab 100644 --- cumulus/test/runtime/Cargo.toml +++ cumulus/test/runtime/Cargo.toml @@ -13 +13 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -16 +16 @@ scale-info = { version = "2.10.0", default-features = false, features = ["derive -frame-executive = { path = "../../../substrate/frame/executive", default-features = false } +frame-executive = { workspace = true } @@ -19,8 +19,8 @@ frame-system = { path = "../../../substrate/frame/system", default-features = fa -frame-system-rpc-runtime-api = { path = "../../../substrate/frame/system/rpc/runtime-api", default-features = false } -pallet-balances = { path = "../../../substrate/frame/balances", default-features = false } -pallet-message-queue = { path = "../../../substrate/frame/message-queue", default-features = false } -pallet-sudo = { path = "../../../substrate/frame/sudo", default-features = false } -pallet-timestamp = { path = "../../../substrate/frame/timestamp", default-features = false } -pallet-glutton = { path = "../../../substrate/frame/glutton", default-features = false } -pallet-transaction-payment = { path = "../../../substrate/frame/transaction-payment", default-features = false } -sp-api = { path = "../../../substrate/primitives/api", default-features = false } +frame-system-rpc-runtime-api = { workspace = true } +pallet-balances = { workspace = true } +pallet-message-queue = { workspace = true } +pallet-sudo = { workspace = true } +pallet-timestamp = { workspace = true } +pallet-glutton = { workspace = true } +pallet-transaction-payment = { workspace = true } +sp-api = { workspace = true } @@ -29 +29 @@ sp-core = { path = "../../../substrate/primitives/core", default-features = fals -sp-genesis-builder = { path = "../../../substrate/primitives/genesis-builder", default-features = false } +sp-genesis-builder = { workspace = true } @@ -31 +31 @@ sp-inherents = { path = "../../../substrate/primitives/inherents", default-featu -sp-io = { path = "../../../substrate/primitives/io", default-features = false } +sp-io = { workspace = true } @@ -34,2 +34,2 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-session = { path = "../../../substrate/primitives/session", default-features = false } -sp-std = { path = "../../../substrate/primitives/std", default-features = false } +sp-session = { workspace = true } +sp-std = { workspace = true } @@ -37 +37 @@ sp-transaction-pool = { path = "../../../substrate/primitives/transaction-pool", -sp-version = { path = "../../../substrate/primitives/version", default-features = false } +sp-version = { workspace = true } @@ -40,2 +40,2 @@ sp-version = { path = "../../../substrate/primitives/version", default-features -cumulus-pallet-parachain-system = { path = "../../pallets/parachain-system", default-features = false, features = ["parameterized-consensus-hook"] } -cumulus-primitives-core = { path = "../../primitives/core", default-features = false } +cumulus-pallet-parachain-system = { features = ["parameterized-consensus-hook"] , workspace = true } +cumulus-primitives-core = { workspace = true } @@ -44 +44 @@ cumulus-primitives-core = { path = "../../primitives/core", default-features = f -substrate-wasm-builder = { path = "../../../substrate/utils/wasm-builder", optional = true } +substrate-wasm-builder = { optional = true , workspace = true } diff --git cumulus/test/service/Cargo.toml cumulus/test/service/Cargo.toml index b26f0b9967..0826f3264a 100644 --- cumulus/test/service/Cargo.toml +++ cumulus/test/service/Cargo.toml @@ -16,2 +16,2 @@ path = "src/main.rs" -async-trait = "0.1.74" -clap = { version = "4.5.1", features = ["derive"] } +async-trait = { workspace = true } +clap = { features = ["derive"] , workspace = true } @@ -19,3 +19,3 @@ codec = { package = "parity-scale-codec", version = "3.0.0" } -criterion = { version = "0.5.1", features = ["async_tokio"] } -jsonrpsee = { version = "0.22", features = ["server"] } -rand = "0.8.5" +criterion = { features = ["async_tokio"] , workspace = true, default-features = true } +jsonrpsee = { features = ["server"] , workspace = true } +rand = { workspace = true, default-features = true } @@ -24,4 +24,4 @@ serde_json = { workspace = true, default-features = true } -tokio = { version = "1.32.0", features = ["macros"] } -tracing = "0.1.37" -url = "2.4.0" -tempfile = "3.8.0" +tokio = { features = ["macros"] , workspace = true, default-features = true } +tracing = { workspace = true, default-features = true } +url = { workspace = true } +tempfile = { workspace = true } @@ -31,4 +31,4 @@ frame-system = { path = "../../../substrate/frame/system" } -frame-system-rpc-runtime-api = { path = "../../../substrate/frame/system/rpc/runtime-api" } -pallet-transaction-payment = { path = "../../../substrate/frame/transaction-payment" } -sc-basic-authorship = { path = "../../../substrate/client/basic-authorship" } -sc-chain-spec = { path = "../../../substrate/client/chain-spec" } +frame-system-rpc-runtime-api = { workspace = true, default-features = true } +pallet-transaction-payment = { workspace = true, default-features = true } +sc-basic-authorship = { workspace = true } +sc-chain-spec = { workspace = true } @@ -36,3 +36,3 @@ sc-client-api = { path = "../../../substrate/client/api" } -sc-consensus = { path = "../../../substrate/client/consensus/common" } -sc-executor = { path = "../../../substrate/client/executor" } -sc-network = { path = "../../../substrate/client/network" } +sc-consensus = { workspace = true } +sc-executor = { workspace = true } +sc-network = { workspace = true } @@ -40,2 +40,2 @@ sc-service = { path = "../../../substrate/client/service" } -sc-tracing = { path = "../../../substrate/client/tracing" } -sc-transaction-pool = { path = "../../../substrate/client/transaction-pool" } +sc-tracing = { workspace = true } +sc-transaction-pool = { workspace = true } @@ -44,2 +44,2 @@ sc-telemetry = { path = "../../../substrate/client/telemetry" } -sp-arithmetic = { path = "../../../substrate/primitives/arithmetic" } -sp-blockchain = { path = "../../../substrate/primitives/blockchain" } +sp-arithmetic = { workspace = true, default-features = true } +sp-blockchain = { workspace = true } @@ -47,2 +47,2 @@ sp-core = { path = "../../../substrate/primitives/core" } -sp-io = { path = "../../../substrate/primitives/io" } -sp-api = { path = "../../../substrate/primitives/api" } +sp-io = { workspace = true, default-features = true } +sp-api = { workspace = true, default-features = true } @@ -51,3 +51,3 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-state-machine = { path = "../../../substrate/primitives/state-machine" } -sp-tracing = { path = "../../../substrate/primitives/tracing" } -sp-timestamp = { path = "../../../substrate/primitives/timestamp" } +sp-state-machine = { workspace = true, default-features = true } +sp-tracing = { workspace = true, default-features = true } +sp-timestamp = { workspace = true, default-features = true } @@ -55,5 +55,5 @@ sp-consensus = { path = "../../../substrate/primitives/consensus/common" } -substrate-test-client = { path = "../../../substrate/test-utils/client" } -sc-cli = { path = "../../../substrate/client/cli" } -sc-block-builder = { path = "../../../substrate/client/block-builder" } -sc-executor-wasmtime = { path = "../../../substrate/client/executor/wasmtime" } -sc-executor-common = { path = "../../../substrate/client/executor/common" } +substrate-test-client = { workspace = true } +sc-cli = { workspace = true, default-features = true } +sc-block-builder = { workspace = true } +sc-executor-wasmtime = { workspace = true } +sc-executor-common = { workspace = true } @@ -64,4 +64,4 @@ polkadot-service = { path = "../../../polkadot/node/service" } -polkadot-test-service = { path = "../../../polkadot/node/test/service" } -polkadot-cli = { path = "../../../polkadot/cli" } -polkadot-node-subsystem = { path = "../../../polkadot/node/subsystem" } -polkadot-overseer = { path = "../../../polkadot/node/overseer" } +polkadot-test-service = { workspace = true } +polkadot-cli = { workspace = true, default-features = true } +polkadot-node-subsystem = { workspace = true } +polkadot-overseer = { workspace = true } @@ -70,15 +70,15 @@ polkadot-overseer = { path = "../../../polkadot/node/overseer" } -cumulus-client-cli = { path = "../../client/cli" } -parachains-common = { path = "../../parachains/common" } -cumulus-client-consensus-common = { path = "../../client/consensus/common" } -cumulus-client-consensus-relay-chain = { path = "../../client/consensus/relay-chain" } -cumulus-client-parachain-inherent = { path = "../../client/parachain-inherent" } -cumulus-client-service = { path = "../../client/service" } -cumulus-primitives-core = { path = "../../primitives/core" } -cumulus-relay-chain-inprocess-interface = { path = "../../client/relay-chain-inprocess-interface" } -cumulus-relay-chain-interface = { path = "../../client/relay-chain-interface" } -cumulus-test-runtime = { path = "../runtime" } -cumulus-relay-chain-minimal-node = { path = "../../client/relay-chain-minimal-node" } -cumulus-client-pov-recovery = { path = "../../client/pov-recovery" } -cumulus-test-relay-sproof-builder = { path = "../relay-sproof-builder" } -cumulus-pallet-parachain-system = { path = "../../pallets/parachain-system", default-features = false, features = ["parameterized-consensus-hook"] } -pallet-timestamp = { path = "../../../substrate/frame/timestamp" } +cumulus-client-cli = { workspace = true } +parachains-common = { workspace = true, default-features = true } +cumulus-client-consensus-common = { workspace = true } +cumulus-client-consensus-relay-chain = { workspace = true } +cumulus-client-parachain-inherent = { workspace = true } +cumulus-client-service = { workspace = true } +cumulus-primitives-core = { workspace = true, default-features = true } +cumulus-relay-chain-inprocess-interface = { workspace = true } +cumulus-relay-chain-interface = { workspace = true } +cumulus-test-runtime = { workspace = true } +cumulus-relay-chain-minimal-node = { workspace = true } +cumulus-client-pov-recovery = { workspace = true } +cumulus-test-relay-sproof-builder = { workspace = true, default-features = true } +cumulus-pallet-parachain-system = { features = ["parameterized-consensus-hook"] , workspace = true } +pallet-timestamp = { workspace = true, default-features = true } @@ -87,4 +87,4 @@ pallet-timestamp = { path = "../../../substrate/frame/timestamp" } -futures = "0.3.28" -portpicker = "0.1.1" -rococo-parachain-runtime = { path = "../../parachains/runtimes/testing/rococo-parachain" } -pallet-im-online = { path = "../../../substrate/frame/im-online" } +futures = { workspace = true } +portpicker = { workspace = true } +rococo-parachain-runtime = { workspace = true } +pallet-im-online = { workspace = true, default-features = true } @@ -93 +93 @@ sp-authority-discovery = { path = "../../../substrate/primitives/authority-disco -cumulus-test-client = { path = "../client" } +cumulus-test-client = { workspace = true } @@ -96 +96 @@ cumulus-test-client = { path = "../client" } -polkadot-test-service = { path = "../../../polkadot/node/test/service" } +polkadot-test-service = { workspace = true } @@ -99,2 +99,2 @@ polkadot-test-service = { path = "../../../polkadot/node/test/service" } -sc-cli = { path = "../../../substrate/client/cli" } -substrate-test-utils = { path = "../../../substrate/test-utils" } +sc-cli = { workspace = true, default-features = true } +substrate-test-utils = { workspace = true } diff --git cumulus/xcm/xcm-emulator/Cargo.toml cumulus/xcm/xcm-emulator/Cargo.toml index 6b45770a8e..05e47835df 100644 --- cumulus/xcm/xcm-emulator/Cargo.toml +++ cumulus/xcm/xcm-emulator/Cargo.toml @@ -14 +14 @@ codec = { package = "parity-scale-codec", version = "3.0.0" } -paste = "1.0.14" +paste = { workspace = true, default-features = true } @@ -16,2 +16,2 @@ log = { workspace = true } -lazy_static = "1.4.0" -impl-trait-for-tuples = "0.2.2" +lazy_static = { workspace = true } +impl-trait-for-tuples = { workspace = true } @@ -22 +22 @@ frame-system = { path = "../../../substrate/frame/system" } -sp-io = { path = "../../../substrate/primitives/io" } +sp-io = { workspace = true, default-features = true } @@ -24,2 +24,2 @@ sp-core = { path = "../../../substrate/primitives/core" } -sp-crypto-hashing = { path = "../../../substrate/primitives/crypto/hashing" } -sp-std = { path = "../../../substrate/primitives/std" } +sp-crypto-hashing = { workspace = true, default-features = true } +sp-std = { workspace = true, default-features = true } @@ -27,4 +27,4 @@ sp-runtime = { path = "../../../substrate/primitives/runtime" } -sp-arithmetic = { path = "../../../substrate/primitives/arithmetic" } -sp-tracing = { path = "../../../substrate/primitives/tracing" } -pallet-balances = { path = "../../../substrate/frame/balances" } -pallet-message-queue = { path = "../../../substrate/frame/message-queue" } +sp-arithmetic = { workspace = true, default-features = true } +sp-tracing = { workspace = true, default-features = true } +pallet-balances = { workspace = true, default-features = true } +pallet-message-queue = { workspace = true, default-features = true } @@ -33,6 +33,6 @@ pallet-message-queue = { path = "../../../substrate/frame/message-queue" } -cumulus-primitives-core = { path = "../../primitives/core" } -cumulus-pallet-xcmp-queue = { path = "../../pallets/xcmp-queue" } -cumulus-pallet-parachain-system = { path = "../../pallets/parachain-system" } -cumulus-primitives-parachain-inherent = { path = "../../primitives/parachain-inherent" } -cumulus-test-relay-sproof-builder = { path = "../../test/relay-sproof-builder" } -parachains-common = { path = "../../parachains/common" } +cumulus-primitives-core = { workspace = true, default-features = true } +cumulus-pallet-xcmp-queue = { workspace = true, default-features = true } +cumulus-pallet-parachain-system = { workspace = true, default-features = true } +cumulus-primitives-parachain-inherent = { workspace = true, default-features = true } +cumulus-test-relay-sproof-builder = { workspace = true, default-features = true } +parachains-common = { workspace = true, default-features = true } @@ -41,2 +41,2 @@ parachains-common = { path = "../../parachains/common" } -xcm = { package = "staging-xcm", path = "../../../polkadot/xcm" } -xcm-executor = { package = "staging-xcm-executor", path = "../../../polkadot/xcm/xcm-executor" } +xcm = { workspace = true, default-features = true } +xcm-executor = { workspace = true, default-features = true } diff --git docs/sdk/Cargo.toml docs/sdk/Cargo.toml index 05aced8751..0fa043a71f 100644 --- docs/sdk/Cargo.toml +++ docs/sdk/Cargo.toml @@ -19,4 +19,4 @@ parity-scale-codec = { version = "3.0.0", default-features = false } -scale-info = { version = "2.6.0", default-features = false } -frame = { path = "../../substrate/frame", features = ["experimental", "runtime"] } -pallet-examples = { path = "../../substrate/frame/examples" } -pallet-default-config-example = { path = "../../substrate/frame/examples/default-config" } +scale-info = { workspace = true } +frame = { features = ["experimental", "runtime"] , workspace = true, default-features = true } +pallet-examples = { workspace = true } +pallet-default-config-example = { workspace = true, default-features = true } @@ -25,2 +25,2 @@ pallet-default-config-example = { path = "../../substrate/frame/examples/default -simple-mermaid = "0.1.1" -docify = "0.2.7" +simple-mermaid = { workspace = true } +docify = { workspace = true } @@ -29,4 +29,4 @@ docify = "0.2.7" -node-cli = { package = "staging-node-cli", path = "../../substrate/bin/node/cli" } -kitchensink-runtime = { path = "../../substrate/bin/node/runtime" } -chain-spec-builder = { package = "staging-chain-spec-builder", path = "../../substrate/bin/utils/chain-spec-builder" } -subkey = { path = "../../substrate/bin/utils/subkey" } +node-cli = { workspace = true } +kitchensink-runtime = { workspace = true } +chain-spec-builder = { workspace = true } +subkey = { workspace = true } @@ -35,6 +35,6 @@ subkey = { path = "../../substrate/bin/utils/subkey" } -sc-network = { path = "../../substrate/client/network" } -sc-rpc-api = { path = "../../substrate/client/rpc-api" } -sc-rpc = { path = "../../substrate/client/rpc" } -sc-client-db = { path = "../../substrate/client/db" } -sc-cli = { path = "../../substrate/client/cli" } -sc-consensus-aura = { path = "../../substrate/client/consensus/aura" } +sc-network = { workspace = true } +sc-rpc-api = { workspace = true } +sc-rpc = { workspace = true } +sc-client-db = { workspace = true, default-features = true } +sc-cli = { workspace = true, default-features = true } +sc-consensus-aura = { workspace = true } @@ -44,3 +44,3 @@ sc-consensus-beefy = { path = "../../substrate/client/consensus/beefy" } -sc-consensus-manual-seal = { path = "../../substrate/client/consensus/manual-seal" } -sc-consensus-pow = { path = "../../substrate/client/consensus/pow" } -substrate-wasm-builder = { path = "../../substrate/utils/wasm-builder" } +sc-consensus-manual-seal = { workspace = true } +sc-consensus-pow = { workspace = true } +substrate-wasm-builder = { workspace = true } @@ -49,2 +49,2 @@ substrate-wasm-builder = { path = "../../substrate/utils/wasm-builder" } -cumulus-pallet-aura-ext = { path = "../../cumulus/pallets/aura-ext" } -cumulus-pallet-parachain-system = { path = "../../cumulus/pallets/parachain-system", features = [ +cumulus-pallet-aura-ext = { workspace = true, default-features = true } +cumulus-pallet-parachain-system = { features = [ @@ -52,4 +52,4 @@ cumulus-pallet-parachain-system = { path = "../../cumulus/pallets/parachain-syst -] } -parachain-info = { package = "staging-parachain-info", path = "../../cumulus/parachains/pallets/parachain-info" } -pallet-aura = { path = "../../substrate/frame/aura", default-features = false } -pallet-timestamp = { path = "../../substrate/frame/timestamp" } +] , workspace = true, default-features = true } +parachain-info = { workspace = true, default-features = true } +pallet-aura = { workspace = true } +pallet-timestamp = { workspace = true, default-features = true } @@ -58,2 +58,2 @@ pallet-timestamp = { path = "../../substrate/frame/timestamp" } -sp-io = { path = "../../substrate/primitives/io" } -sp-api = { path = "../../substrate/primitives/api" } +sp-io = { workspace = true, default-features = true } +sp-api = { workspace = true, default-features = true } @@ -65 +65 @@ sp-runtime = { path = "../../substrate/primitives/runtime" } -xcm = { package = "staging-xcm", path = "../../polkadot/xcm" } +xcm = { workspace = true, default-features = true } @@ -69 +69 @@ parity-scale-codec = "3.6.5" -scale-info = "2.9.0" +scale-info = { workspace = true, default-features = true } diff --git polkadot/Cargo.toml polkadot/Cargo.toml index b0d71a18ea..eea22b2334 100644 --- polkadot/Cargo.toml +++ polkadot/Cargo.toml @@ -28,2 +28,2 @@ workspace = true -color-eyre = { version = "0.6.1", default-features = false } -tikv-jemallocator = { version = "0.5.0", optional = true, features = ["unprefixed_malloc_on_supported_platforms"] } +color-eyre = { workspace = true } +tikv-jemallocator = { optional = true, features = ["unprefixed_malloc_on_supported_platforms"] , workspace = true } @@ -32,4 +32,4 @@ tikv-jemallocator = { version = "0.5.0", optional = true, features = ["unprefixe -polkadot-cli = { path = "cli", features = ["rococo-native", "westend-native"] } -polkadot-node-core-pvf = { path = "node/core/pvf" } -polkadot-node-core-pvf-prepare-worker = { path = "node/core/pvf/prepare-worker" } -polkadot-overseer = { path = "node/overseer" } +polkadot-cli = { features = ["rococo-native", "westend-native"] , workspace = true, default-features = true } +polkadot-node-core-pvf = { workspace = true } +polkadot-node-core-pvf-prepare-worker = { workspace = true } +polkadot-overseer = { workspace = true } @@ -38,2 +38,2 @@ polkadot-overseer = { path = "node/overseer" } -polkadot-node-core-pvf-common = { path = "node/core/pvf/common" } -polkadot-node-core-pvf-execute-worker = { path = "node/core/pvf/execute-worker" } +polkadot-node-core-pvf-common = { workspace = true } +polkadot-node-core-pvf-execute-worker = { workspace = true } @@ -45,6 +45,6 @@ tikv-jemallocator = { version = "0.5.0", features = ["unprefixed_malloc_on_suppo -assert_cmd = "2.0.4" -nix = { version = "0.26.1", features = ["signal"] } -tempfile = "3.2.0" -tokio = "1.24.2" -substrate-rpc-client = { path = "../substrate/utils/frame/rpc/client/" } -polkadot-core-primitives = { path = "core-primitives" } +assert_cmd = { workspace = true } +nix = { features = ["signal"] , workspace = true } +tempfile = { workspace = true } +tokio = { workspace = true, default-features = true } +substrate-rpc-client = { workspace = true } +polkadot-core-primitives = { workspace = true, default-features = true } @@ -53 +53 @@ polkadot-core-primitives = { path = "core-primitives" } -substrate-build-script-utils = { path = "../substrate/utils/build-script-utils" } +substrate-build-script-utils = { workspace = true } diff --git polkadot/cli/Cargo.toml polkadot/cli/Cargo.toml index b9232f9598..38523f6aab 100644 --- polkadot/cli/Cargo.toml +++ polkadot/cli/Cargo.toml @@ -21,2 +21,2 @@ crate-type = ["cdylib", "rlib"] -cfg-if = "1.0" -clap = { version = "4.5.1", features = ["derive"], optional = true } +cfg-if = { workspace = true } +clap = { features = ["derive"], optional = true , workspace = true } @@ -25 +25 @@ thiserror = { workspace = true } -futures = "0.3.21" +futures = { workspace = true } @@ -27 +27 @@ pyro = { package = "pyroscope", version = "0.5.3", optional = true } -pyroscope_pprofrs = { version = "0.2", optional = true } +pyroscope_pprofrs = { optional = true , workspace = true } @@ -32 +32 @@ sp-core = { path = "../../substrate/primitives/core" } -sp-io = { path = "../../substrate/primitives/io" } +sp-io = { workspace = true, default-features = true } @@ -34,4 +34,4 @@ sp-keyring = { path = "../../substrate/primitives/keyring" } -sp-maybe-compressed-blob = { path = "../../substrate/primitives/maybe-compressed-blob" } -frame-benchmarking-cli = { path = "../../substrate/utils/frame/benchmarking-cli", optional = true } -try-runtime-cli = { path = "../../substrate/utils/frame/try-runtime/cli", optional = true } -sc-cli = { path = "../../substrate/client/cli", optional = true } +sp-maybe-compressed-blob = { workspace = true } +frame-benchmarking-cli = { optional = true , workspace = true } +try-runtime-cli = { optional = true , workspace = true } +sc-cli = { optional = true , workspace = true, default-features = true } @@ -39 +39 @@ sc-service = { path = "../../substrate/client/service", optional = true } -polkadot-node-metrics = { path = "../node/metrics" } +polkadot-node-metrics = { workspace = true } @@ -41,4 +41,4 @@ polkadot-node-primitives = { path = "../node/primitives" } -sc-tracing = { path = "../../substrate/client/tracing", optional = true } -sc-sysinfo = { path = "../../substrate/client/sysinfo" } -sc-executor = { path = "../../substrate/client/executor" } -sc-storage-monitor = { path = "../../substrate/client/storage-monitor" } +sc-tracing = { optional = true , workspace = true } +sc-sysinfo = { workspace = true } +sc-executor = { workspace = true } +sc-storage-monitor = { workspace = true } @@ -48 +48 @@ sp-runtime = { path = "../../substrate/primitives/runtime" } -substrate-build-script-utils = { path = "../../substrate/utils/build-script-utils" } +substrate-build-script-utils = { workspace = true } diff --git polkadot/core-primitives/Cargo.toml polkadot/core-primitives/Cargo.toml index d3aef89cb7..af04cf2b3c 100644 --- polkadot/core-primitives/Cargo.toml +++ polkadot/core-primitives/Cargo.toml @@ -14 +14 @@ sp-core = { path = "../../substrate/primitives/core", default-features = false } -sp-std = { path = "../../substrate/primitives/std", default-features = false } +sp-std = { workspace = true } @@ -16 +16 @@ sp-runtime = { path = "../../substrate/primitives/runtime", default-features = f -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } diff --git polkadot/erasure-coding/Cargo.toml polkadot/erasure-coding/Cargo.toml index 677f15c4b9..ac28a808ff 100644 --- polkadot/erasure-coding/Cargo.toml +++ polkadot/erasure-coding/Cargo.toml @@ -15 +15 @@ polkadot-node-primitives = { package = "polkadot-node-primitives", path = "../no -novelpoly = { package = "reed-solomon-novelpoly", version = "2.0.0" } +novelpoly = { workspace = true } @@ -18 +18 @@ sp-core = { path = "../../substrate/primitives/core" } -sp-trie = { path = "../../substrate/primitives/trie" } +sp-trie = { workspace = true, default-features = true } @@ -22 +22 @@ thiserror = { workspace = true } -criterion = { version = "0.4.0", default-features = false, features = ["cargo_bench_support"] } +criterion = { features = ["cargo_bench_support"] , workspace = true } diff --git polkadot/erasure-coding/fuzzer/Cargo.toml polkadot/erasure-coding/fuzzer/Cargo.toml index 4e5ef9d229..ca3b1cb1f8 100644 --- polkadot/erasure-coding/fuzzer/Cargo.toml +++ polkadot/erasure-coding/fuzzer/Cargo.toml @@ -14 +14 @@ polkadot-erasure-coding = { path = ".." } -honggfuzz = "0.5" +honggfuzz = { workspace = true } diff --git polkadot/node/collation-generation/Cargo.toml polkadot/node/collation-generation/Cargo.toml index 8df0c2b1ed..1fa9d8b0b5 100644 --- polkadot/node/collation-generation/Cargo.toml +++ polkadot/node/collation-generation/Cargo.toml @@ -13,2 +13,2 @@ workspace = true -futures = "0.3.21" -gum = { package = "tracing-gum", path = "../gum" } +futures = { workspace = true } +gum = { workspace = true } @@ -17,2 +17,2 @@ polkadot-node-primitives = { path = "../primitives" } -polkadot-node-subsystem = { path = "../subsystem" } -polkadot-node-subsystem-util = { path = "../subsystem-util" } +polkadot-node-subsystem = { workspace = true } +polkadot-node-subsystem-util = { workspace = true } @@ -21 +21 @@ sp-core = { path = "../../../substrate/primitives/core" } -sp-maybe-compressed-blob = { path = "../../../substrate/primitives/maybe-compressed-blob" } +sp-maybe-compressed-blob = { workspace = true } @@ -28 +28 @@ test-helpers = { package = "polkadot-primitives-test-helpers", path = "../../pri -assert_matches = "1.4.0" +assert_matches = { workspace = true } diff --git polkadot/node/core/approval-voting/Cargo.toml polkadot/node/core/approval-voting/Cargo.toml index f6d89dbc15..a24b737677 100644 --- polkadot/node/core/approval-voting/Cargo.toml +++ polkadot/node/core/approval-voting/Cargo.toml @@ -13,2 +13,2 @@ workspace = true -futures = "0.3.21" -futures-timer = "3.0.2" +futures = { workspace = true } +futures-timer = { workspace = true } @@ -16,7 +16,7 @@ parity-scale-codec = { version = "3.6.1", default-features = false, features = [ -gum = { package = "tracing-gum", path = "../../gum" } -bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } -schnellru = "0.2.1" -merlin = "3.0" -schnorrkel = "0.11.4" -kvdb = "0.13.0" -derive_more = "0.99.17" +gum = { workspace = true } +bitvec = { features = ["alloc"] , workspace = true } +schnellru = { workspace = true } +merlin = { workspace = true, default-features = true } +schnorrkel = { workspace = true, default-features = true } +kvdb = { workspace = true } +derive_more = { workspace = true, default-features = true } @@ -24 +24 @@ thiserror = { workspace = true } -itertools = "0.10.5" +itertools = { workspace = true } @@ -26,3 +26,3 @@ itertools = "0.10.5" -polkadot-node-subsystem = { path = "../../subsystem" } -polkadot-node-subsystem-util = { path = "../../subsystem-util" } -polkadot-overseer = { path = "../../overseer" } +polkadot-node-subsystem = { workspace = true } +polkadot-node-subsystem-util = { workspace = true } +polkadot-overseer = { workspace = true } @@ -31 +31 @@ polkadot-node-primitives = { path = "../../primitives" } -polkadot-node-jaeger = { path = "../../jaeger" } +polkadot-node-jaeger = { workspace = true } @@ -33 +33 @@ polkadot-node-jaeger = { path = "../../jaeger" } -sc-keystore = { path = "../../../../substrate/client/keystore", default-features = false } +sc-keystore = { workspace = true } @@ -35 +35 @@ sp-consensus = { path = "../../../../substrate/primitives/consensus/common", def -sp-consensus-slots = { path = "../../../../substrate/primitives/consensus/slots", default-features = false } +sp-consensus-slots = { workspace = true } @@ -39,3 +39,3 @@ sp-runtime = { path = "../../../../substrate/primitives/runtime", default-featur -rand_core = "0.6.2" -rand_chacha = { version = "0.3.1" } -rand = "0.8.5" +rand_core = { workspace = true } +rand_chacha = { workspace = true, default-features = true } +rand = { workspace = true, default-features = true } @@ -44,2 +44,2 @@ rand = "0.8.5" -async-trait = "0.1.74" -parking_lot = "0.12.1" +async-trait = { workspace = true } +parking_lot = { workspace = true, default-features = true } @@ -47 +47 @@ sp-keyring = { path = "../../../../substrate/primitives/keyring" } -sp-keystore = { path = "../../../../substrate/primitives/keystore" } +sp-keystore = { workspace = true, default-features = true } @@ -51,2 +51,2 @@ polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } -assert_matches = "1.4.0" -kvdb-memorydb = "0.13.0" +assert_matches = { workspace = true } +kvdb-memorydb = { workspace = true } @@ -55 +55 @@ log = { workspace = true, default-features = true } -env_logger = "0.9.0" +env_logger = { workspace = true } diff --git polkadot/node/core/av-store/Cargo.toml polkadot/node/core/av-store/Cargo.toml index 05212da747..83c81cca14 100644 --- polkadot/node/core/av-store/Cargo.toml +++ polkadot/node/core/av-store/Cargo.toml @@ -13,3 +13,3 @@ workspace = true -futures = "0.3.21" -futures-timer = "3.0.2" -kvdb = "0.13.0" +futures = { workspace = true } +futures-timer = { workspace = true } +kvdb = { workspace = true } @@ -17,2 +17,2 @@ thiserror = { workspace = true } -gum = { package = "tracing-gum", path = "../../gum" } -bitvec = "1.0.0" +gum = { workspace = true } +bitvec = { workspace = true, default-features = true } @@ -22,3 +22,3 @@ erasure = { package = "polkadot-erasure-coding", path = "../../../erasure-coding -polkadot-node-subsystem = { path = "../../subsystem" } -polkadot-node-subsystem-util = { path = "../../subsystem-util" } -polkadot-overseer = { path = "../../overseer" } +polkadot-node-subsystem = { workspace = true } +polkadot-node-subsystem-util = { workspace = true } +polkadot-overseer = { workspace = true } @@ -28 +28 @@ sp-consensus = { path = "../../../../substrate/primitives/consensus/common", def -polkadot-node-jaeger = { path = "../../jaeger" } +polkadot-node-jaeger = { workspace = true } @@ -32,3 +32,3 @@ log = { workspace = true, default-features = true } -env_logger = "0.9.0" -assert_matches = "1.4.0" -kvdb-memorydb = "0.13.0" +env_logger = { workspace = true } +assert_matches = { workspace = true } +kvdb-memorydb = { workspace = true } @@ -37 +37 @@ sp-core = { path = "../../../../substrate/primitives/core" } -polkadot-node-subsystem-util = { path = "../../subsystem-util" } +polkadot-node-subsystem-util = { workspace = true } @@ -40 +40 @@ sp-keyring = { path = "../../../../substrate/primitives/keyring" } -parking_lot = "0.12.1" +parking_lot = { workspace = true, default-features = true } diff --git polkadot/node/core/backing/Cargo.toml polkadot/node/core/backing/Cargo.toml index d0c1f9aa48..e3d6653578 100644 --- polkadot/node/core/backing/Cargo.toml +++ polkadot/node/core/backing/Cargo.toml @@ -13,2 +13,2 @@ workspace = true -futures = "0.3.21" -sp-keystore = { path = "../../../../substrate/primitives/keystore" } +futures = { workspace = true } +sp-keystore = { workspace = true, default-features = true } @@ -17,2 +17,2 @@ polkadot-node-primitives = { path = "../../primitives" } -polkadot-node-subsystem = { path = "../../subsystem" } -polkadot-node-subsystem-util = { path = "../../subsystem-util" } +polkadot-node-subsystem = { workspace = true } +polkadot-node-subsystem-util = { workspace = true } @@ -21,2 +21,2 @@ statement-table = { package = "polkadot-statement-table", path = "../../../state -bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } -gum = { package = "tracing-gum", path = "../../gum" } +bitvec = { features = ["alloc"] , workspace = true } +gum = { workspace = true } @@ -24,2 +24,2 @@ thiserror = { workspace = true } -fatality = "0.0.6" -schnellru = "0.2.1" +fatality = { workspace = true } +schnellru = { workspace = true } @@ -31,5 +31,5 @@ sp-keyring = { path = "../../../../substrate/primitives/keyring" } -sc-keystore = { path = "../../../../substrate/client/keystore" } -sp-tracing = { path = "../../../../substrate/primitives/tracing" } -futures = { version = "0.3.21", features = ["thread-pool"] } -assert_matches = "1.4.0" -rstest = "0.18.2" +sc-keystore = { workspace = true, default-features = true } +sp-tracing = { workspace = true, default-features = true } +futures = { features = ["thread-pool"] , workspace = true } +assert_matches = { workspace = true } +rstest = { workspace = true } diff --git polkadot/node/core/bitfield-signing/Cargo.toml polkadot/node/core/bitfield-signing/Cargo.toml index 6ecfffd724..95a9cac07c 100644 --- polkadot/node/core/bitfield-signing/Cargo.toml +++ polkadot/node/core/bitfield-signing/Cargo.toml @@ -13,2 +13,2 @@ workspace = true -futures = "0.3.21" -gum = { package = "tracing-gum", path = "../../gum" } +futures = { workspace = true } +gum = { workspace = true } @@ -16,4 +16,4 @@ polkadot-primitives = { path = "../../../primitives" } -polkadot-node-subsystem = { path = "../../subsystem" } -polkadot-node-subsystem-util = { path = "../../subsystem-util" } -sp-keystore = { path = "../../../../substrate/primitives/keystore" } -wasm-timer = "0.2.5" +polkadot-node-subsystem = { workspace = true } +polkadot-node-subsystem-util = { workspace = true } +sp-keystore = { workspace = true, default-features = true } +wasm-timer = { workspace = true } diff --git polkadot/node/core/candidate-validation/Cargo.toml polkadot/node/core/candidate-validation/Cargo.toml index 15fc8c940d..75594fb5af 100644 --- polkadot/node/core/candidate-validation/Cargo.toml +++ polkadot/node/core/candidate-validation/Cargo.toml @@ -13,4 +13,4 @@ workspace = true -async-trait = "0.1.74" -futures = "0.3.21" -futures-timer = "3.0.2" -gum = { package = "tracing-gum", path = "../../gum" } +async-trait = { workspace = true } +futures = { workspace = true } +futures-timer = { workspace = true } +gum = { workspace = true } @@ -18 +18 @@ gum = { package = "tracing-gum", path = "../../gum" } -sp-maybe-compressed-blob = { package = "sp-maybe-compressed-blob", path = "../../../../substrate/primitives/maybe-compressed-blob" } +sp-maybe-compressed-blob = { workspace = true } @@ -24,4 +24,4 @@ polkadot-node-primitives = { path = "../../primitives" } -polkadot-node-subsystem = { path = "../../subsystem" } -polkadot-node-subsystem-util = { path = "../../subsystem-util" } -polkadot-node-metrics = { path = "../../metrics" } -polkadot-overseer = { path = "../../overseer" } +polkadot-node-subsystem = { workspace = true } +polkadot-node-subsystem-util = { workspace = true } +polkadot-node-metrics = { workspace = true } +polkadot-overseer = { workspace = true } @@ -34,2 +34,2 @@ sp-keyring = { path = "../../../../substrate/primitives/keyring" } -futures = { version = "0.3.21", features = ["thread-pool"] } -assert_matches = "1.4.0" +futures = { features = ["thread-pool"] , workspace = true } +assert_matches = { workspace = true } diff --git polkadot/node/core/chain-api/Cargo.toml polkadot/node/core/chain-api/Cargo.toml index 9aa017ecba..290540bfb7 100644 --- polkadot/node/core/chain-api/Cargo.toml +++ polkadot/node/core/chain-api/Cargo.toml @@ -13,5 +13,5 @@ workspace = true -futures = "0.3.21" -gum = { package = "tracing-gum", path = "../../gum" } -polkadot-node-metrics = { path = "../../metrics" } -polkadot-node-subsystem = { path = "../../subsystem" } -polkadot-node-subsystem-types = { path = "../../subsystem-types" } +futures = { workspace = true } +gum = { workspace = true } +polkadot-node-metrics = { workspace = true } +polkadot-node-subsystem = { workspace = true } +polkadot-node-subsystem-types = { workspace = true } @@ -22,2 +22,2 @@ sc-consensus-babe = { path = "../../../../substrate/client/consensus/babe" } -futures = { version = "0.3.21", features = ["thread-pool"] } -maplit = "1.0.2" +futures = { features = ["thread-pool"] , workspace = true } +maplit = { workspace = true } @@ -29 +29 @@ sp-core = { path = "../../../../substrate/primitives/core" } -sp-blockchain = { path = "../../../../substrate/primitives/blockchain" } +sp-blockchain = { workspace = true } diff --git polkadot/node/core/chain-selection/Cargo.toml polkadot/node/core/chain-selection/Cargo.toml index 96fd42785c..4ada8341ff 100644 --- polkadot/node/core/chain-selection/Cargo.toml +++ polkadot/node/core/chain-selection/Cargo.toml @@ -13,3 +13,3 @@ workspace = true -futures = "0.3.21" -futures-timer = "3" -gum = { package = "tracing-gum", path = "../../gum" } +futures = { workspace = true } +futures-timer = { workspace = true } +gum = { workspace = true } @@ -18,3 +18,3 @@ polkadot-node-primitives = { path = "../../primitives" } -polkadot-node-subsystem = { path = "../../subsystem" } -polkadot-node-subsystem-util = { path = "../../subsystem-util" } -kvdb = "0.13.0" +polkadot-node-subsystem = { workspace = true } +polkadot-node-subsystem-util = { workspace = true } +kvdb = { workspace = true } @@ -27,3 +27,3 @@ sp-core = { path = "../../../../substrate/primitives/core" } -parking_lot = "0.12.1" -assert_matches = "1" -kvdb-memorydb = "0.13.0" +parking_lot = { workspace = true, default-features = true } +assert_matches = { workspace = true } +kvdb-memorydb = { workspace = true } diff --git polkadot/node/core/dispute-coordinator/Cargo.toml polkadot/node/core/dispute-coordinator/Cargo.toml index 1fff0a7717..a160f68048 100644 --- polkadot/node/core/dispute-coordinator/Cargo.toml +++ polkadot/node/core/dispute-coordinator/Cargo.toml @@ -13,2 +13,2 @@ workspace = true -futures = "0.3.21" -gum = { package = "tracing-gum", path = "../../gum" } +futures = { workspace = true } +gum = { workspace = true } @@ -16 +16 @@ parity-scale-codec = "3.6.1" -kvdb = "0.13.0" +kvdb = { workspace = true } @@ -18,2 +18,2 @@ thiserror = { workspace = true } -schnellru = "0.2.1" -fatality = "0.0.6" +schnellru = { workspace = true } +fatality = { workspace = true } @@ -23,2 +23,2 @@ polkadot-node-primitives = { path = "../../primitives" } -polkadot-node-subsystem = { path = "../../subsystem" } -polkadot-node-subsystem-util = { path = "../../subsystem-util" } +polkadot-node-subsystem = { workspace = true } +polkadot-node-subsystem-util = { workspace = true } @@ -26 +26 @@ polkadot-node-subsystem-util = { path = "../../subsystem-util" } -sc-keystore = { path = "../../../../substrate/client/keystore" } +sc-keystore = { workspace = true, default-features = true } @@ -30 +30 @@ sc-keystore = { path = "../../../../substrate/client/keystore" } -kvdb-memorydb = "0.13.0" +kvdb-memorydb = { workspace = true } @@ -34,2 +34,2 @@ sp-core = { path = "../../../../substrate/primitives/core" } -sp-keystore = { path = "../../../../substrate/primitives/keystore" } -assert_matches = "1.4.0" +sp-keystore = { workspace = true, default-features = true } +assert_matches = { workspace = true } @@ -37 +37 @@ test-helpers = { package = "polkadot-primitives-test-helpers", path = "../../../ -futures-timer = "3.0.2" +futures-timer = { workspace = true } @@ -39 +39 @@ sp-application-crypto = { path = "../../../../substrate/primitives/application-c -sp-tracing = { path = "../../../../substrate/primitives/tracing" } +sp-tracing = { workspace = true, default-features = true } diff --git polkadot/node/core/parachains-inherent/Cargo.toml polkadot/node/core/parachains-inherent/Cargo.toml index 24da4dc1e3..ee9d48334a 100644 --- polkadot/node/core/parachains-inherent/Cargo.toml +++ polkadot/node/core/parachains-inherent/Cargo.toml @@ -13,3 +13,3 @@ workspace = true -futures = "0.3.21" -futures-timer = "3.0.2" -gum = { package = "tracing-gum", path = "../../gum" } +futures = { workspace = true } +futures-timer = { workspace = true } +gum = { workspace = true } @@ -17,3 +17,3 @@ thiserror = { workspace = true } -async-trait = "0.1.74" -polkadot-node-subsystem = { path = "../../subsystem" } -polkadot-overseer = { path = "../../overseer" } +async-trait = { workspace = true } +polkadot-node-subsystem = { workspace = true } +polkadot-overseer = { workspace = true } @@ -21 +21 @@ polkadot-primitives = { path = "../../../primitives" } -sp-blockchain = { path = "../../../../substrate/primitives/blockchain" } +sp-blockchain = { workspace = true } diff --git polkadot/node/core/prospective-parachains/Cargo.toml polkadot/node/core/prospective-parachains/Cargo.toml index 5b62d90c1d..d4a8898330 100644 --- polkadot/node/core/prospective-parachains/Cargo.toml +++ polkadot/node/core/prospective-parachains/Cargo.toml @@ -13,2 +13,2 @@ workspace = true -futures = "0.3.19" -gum = { package = "tracing-gum", path = "../../gum" } +futures = { workspace = true } +gum = { workspace = true } @@ -17,2 +17,2 @@ thiserror = { workspace = true } -fatality = "0.0.6" -bitvec = "1" +fatality = { workspace = true } +bitvec = { workspace = true, default-features = true } @@ -22,2 +22,2 @@ polkadot-node-primitives = { path = "../../primitives" } -polkadot-node-subsystem = { path = "../../subsystem" } -polkadot-node-subsystem-util = { path = "../../subsystem-util" } +polkadot-node-subsystem = { workspace = true } +polkadot-node-subsystem-util = { workspace = true } @@ -26 +26 @@ polkadot-node-subsystem-util = { path = "../../subsystem-util" } -assert_matches = "1" +assert_matches = { workspace = true } @@ -28 +28 @@ polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } -polkadot-node-subsystem-types = { path = "../../subsystem-types" } +polkadot-node-subsystem-types = { workspace = true } @@ -31 +31 @@ sp-core = { path = "../../../../substrate/primitives/core" } -sc-keystore = { path = "../../../../substrate/client/keystore" } +sc-keystore = { workspace = true, default-features = true } @@ -34 +34 @@ sp-keyring = { path = "../../../../substrate/primitives/keyring" } -sp-keystore = { path = "../../../../substrate/primitives/keystore" } +sp-keystore = { workspace = true, default-features = true } diff --git polkadot/node/core/provisioner/Cargo.toml polkadot/node/core/provisioner/Cargo.toml index 24cdfd6b57..8a71bd7208 100644 --- polkadot/node/core/provisioner/Cargo.toml +++ polkadot/node/core/provisioner/Cargo.toml @@ -13,3 +13,3 @@ workspace = true -bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } -futures = "0.3.21" -gum = { package = "tracing-gum", path = "../../gum" } +bitvec = { features = ["alloc"] , workspace = true } +futures = { workspace = true } +gum = { workspace = true } @@ -19,4 +19,4 @@ polkadot-node-primitives = { path = "../../primitives" } -polkadot-node-subsystem = { path = "../../subsystem" } -polkadot-node-subsystem-util = { path = "../../subsystem-util" } -futures-timer = "3.0.2" -fatality = "0.0.6" +polkadot-node-subsystem = { workspace = true } +polkadot-node-subsystem-util = { workspace = true } +futures-timer = { workspace = true } +fatality = { workspace = true } @@ -26 +26 @@ sp-application-crypto = { path = "../../../../substrate/primitives/application-c -sp-keystore = { path = "../../../../substrate/primitives/keystore" } +sp-keystore = { workspace = true, default-features = true } diff --git polkadot/node/core/pvf-checker/Cargo.toml polkadot/node/core/pvf-checker/Cargo.toml index f4f954e316..aa3b5e437d 100644 --- polkadot/node/core/pvf-checker/Cargo.toml +++ polkadot/node/core/pvf-checker/Cargo.toml @@ -13 +13 @@ workspace = true -futures = "0.3.21" +futures = { workspace = true } @@ -15 +15 @@ thiserror = { workspace = true } -gum = { package = "tracing-gum", path = "../../gum" } +gum = { workspace = true } @@ -18 +18 @@ polkadot-node-primitives = { path = "../../primitives" } -polkadot-node-subsystem = { path = "../../subsystem" } +polkadot-node-subsystem = { workspace = true } @@ -20,2 +20,2 @@ polkadot-primitives = { path = "../../../primitives" } -polkadot-node-subsystem-util = { path = "../../subsystem-util" } -polkadot-overseer = { path = "../../overseer" } +polkadot-node-subsystem-util = { workspace = true } +polkadot-overseer = { workspace = true } @@ -23 +23 @@ polkadot-overseer = { path = "../../overseer" } -sp-keystore = { path = "../../../../substrate/primitives/keystore" } +sp-keystore = { workspace = true, default-features = true } @@ -28 +28 @@ sp-runtime = { path = "../../../../substrate/primitives/runtime" } -sc-keystore = { path = "../../../../substrate/client/keystore" } +sc-keystore = { workspace = true, default-features = true } @@ -33 +33 @@ sp-application-crypto = { path = "../../../../substrate/primitives/application-c -futures-timer = "3.0.2" +futures-timer = { workspace = true } diff --git polkadot/node/core/pvf/Cargo.toml polkadot/node/core/pvf/Cargo.toml index 9ed64b88ff..d131fc7ac7 100644 --- polkadot/node/core/pvf/Cargo.toml +++ polkadot/node/core/pvf/Cargo.toml @@ -13,13 +13,13 @@ workspace = true -always-assert = "0.1" -array-bytes = "6.1" -blake3 = "1.5" -cfg-if = "1.0" -futures = "0.3.21" -futures-timer = "3.0.2" -gum = { package = "tracing-gum", path = "../../gum" } -is_executable = "1.0.1" -libc = "0.2.152" -pin-project = "1.0.9" -rand = "0.8.5" -slotmap = "1.0" -tempfile = "3.3.0" +always-assert = { workspace = true } +array-bytes = { workspace = true, default-features = true } +blake3 = { workspace = true } +cfg-if = { workspace = true } +futures = { workspace = true } +futures-timer = { workspace = true } +gum = { workspace = true } +is_executable = { workspace = true } +libc = { workspace = true } +pin-project = { workspace = true } +rand = { workspace = true, default-features = true } +slotmap = { workspace = true } +tempfile = { workspace = true } @@ -27 +27 @@ thiserror = { workspace = true } -tokio = { version = "1.24.2", features = ["fs", "process"] } +tokio = { features = ["fs", "process"] , workspace = true, default-features = true } @@ -32,3 +32,3 @@ polkadot-parachain-primitives = { path = "../../../parachain" } -polkadot-core-primitives = { path = "../../../core-primitives" } -polkadot-node-core-pvf-common = { path = "common" } -polkadot-node-metrics = { path = "../../metrics" } +polkadot-core-primitives = { workspace = true, default-features = true } +polkadot-node-core-pvf-common = { workspace = true } +polkadot-node-metrics = { workspace = true } @@ -36 +36 @@ polkadot-node-primitives = { path = "../../primitives" } -polkadot-node-subsystem = { path = "../../subsystem" } +polkadot-node-subsystem = { workspace = true } @@ -40,4 +40,4 @@ sp-core = { path = "../../../../substrate/primitives/core" } -sp-wasm-interface = { path = "../../../../substrate/primitives/wasm-interface" } -sp-maybe-compressed-blob = { path = "../../../../substrate/primitives/maybe-compressed-blob" } -polkadot-node-core-pvf-prepare-worker = { path = "prepare-worker", optional = true } -polkadot-node-core-pvf-execute-worker = { path = "execute-worker", optional = true } +sp-wasm-interface = { workspace = true, default-features = true } +sp-maybe-compressed-blob = { workspace = true } +polkadot-node-core-pvf-prepare-worker = { optional = true , workspace = true } +polkadot-node-core-pvf-execute-worker = { optional = true , workspace = true } @@ -46,3 +46,3 @@ polkadot-node-core-pvf-execute-worker = { path = "execute-worker", optional = tr -assert_matches = "1.4.0" -criterion = { version = "0.4.0", default-features = false, features = ["async_tokio", "cargo_bench_support"] } -hex-literal = "0.4.1" +assert_matches = { workspace = true } +criterion = { features = ["async_tokio", "cargo_bench_support"] , workspace = true } +hex-literal = { workspace = true, default-features = true } @@ -50 +50 @@ hex-literal = "0.4.1" -polkadot-node-core-pvf-common = { path = "common", features = ["test-utils"] } +polkadot-node-core-pvf-common = { features = ["test-utils"] , workspace = true } @@ -53,2 +53,2 @@ polkadot-node-core-pvf-common = { path = "common", features = ["test-utils"] } -polkadot-node-core-pvf = { path = ".", features = ["test-utils"] } -rococo-runtime = { path = "../../../runtime/rococo" } +polkadot-node-core-pvf = { features = ["test-utils"] , workspace = true } +rococo-runtime = { workspace = true } @@ -57 +57 @@ adder = { package = "test-parachain-adder", path = "../../../parachain/test-para -halt = { package = "test-parachain-halt", path = "../../../parachain/test-parachains/halt" } +halt = { workspace = true } diff --git polkadot/node/core/pvf/common/Cargo.toml polkadot/node/core/pvf/common/Cargo.toml index 56bad9792f..4b8923e43b 100644 --- polkadot/node/core/pvf/common/Cargo.toml +++ polkadot/node/core/pvf/common/Cargo.toml @@ -13,5 +13,5 @@ workspace = true -cfg-if = "1.0" -cpu-time = "1.0.0" -futures = "0.3.21" -gum = { package = "tracing-gum", path = "../../../gum" } -libc = "0.2.152" +cfg-if = { workspace = true } +cpu-time = { workspace = true } +futures = { workspace = true } +gum = { workspace = true } +libc = { workspace = true } @@ -25,3 +25,3 @@ polkadot-primitives = { path = "../../../../primitives" } -sc-executor = { path = "../../../../../substrate/client/executor" } -sc-executor-common = { path = "../../../../../substrate/client/executor/common" } -sc-executor-wasmtime = { path = "../../../../../substrate/client/executor/wasmtime" } +sc-executor = { workspace = true } +sc-executor-common = { workspace = true } +sc-executor-wasmtime = { workspace = true } @@ -30,4 +30,4 @@ sp-core = { path = "../../../../../substrate/primitives/core" } -sp-crypto-hashing = { path = "../../../../../substrate/primitives/crypto/hashing" } -sp-externalities = { path = "../../../../../substrate/primitives/externalities" } -sp-io = { path = "../../../../../substrate/primitives/io" } -sp-tracing = { path = "../../../../../substrate/primitives/tracing" } +sp-crypto-hashing = { workspace = true, default-features = true } +sp-externalities = { workspace = true, default-features = true } +sp-io = { workspace = true, default-features = true } +sp-tracing = { workspace = true, default-features = true } @@ -43,2 +43,2 @@ seccompiler = "0.4.0" -assert_matches = "1.4.0" -tempfile = "3.3.0" +assert_matches = { workspace = true } +tempfile = { workspace = true } diff --git polkadot/node/core/pvf/execute-worker/Cargo.toml polkadot/node/core/pvf/execute-worker/Cargo.toml index 04a620573b..962a8ccb93 100644 --- polkadot/node/core/pvf/execute-worker/Cargo.toml +++ polkadot/node/core/pvf/execute-worker/Cargo.toml @@ -13,5 +13,5 @@ workspace = true -cpu-time = "1.0.0" -gum = { package = "tracing-gum", path = "../../../gum" } -cfg-if = "1.0" -nix = { version = "0.27.1", features = ["process", "resource", "sched"] } -libc = "0.2.152" +cpu-time = { workspace = true } +gum = { workspace = true } +cfg-if = { workspace = true } +nix = { features = ["process", "resource", "sched"] , workspace = true } +libc = { workspace = true } @@ -21 +21 @@ parity-scale-codec = { version = "3.6.1", default-features = false, features = [ -polkadot-node-core-pvf-common = { path = "../common" } +polkadot-node-core-pvf-common = { workspace = true } diff --git polkadot/node/core/pvf/prepare-worker/Cargo.toml polkadot/node/core/pvf/prepare-worker/Cargo.toml index 24efbec4be..61c244ecd6 100644 --- polkadot/node/core/pvf/prepare-worker/Cargo.toml +++ polkadot/node/core/pvf/prepare-worker/Cargo.toml @@ -13,9 +13,9 @@ workspace = true -blake3 = "1.5" -cfg-if = "1.0" -gum = { package = "tracing-gum", path = "../../../gum" } -libc = "0.2.152" -rayon = "1.5.1" -tracking-allocator = { package = "staging-tracking-allocator", path = "../../../tracking-allocator" } -tikv-jemalloc-ctl = { version = "0.5.0", optional = true } -tikv-jemallocator = { version = "0.5.0", optional = true } -nix = { version = "0.27.1", features = ["process", "resource", "sched"] } +blake3 = { workspace = true } +cfg-if = { workspace = true } +gum = { workspace = true } +libc = { workspace = true } +rayon = { workspace = true } +tracking-allocator = { workspace = true } +tikv-jemalloc-ctl = { optional = true , workspace = true } +tikv-jemallocator = { optional = true , workspace = true } +nix = { features = ["process", "resource", "sched"] , workspace = true } @@ -25 +25 @@ parity-scale-codec = { version = "3.6.1", default-features = false, features = [ -polkadot-node-core-pvf-common = { path = "../common" } +polkadot-node-core-pvf-common = { workspace = true } @@ -28,2 +28,2 @@ polkadot-primitives = { path = "../../../../primitives" } -sc-executor-common = { path = "../../../../../substrate/client/executor/common" } -sc-executor-wasmtime = { path = "../../../../../substrate/client/executor/wasmtime" } +sc-executor-common = { workspace = true } +sc-executor-wasmtime = { workspace = true } @@ -44,3 +44,3 @@ jemalloc-allocator = [ -criterion = { version = "0.4.0", default-features = false, features = ["cargo_bench_support"] } -rococo-runtime = { path = "../../../../runtime/rococo" } -sp-maybe-compressed-blob = { path = "../../../../../substrate/primitives/maybe-compressed-blob" } +criterion = { features = ["cargo_bench_support"] , workspace = true } +rococo-runtime = { workspace = true } +sp-maybe-compressed-blob = { workspace = true } diff --git polkadot/node/core/runtime-api/Cargo.toml polkadot/node/core/runtime-api/Cargo.toml index 2de3a6ee32..7c90e94904 100644 --- polkadot/node/core/runtime-api/Cargo.toml +++ polkadot/node/core/runtime-api/Cargo.toml @@ -13,3 +13,3 @@ workspace = true -futures = "0.3.21" -gum = { package = "tracing-gum", path = "../../gum" } -schnellru = "0.2.1" +futures = { workspace = true } +gum = { workspace = true } +schnellru = { workspace = true } @@ -20,3 +20,3 @@ polkadot-primitives = { path = "../../../primitives" } -polkadot-node-metrics = { path = "../../metrics" } -polkadot-node-subsystem = { path = "../../subsystem" } -polkadot-node-subsystem-types = { path = "../../subsystem-types" } +polkadot-node-metrics = { workspace = true } +polkadot-node-subsystem = { workspace = true } +polkadot-node-subsystem-types = { workspace = true } @@ -25 +25 @@ polkadot-node-subsystem-types = { path = "../../subsystem-types" } -sp-api = { path = "../../../../substrate/primitives/api" } +sp-api = { workspace = true, default-features = true } @@ -28,2 +28,2 @@ sp-keyring = { path = "../../../../substrate/primitives/keyring" } -async-trait = "0.1.74" -futures = { version = "0.3.21", features = ["thread-pool"] } +async-trait = { workspace = true } +futures = { features = ["thread-pool"] , workspace = true } diff --git polkadot/node/gum/Cargo.toml polkadot/node/gum/Cargo.toml index 0d887b9be5..8e732460a4 100644 --- polkadot/node/gum/Cargo.toml +++ polkadot/node/gum/Cargo.toml @@ -13,3 +13,3 @@ workspace = true -coarsetime = "0.1.22" -tracing = "0.1.35" -gum-proc-macro = { package = "tracing-gum-proc-macro", path = "proc-macro" } +coarsetime = { workspace = true } +tracing = { workspace = true, default-features = true } +gum-proc-macro = { workspace = true } diff --git polkadot/node/gum/proc-macro/Cargo.toml polkadot/node/gum/proc-macro/Cargo.toml index 70126b4f43..da6364977c 100644 --- polkadot/node/gum/proc-macro/Cargo.toml +++ polkadot/node/gum/proc-macro/Cargo.toml @@ -21,3 +21,3 @@ quote = { workspace = true } -proc-macro2 = "1.0.56" -proc-macro-crate = "3.0.0" -expander = "2.0.0" +proc-macro2 = { workspace = true } +proc-macro-crate = { workspace = true } +expander = { workspace = true } @@ -26 +26 @@ expander = "2.0.0" -assert_matches = "1.5.0" +assert_matches = { workspace = true } diff --git polkadot/node/jaeger/Cargo.toml polkadot/node/jaeger/Cargo.toml index 23ab8f8421..ff88fe046f 100644 --- polkadot/node/jaeger/Cargo.toml +++ polkadot/node/jaeger/Cargo.toml @@ -13,3 +13,3 @@ workspace = true -mick-jaeger = "0.1.8" -lazy_static = "1.4" -parking_lot = "0.12.1" +mick-jaeger = { workspace = true } +lazy_static = { workspace = true } +parking_lot = { workspace = true, default-features = true } @@ -18 +18 @@ polkadot-node-primitives = { path = "../primitives" } -sc-network = { path = "../../../substrate/client/network" } +sc-network = { workspace = true } @@ -21 +21 @@ thiserror = { workspace = true } -tokio = "1.24.2" +tokio = { workspace = true, default-features = true } diff --git polkadot/node/malus/Cargo.toml polkadot/node/malus/Cargo.toml index ea25b9077f..70a2410deb 100644 --- polkadot/node/malus/Cargo.toml +++ polkadot/node/malus/Cargo.toml @@ -32,7 +32,7 @@ doc = false -polkadot-cli = { path = "../../cli", features = ["malus", "rococo-native", "westend-native"] } -polkadot-node-subsystem = { path = "../subsystem" } -polkadot-node-subsystem-util = { path = "../subsystem-util" } -polkadot-node-subsystem-types = { path = "../subsystem-types" } -polkadot-node-core-dispute-coordinator = { path = "../core/dispute-coordinator" } -polkadot-node-core-candidate-validation = { path = "../core/candidate-validation" } -polkadot-node-core-backing = { path = "../core/backing" } +polkadot-cli = { features = ["malus", "rococo-native", "westend-native"] , workspace = true, default-features = true } +polkadot-node-subsystem = { workspace = true } +polkadot-node-subsystem-util = { workspace = true } +polkadot-node-subsystem-types = { workspace = true } +polkadot-node-core-dispute-coordinator = { workspace = true } +polkadot-node-core-candidate-validation = { workspace = true } +polkadot-node-core-backing = { workspace = true } @@ -41,4 +41,4 @@ polkadot-primitives = { path = "../../primitives" } -color-eyre = { version = "0.6.1", default-features = false } -assert_matches = "1.5" -async-trait = "0.1.74" -sp-keystore = { path = "../../../substrate/primitives/keystore" } +color-eyre = { workspace = true } +assert_matches = { workspace = true } +async-trait = { workspace = true } +sp-keystore = { workspace = true, default-features = true } @@ -46,4 +46,4 @@ sp-core = { path = "../../../substrate/primitives/core" } -clap = { version = "4.5.1", features = ["derive"] } -futures = "0.3.21" -futures-timer = "3.0.2" -gum = { package = "tracing-gum", path = "../gum" } +clap = { features = ["derive"] , workspace = true } +futures = { workspace = true } +futures-timer = { workspace = true } +gum = { workspace = true } @@ -51 +51 @@ erasure = { package = "polkadot-erasure-coding", path = "../../erasure-coding" } -rand = "0.8.5" +rand = { workspace = true, default-features = true } @@ -54,3 +54,3 @@ rand = "0.8.5" -polkadot-node-core-pvf-common = { path = "../core/pvf/common" } -polkadot-node-core-pvf-execute-worker = { path = "../core/pvf/execute-worker" } -polkadot-node-core-pvf-prepare-worker = { path = "../core/pvf/prepare-worker" } +polkadot-node-core-pvf-common = { workspace = true } +polkadot-node-core-pvf-execute-worker = { workspace = true } +polkadot-node-core-pvf-prepare-worker = { workspace = true } @@ -61 +61 @@ sp-core = { path = "../../../substrate/primitives/core" } -futures = { version = "0.3.21", features = ["thread-pool"] } +futures = { features = ["thread-pool"] , workspace = true } @@ -64 +64 @@ futures = { version = "0.3.21", features = ["thread-pool"] } -substrate-build-script-utils = { path = "../../../substrate/utils/build-script-utils" } +substrate-build-script-utils = { workspace = true } diff --git polkadot/node/metrics/Cargo.toml polkadot/node/metrics/Cargo.toml index c567278f70..b349935cef 100644 --- polkadot/node/metrics/Cargo.toml +++ polkadot/node/metrics/Cargo.toml @@ -13,3 +13,3 @@ workspace = true -futures = "0.3.21" -futures-timer = "3.0.2" -gum = { package = "tracing-gum", path = "../gum" } +futures = { workspace = true } +futures-timer = { workspace = true } +gum = { workspace = true } @@ -17 +17 @@ gum = { package = "tracing-gum", path = "../gum" } -metered = { package = "prioritized-metered-channel", version = "0.6.1", default-features = false, features = ["futures_channel"] } +metered = { features = ["futures_channel"] , workspace = true } @@ -20 +20 @@ sc-service = { path = "../../../substrate/client/service" } -sc-cli = { path = "../../../substrate/client/cli" } +sc-cli = { workspace = true, default-features = true } @@ -23 +23 @@ substrate-prometheus-endpoint = { path = "../../../substrate/utils/prometheus" } -sc-tracing = { path = "../../../substrate/client/tracing" } +sc-tracing = { workspace = true } @@ -26 +26 @@ primitives = { package = "polkadot-primitives", path = "../../primitives" } -bs58 = { version = "0.5.0", features = ["alloc"] } +bs58 = { features = ["alloc"] , workspace = true, default-features = true } @@ -30,6 +30,6 @@ log = { workspace = true, default-features = true } -assert_cmd = "2.0.4" -tempfile = "3.2.0" -hyper = { version = "0.14.20", default-features = false, features = ["http1", "tcp"] } -tokio = "1.24.2" -polkadot-test-service = { path = "../test/service", features = ["runtime-metrics"] } -substrate-test-utils = { path = "../../../substrate/test-utils" } +assert_cmd = { workspace = true } +tempfile = { workspace = true } +hyper = { features = ["http1", "tcp"] , workspace = true } +tokio = { workspace = true, default-features = true } +polkadot-test-service = { features = ["runtime-metrics"] , workspace = true } +substrate-test-utils = { workspace = true } @@ -38 +38 @@ sp-keyring = { path = "../../../substrate/primitives/keyring" } -prometheus-parse = { version = "0.2.2" } +prometheus-parse = { workspace = true } diff --git polkadot/node/network/approval-distribution/Cargo.toml polkadot/node/network/approval-distribution/Cargo.toml index 2bc09c5f42..f722eece23 100644 --- polkadot/node/network/approval-distribution/Cargo.toml +++ polkadot/node/network/approval-distribution/Cargo.toml @@ -13,2 +13,2 @@ workspace = true -polkadot-node-metrics = { path = "../../metrics" } -polkadot-node-network-protocol = { path = "../protocol" } +polkadot-node-metrics = { workspace = true } +polkadot-node-network-protocol = { workspace = true } @@ -16,2 +16,2 @@ polkadot-node-primitives = { path = "../../primitives" } -polkadot-node-subsystem = { path = "../../subsystem" } -polkadot-node-subsystem-util = { path = "../../subsystem-util" } +polkadot-node-subsystem = { workspace = true } +polkadot-node-subsystem-util = { workspace = true } @@ -19,3 +19,3 @@ polkadot-primitives = { path = "../../../primitives" } -polkadot-node-jaeger = { path = "../../jaeger" } -rand = "0.8" -itertools = "0.10.5" +polkadot-node-jaeger = { workspace = true } +rand = { workspace = true, default-features = true } +itertools = { workspace = true } @@ -23,4 +23,4 @@ itertools = "0.10.5" -futures = "0.3.21" -futures-timer = "3.0.2" -gum = { package = "tracing-gum", path = "../../gum" } -bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } +futures = { workspace = true } +futures-timer = { workspace = true } +gum = { workspace = true } +bitvec = { features = ["alloc"] , workspace = true } @@ -35,2 +35,2 @@ polkadot-primitives-test-helpers = { path = "../../../primitives/test-helpers" } -assert_matches = "1.4.0" -schnorrkel = { version = "0.11.4", default-features = false } +assert_matches = { workspace = true } +schnorrkel = { workspace = true } @@ -38,3 +38,3 @@ schnorrkel = { version = "0.11.4", default-features = false } -rand_core = "0.6.2" -rand_chacha = "0.3.1" -env_logger = "0.9.0" +rand_core = { workspace = true } +rand_chacha = { workspace = true, default-features = true } +env_logger = { workspace = true } diff --git polkadot/node/network/availability-distribution/Cargo.toml polkadot/node/network/availability-distribution/Cargo.toml index 432501ed23..fd1f23d0f1 100644 --- polkadot/node/network/availability-distribution/Cargo.toml +++ polkadot/node/network/availability-distribution/Cargo.toml @@ -13,2 +13,2 @@ workspace = true -futures = "0.3.21" -gum = { package = "tracing-gum", path = "../../gum" } +futures = { workspace = true } +gum = { workspace = true } @@ -18,3 +18,3 @@ polkadot-erasure-coding = { path = "../../../erasure-coding" } -polkadot-node-network-protocol = { path = "../protocol" } -polkadot-node-subsystem = { path = "../../subsystem" } -polkadot-node-subsystem-util = { path = "../../subsystem-util" } +polkadot-node-network-protocol = { workspace = true } +polkadot-node-subsystem = { workspace = true } +polkadot-node-subsystem-util = { workspace = true } @@ -23 +23 @@ sp-core = { path = "../../../../substrate/primitives/core", features = ["std"] } -sp-keystore = { path = "../../../../substrate/primitives/keystore" } +sp-keystore = { workspace = true, default-features = true } @@ -25,4 +25,4 @@ thiserror = { workspace = true } -rand = "0.8.5" -derive_more = "0.99.17" -schnellru = "0.2.1" -fatality = "0.0.6" +rand = { workspace = true, default-features = true } +derive_more = { workspace = true, default-features = true } +schnellru = { workspace = true } +fatality = { workspace = true } @@ -34,4 +34,4 @@ sp-keyring = { path = "../../../../substrate/primitives/keyring" } -sp-tracing = { path = "../../../../substrate/primitives/tracing" } -sc-network = { path = "../../../../substrate/client/network" } -futures-timer = "3.0.2" -assert_matches = "1.4.0" +sp-tracing = { workspace = true, default-features = true } +sc-network = { workspace = true } +futures-timer = { workspace = true } +assert_matches = { workspace = true } diff --git polkadot/node/network/availability-recovery/Cargo.toml polkadot/node/network/availability-recovery/Cargo.toml index 9eddf5c86d..55e2a7b73c 100644 --- polkadot/node/network/availability-recovery/Cargo.toml +++ polkadot/node/network/availability-recovery/Cargo.toml @@ -13,5 +13,5 @@ workspace = true -futures = "0.3.21" -tokio = "1.24.2" -schnellru = "0.2.1" -rand = "0.8.5" -fatality = "0.0.6" +futures = { workspace = true } +tokio = { workspace = true, default-features = true } +schnellru = { workspace = true } +rand = { workspace = true, default-features = true } +fatality = { workspace = true } @@ -19,2 +19,2 @@ thiserror = { workspace = true } -async-trait = "0.1.74" -gum = { package = "tracing-gum", path = "../../gum" } +async-trait = { workspace = true } +gum = { workspace = true } @@ -25,3 +25,3 @@ polkadot-node-primitives = { path = "../../primitives" } -polkadot-node-subsystem = { path = "../../subsystem" } -polkadot-node-subsystem-util = { path = "../../subsystem-util" } -polkadot-node-network-protocol = { path = "../protocol" } +polkadot-node-subsystem = { workspace = true } +polkadot-node-subsystem-util = { workspace = true } +polkadot-node-network-protocol = { workspace = true } @@ -29 +29 @@ parity-scale-codec = { version = "3.6.1", default-features = false, features = [ -sc-network = { path = "../../../../substrate/client/network" } +sc-network = { workspace = true } @@ -32,3 +32,3 @@ sc-network = { path = "../../../../substrate/client/network" } -assert_matches = "1.4.0" -env_logger = "0.9.0" -futures-timer = "3.0.2" +assert_matches = { workspace = true } +env_logger = { workspace = true } +futures-timer = { workspace = true } @@ -40 +40 @@ sp-application-crypto = { path = "../../../../substrate/primitives/application-c -sc-network = { path = "../../../../substrate/client/network" } +sc-network = { workspace = true } diff --git polkadot/node/network/bitfield-distribution/Cargo.toml polkadot/node/network/bitfield-distribution/Cargo.toml index 0ddb5f643b..b6fb14b901 100644 --- polkadot/node/network/bitfield-distribution/Cargo.toml +++ polkadot/node/network/bitfield-distribution/Cargo.toml @@ -13,4 +13,4 @@ workspace = true -always-assert = "0.1" -futures = "0.3.21" -futures-timer = "3.0.2" -gum = { package = "tracing-gum", path = "../../gum" } +always-assert = { workspace = true } +futures = { workspace = true } +futures-timer = { workspace = true } +gum = { workspace = true } @@ -18,4 +18,4 @@ polkadot-primitives = { path = "../../../primitives" } -polkadot-node-subsystem = { path = "../../subsystem" } -polkadot-node-subsystem-util = { path = "../../subsystem-util" } -polkadot-node-network-protocol = { path = "../protocol" } -rand = "0.8" +polkadot-node-subsystem = { workspace = true } +polkadot-node-subsystem-util = { workspace = true } +polkadot-node-network-protocol = { workspace = true } +rand = { workspace = true, default-features = true } @@ -25 +25 @@ polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } -bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } +bitvec = { features = ["alloc"] , workspace = true } @@ -29 +29 @@ sp-authority-discovery = { path = "../../../../substrate/primitives/authority-di -sp-keystore = { path = "../../../../substrate/primitives/keystore" } +sp-keystore = { workspace = true, default-features = true } @@ -31 +31 @@ sp-keyring = { path = "../../../../substrate/primitives/keyring" } -maplit = "1.0.2" +maplit = { workspace = true } @@ -33,3 +33,3 @@ log = { workspace = true, default-features = true } -env_logger = "0.9.0" -assert_matches = "1.4.0" -rand_chacha = "0.3.1" +env_logger = { workspace = true } +assert_matches = { workspace = true } +rand_chacha = { workspace = true, default-features = true } diff --git polkadot/node/network/bridge/Cargo.toml polkadot/node/network/bridge/Cargo.toml index 2e889fc30e..83e79fc852 100644 --- polkadot/node/network/bridge/Cargo.toml +++ polkadot/node/network/bridge/Cargo.toml @@ -13,4 +13,4 @@ workspace = true -always-assert = "0.1" -async-trait = "0.1.74" -futures = "0.3.21" -gum = { package = "tracing-gum", path = "../../gum" } +always-assert = { workspace = true } +async-trait = { workspace = true } +futures = { workspace = true } +gum = { workspace = true } @@ -19 +19 @@ parity-scale-codec = { version = "3.6.1", default-features = false, features = [ -sc-network = { path = "../../../../substrate/client/network" } +sc-network = { workspace = true } @@ -21,7 +21,7 @@ sp-consensus = { path = "../../../../substrate/primitives/consensus/common" } -polkadot-node-metrics = { path = "../../metrics" } -polkadot-node-network-protocol = { path = "../protocol" } -polkadot-node-subsystem = { path = "../../subsystem" } -polkadot-overseer = { path = "../../overseer" } -parking_lot = "0.12.1" -bytes = "1" -fatality = "0.0.6" +polkadot-node-metrics = { workspace = true } +polkadot-node-network-protocol = { workspace = true } +polkadot-node-subsystem = { workspace = true } +polkadot-overseer = { workspace = true } +parking_lot = { workspace = true, default-features = true } +bytes = { workspace = true, default-features = true } +fatality = { workspace = true } @@ -31 +31 @@ thiserror = { workspace = true } -assert_matches = "1.4.0" +assert_matches = { workspace = true } @@ -33 +33 @@ polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } -polkadot-node-subsystem-util = { path = "../../subsystem-util" } +polkadot-node-subsystem-util = { workspace = true } @@ -36 +36 @@ sp-keyring = { path = "../../../../substrate/primitives/keyring" } -futures-timer = "3" +futures-timer = { workspace = true } diff --git polkadot/node/network/collator-protocol/Cargo.toml polkadot/node/network/collator-protocol/Cargo.toml index f0f8be0f7b..9fd378b8c4 100644 --- polkadot/node/network/collator-protocol/Cargo.toml +++ polkadot/node/network/collator-protocol/Cargo.toml @@ -13,4 +13,4 @@ workspace = true -bitvec = { version = "1.0.1", default-features = false, features = ["alloc"] } -futures = "0.3.21" -futures-timer = "3" -gum = { package = "tracing-gum", path = "../../gum" } +bitvec = { features = ["alloc"] , workspace = true } +futures = { workspace = true } +futures-timer = { workspace = true } +gum = { workspace = true } @@ -20 +20 @@ sp-runtime = { path = "../../../../substrate/primitives/runtime" } -sp-keystore = { path = "../../../../substrate/primitives/keystore" } +sp-keystore = { workspace = true, default-features = true } @@ -23 +23 @@ polkadot-primitives = { path = "../../../primitives" } -polkadot-node-network-protocol = { path = "../protocol" } +polkadot-node-network-protocol = { workspace = true } @@ -25,3 +25,3 @@ polkadot-node-primitives = { path = "../../primitives" } -polkadot-node-subsystem-util = { path = "../../subsystem-util" } -polkadot-node-subsystem = { path = "../../subsystem" } -fatality = "0.0.6" +polkadot-node-subsystem-util = { workspace = true } +polkadot-node-subsystem = { workspace = true } +fatality = { workspace = true } @@ -29 +29 @@ thiserror = { workspace = true } -tokio-util = "0.7.1" +tokio-util = { workspace = true } @@ -33,2 +33,2 @@ log = { workspace = true, default-features = true } -env_logger = "0.9.0" -assert_matches = "1.4.0" +env_logger = { workspace = true } +assert_matches = { workspace = true } @@ -38,2 +38,2 @@ sp-keyring = { path = "../../../../substrate/primitives/keyring" } -sc-keystore = { path = "../../../../substrate/client/keystore" } -sc-network = { path = "../../../../substrate/client/network" } +sc-keystore = { workspace = true, default-features = true } +sc-network = { workspace = true } diff --git polkadot/node/network/dispute-distribution/Cargo.toml polkadot/node/network/dispute-distribution/Cargo.toml index 14d59d04f2..e6416039e4 100644 --- polkadot/node/network/dispute-distribution/Cargo.toml +++ polkadot/node/network/dispute-distribution/Cargo.toml @@ -13,4 +13,4 @@ workspace = true -futures = "0.3.21" -futures-timer = "3.0.2" -gum = { package = "tracing-gum", path = "../../gum" } -derive_more = "0.99.17" +futures = { workspace = true } +futures-timer = { workspace = true } +gum = { workspace = true } +derive_more = { workspace = true, default-features = true } @@ -20,3 +20,3 @@ polkadot-erasure-coding = { path = "../../../erasure-coding" } -polkadot-node-subsystem = { path = "../../subsystem" } -polkadot-node-network-protocol = { path = "../protocol" } -polkadot-node-subsystem-util = { path = "../../subsystem-util" } +polkadot-node-subsystem = { workspace = true } +polkadot-node-network-protocol = { workspace = true } +polkadot-node-subsystem-util = { workspace = true } @@ -24 +24 @@ polkadot-node-primitives = { path = "../../primitives" } -sc-network = { path = "../../../../substrate/client/network" } +sc-network = { workspace = true } @@ -26 +26 @@ sp-application-crypto = { path = "../../../../substrate/primitives/application-c -sp-keystore = { path = "../../../../substrate/primitives/keystore" } +sp-keystore = { workspace = true, default-features = true } @@ -28,3 +28,3 @@ thiserror = { workspace = true } -fatality = "0.0.6" -schnellru = "0.2.1" -indexmap = "2.0.0" +fatality = { workspace = true } +schnellru = { workspace = true } +indexmap = { workspace = true } @@ -33,2 +33,2 @@ indexmap = "2.0.0" -async-channel = "1.8.0" -async-trait = "0.1.74" +async-channel = { workspace = true } +async-trait = { workspace = true } @@ -37,5 +37,5 @@ sp-keyring = { path = "../../../../substrate/primitives/keyring" } -sp-tracing = { path = "../../../../substrate/primitives/tracing" } -sc-keystore = { path = "../../../../substrate/client/keystore" } -futures-timer = "3.0.2" -assert_matches = "1.4.0" -lazy_static = "1.4.0" +sp-tracing = { workspace = true, default-features = true } +sc-keystore = { workspace = true, default-features = true } +futures-timer = { workspace = true } +assert_matches = { workspace = true } +lazy_static = { workspace = true } diff --git polkadot/node/network/gossip-support/Cargo.toml polkadot/node/network/gossip-support/Cargo.toml index 8d0edc206d..1003223a45 100644 --- polkadot/node/network/gossip-support/Cargo.toml +++ polkadot/node/network/gossip-support/Cargo.toml @@ -14 +14 @@ sp-application-crypto = { path = "../../../../substrate/primitives/application-c -sp-keystore = { path = "../../../../substrate/primitives/keystore" } +sp-keystore = { workspace = true, default-features = true } @@ -16,3 +16,3 @@ sp-core = { path = "../../../../substrate/primitives/core" } -sp-crypto-hashing = { path = "../../../../substrate/primitives/crypto/hashing" } -sc-network = { path = "../../../../substrate/client/network" } -sc-network-common = { path = "../../../../substrate/client/network/common" } +sp-crypto-hashing = { workspace = true, default-features = true } +sc-network = { workspace = true } +sc-network-common = { workspace = true } @@ -20,3 +20,3 @@ sc-network-common = { path = "../../../../substrate/client/network/common" } -polkadot-node-network-protocol = { path = "../protocol" } -polkadot-node-subsystem = { path = "../../subsystem" } -polkadot-node-subsystem-util = { path = "../../subsystem-util" } +polkadot-node-network-protocol = { workspace = true } +polkadot-node-subsystem = { workspace = true } +polkadot-node-subsystem-util = { workspace = true } @@ -25,5 +25,5 @@ polkadot-primitives = { path = "../../../primitives" } -futures = "0.3.21" -futures-timer = "3.0.2" -rand = { version = "0.8.5", default-features = false } -rand_chacha = { version = "0.3.1", default-features = false } -gum = { package = "tracing-gum", path = "../../gum" } +futures = { workspace = true } +futures-timer = { workspace = true } +rand = { workspace = true } +rand_chacha = { workspace = true } +gum = { workspace = true } @@ -34 +34 @@ sp-consensus-babe = { path = "../../../../substrate/primitives/consensus/babe" } -sp-tracing = { path = "../../../../substrate/primitives/tracing" } +sp-tracing = { workspace = true, default-features = true } @@ -39,5 +39,5 @@ polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } -assert_matches = "1.4.0" -async-trait = "0.1.74" -parking_lot = "0.12.1" -lazy_static = "1.4.0" -quickcheck = "1.0.3" +assert_matches = { workspace = true } +async-trait = { workspace = true } +parking_lot = { workspace = true, default-features = true } +lazy_static = { workspace = true } +quickcheck = { workspace = true, default-features = true } diff --git polkadot/node/network/protocol/Cargo.toml polkadot/node/network/protocol/Cargo.toml index 7efa0b8ca8..db21706295 100644 --- polkadot/node/network/protocol/Cargo.toml +++ polkadot/node/network/protocol/Cargo.toml @@ -13,3 +13,3 @@ workspace = true -async-channel = "1.8.0" -async-trait = "0.1.74" -hex = "0.4.3" +async-channel = { workspace = true } +async-trait = { workspace = true } +hex = { workspace = true, default-features = true } @@ -18 +18 @@ polkadot-node-primitives = { path = "../../primitives" } -polkadot-node-jaeger = { path = "../../jaeger" } +polkadot-node-jaeger = { workspace = true } @@ -20,4 +20,4 @@ parity-scale-codec = { version = "3.6.1", default-features = false, features = [ -sc-network = { path = "../../../../substrate/client/network" } -sc-authority-discovery = { path = "../../../../substrate/client/authority-discovery" } -strum = { version = "0.24", features = ["derive"] } -futures = "0.3.21" +sc-network = { workspace = true } +sc-authority-discovery = { workspace = true } +strum = { features = ["derive"] , workspace = true, default-features = true } +futures = { workspace = true } @@ -25,5 +25,5 @@ thiserror = { workspace = true } -fatality = "0.0.6" -rand = "0.8" -derive_more = "0.99" -gum = { package = "tracing-gum", path = "../../gum" } -bitvec = "1" +fatality = { workspace = true } +rand = { workspace = true, default-features = true } +derive_more = { workspace = true, default-features = true } +gum = { workspace = true } +bitvec = { workspace = true, default-features = true } @@ -32 +32 @@ bitvec = "1" -rand_chacha = "0.3.1" +rand_chacha = { workspace = true, default-features = true } diff --git polkadot/node/network/statement-distribution/Cargo.toml polkadot/node/network/statement-distribution/Cargo.toml index 01f7d818c1..52b79d8f5e 100644 --- polkadot/node/network/statement-distribution/Cargo.toml +++ polkadot/node/network/statement-distribution/Cargo.toml @@ -13,3 +13,3 @@ workspace = true -futures = "0.3.21" -futures-timer = "3.0.2" -gum = { package = "tracing-gum", path = "../../gum" } +futures = { workspace = true } +futures-timer = { workspace = true } +gum = { workspace = true } @@ -17,3 +17,3 @@ polkadot-primitives = { path = "../../../primitives" } -sp-staking = { path = "../../../../substrate/primitives/staking", default-features = false } -sp-keystore = { path = "../../../../substrate/primitives/keystore" } -polkadot-node-subsystem = { path = "../../subsystem" } +sp-staking = { workspace = true } +sp-keystore = { workspace = true, default-features = true } +polkadot-node-subsystem = { workspace = true } @@ -21,4 +21,4 @@ polkadot-node-primitives = { path = "../../primitives" } -polkadot-node-subsystem-util = { path = "../../subsystem-util" } -polkadot-node-network-protocol = { path = "../protocol" } -arrayvec = "0.7.4" -indexmap = "2.0.0" +polkadot-node-subsystem-util = { workspace = true } +polkadot-node-network-protocol = { workspace = true } +arrayvec = { workspace = true } +indexmap = { workspace = true } @@ -27,2 +27,2 @@ thiserror = { workspace = true } -fatality = "0.0.6" -bitvec = "1" +fatality = { workspace = true } +bitvec = { workspace = true, default-features = true } @@ -31,2 +31,2 @@ bitvec = "1" -async-channel = "1.8.0" -assert_matches = "1.4.0" +async-channel = { workspace = true } +assert_matches = { workspace = true } @@ -38,5 +38,5 @@ sp-application-crypto = { path = "../../../../substrate/primitives/application-c -sp-keystore = { path = "../../../../substrate/primitives/keystore" } -sp-tracing = { path = "../../../../substrate/primitives/tracing" } -sc-keystore = { path = "../../../../substrate/client/keystore" } -sc-network = { path = "../../../../substrate/client/network" } -futures-timer = "3.0.2" +sp-keystore = { workspace = true, default-features = true } +sp-tracing = { workspace = true, default-features = true } +sc-keystore = { workspace = true, default-features = true } +sc-network = { workspace = true } +futures-timer = { workspace = true } @@ -44 +44 @@ polkadot-primitives-test-helpers = { path = "../../../primitives/test-helpers" } -rand_chacha = "0.3" +rand_chacha = { workspace = true, default-features = true } diff --git polkadot/node/overseer/Cargo.toml polkadot/node/overseer/Cargo.toml index f91ec80d94..b08e62a9d0 100644 --- polkadot/node/overseer/Cargo.toml +++ polkadot/node/overseer/Cargo.toml @@ -14,5 +14,5 @@ client = { package = "sc-client-api", path = "../../../substrate/client/api" } -sp-api = { path = "../../../substrate/primitives/api" } -futures = "0.3.21" -futures-timer = "3.0.2" -parking_lot = "0.12.1" -polkadot-node-network-protocol = { path = "../network/protocol" } +sp-api = { workspace = true, default-features = true } +futures = { workspace = true } +futures-timer = { workspace = true } +parking_lot = { workspace = true, default-features = true } +polkadot-node-network-protocol = { workspace = true } @@ -20,2 +20,2 @@ polkadot-node-primitives = { path = "../primitives" } -polkadot-node-subsystem-types = { path = "../subsystem-types" } -polkadot-node-metrics = { path = "../metrics" } +polkadot-node-subsystem-types = { workspace = true } +polkadot-node-metrics = { workspace = true } @@ -23,2 +23,2 @@ polkadot-primitives = { path = "../../primitives" } -orchestra = { version = "0.3.5", default-features = false, features = ["futures_channel"] } -gum = { package = "tracing-gum", path = "../gum" } +orchestra = { features = ["futures_channel"] , workspace = true } +gum = { workspace = true } @@ -26,2 +26,2 @@ sp-core = { path = "../../../substrate/primitives/core" } -async-trait = "0.1.74" -tikv-jemalloc-ctl = { version = "0.5.0", optional = true } +async-trait = { workspace = true } +tikv-jemalloc-ctl = { optional = true , workspace = true } @@ -30 +30 @@ tikv-jemalloc-ctl = { version = "0.5.0", optional = true } -metered = { package = "prioritized-metered-channel", version = "0.6.1", default-features = false, features = ["futures_channel"] } +metered = { features = ["futures_channel"] , workspace = true } @@ -32,3 +32,3 @@ sp-core = { path = "../../../substrate/primitives/core" } -futures = { version = "0.3.21", features = ["thread-pool"] } -femme = "2.2.1" -assert_matches = "1.4.0" +futures = { features = ["thread-pool"] , workspace = true } +femme = { workspace = true } +assert_matches = { workspace = true } diff --git polkadot/node/primitives/Cargo.toml polkadot/node/primitives/Cargo.toml index b4541bcc34..ccf6d0bf24 100644 --- polkadot/node/primitives/Cargo.toml +++ polkadot/node/primitives/Cargo.toml @@ -13,2 +13,2 @@ workspace = true -bounded-vec = "0.7" -futures = "0.3.21" +bounded-vec = { workspace = true } +futures = { workspace = true } @@ -20,2 +20,2 @@ sp-consensus-babe = { path = "../../../substrate/primitives/consensus/babe" } -sp-keystore = { path = "../../../substrate/primitives/keystore" } -sp-maybe-compressed-blob = { path = "../../../substrate/primitives/maybe-compressed-blob" } +sp-keystore = { workspace = true, default-features = true } +sp-maybe-compressed-blob = { workspace = true } @@ -24 +24 @@ polkadot-parachain-primitives = { path = "../../parachain", default-features = f -schnorrkel = "0.11.4" +schnorrkel = { workspace = true, default-features = true } @@ -26 +26 @@ thiserror = { workspace = true } -bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } +bitvec = { features = ["alloc"] , workspace = true } diff --git polkadot/node/service/Cargo.toml polkadot/node/service/Cargo.toml index 8fd9f20b7b..c81e2eb823 100644 --- polkadot/node/service/Cargo.toml +++ polkadot/node/service/Cargo.toml @@ -15 +15 @@ workspace = true -sc-authority-discovery = { path = "../../../substrate/client/authority-discovery" } +sc-authority-discovery = { workspace = true } @@ -19,4 +19,4 @@ grandpa = { package = "sc-consensus-grandpa", path = "../../../substrate/client/ -mmr-gadget = { path = "../../../substrate/client/merkle-mountain-range" } -sp-mmr-primitives = { path = "../../../substrate/primitives/merkle-mountain-range" } -sc-block-builder = { path = "../../../substrate/client/block-builder" } -sc-chain-spec = { path = "../../../substrate/client/chain-spec" } +mmr-gadget = { workspace = true } +sp-mmr-primitives = { workspace = true, default-features = true } +sc-block-builder = { workspace = true } +sc-chain-spec = { workspace = true } @@ -24,8 +24,8 @@ sc-client-api = { path = "../../../substrate/client/api" } -sc-client-db = { path = "../../../substrate/client/db" } -sc-consensus = { path = "../../../substrate/client/consensus/common" } -sc-consensus-slots = { path = "../../../substrate/client/consensus/slots" } -sc-executor = { path = "../../../substrate/client/executor" } -sc-network = { path = "../../../substrate/client/network" } -sc-network-common = { path = "../../../substrate/client/network/common" } -sc-network-sync = { path = "../../../substrate/client/network/sync" } -sc-transaction-pool = { path = "../../../substrate/client/transaction-pool" } +sc-client-db = { workspace = true, default-features = true } +sc-consensus = { workspace = true } +sc-consensus-slots = { workspace = true } +sc-executor = { workspace = true } +sc-network = { workspace = true } +sc-network-common = { workspace = true } +sc-network-sync = { workspace = true } +sc-transaction-pool = { workspace = true } @@ -33,5 +33,5 @@ sc-transaction-pool-api = { path = "../../../substrate/client/transaction-pool/a -sc-sync-state-rpc = { path = "../../../substrate/client/sync-state-rpc" } -sc-keystore = { path = "../../../substrate/client/keystore" } -sc-basic-authorship = { path = "../../../substrate/client/basic-authorship" } -sc-offchain = { path = "../../../substrate/client/offchain" } -sc-sysinfo = { path = "../../../substrate/client/sysinfo" } +sc-sync-state-rpc = { workspace = true } +sc-keystore = { workspace = true, default-features = true } +sc-basic-authorship = { workspace = true } +sc-offchain = { workspace = true } +sc-sysinfo = { workspace = true } @@ -48 +48 @@ sp-keyring = { path = "../../../substrate/primitives/keyring" } -sp-api = { path = "../../../substrate/primitives/api" } +sp-api = { workspace = true, default-features = true } @@ -50 +50 @@ sp-block-builder = { path = "../../../substrate/primitives/block-builder" } -sp-blockchain = { path = "../../../substrate/primitives/blockchain" } +sp-blockchain = { workspace = true } @@ -52,2 +52,2 @@ sp-core = { path = "../../../substrate/primitives/core" } -sp-io = { path = "../../../substrate/primitives/io" } -sp-keystore = { path = "../../../substrate/primitives/keystore" } +sp-io = { workspace = true, default-features = true } +sp-keystore = { workspace = true, default-features = true } @@ -56,2 +56,2 @@ sp-runtime = { path = "../../../substrate/primitives/runtime" } -sp-session = { path = "../../../substrate/primitives/session" } -sp-storage = { path = "../../../substrate/primitives/storage" } +sp-session = { workspace = true, default-features = true } +sp-storage = { workspace = true, default-features = true } @@ -59,2 +59,2 @@ sp-transaction-pool = { path = "../../../substrate/primitives/transaction-pool" -pallet-transaction-payment = { path = "../../../substrate/frame/transaction-payment" } -sp-timestamp = { path = "../../../substrate/primitives/timestamp" } +pallet-transaction-payment = { workspace = true, default-features = true } +sp-timestamp = { workspace = true, default-features = true } @@ -62,3 +62,3 @@ sp-consensus-babe = { path = "../../../substrate/primitives/consensus/babe" } -sp-state-machine = { path = "../../../substrate/primitives/state-machine" } -sp-weights = { path = "../../../substrate/primitives/weights" } -sp-version = { path = "../../../substrate/primitives/version" } +sp-state-machine = { workspace = true, default-features = true } +sp-weights = { workspace = true, default-features = true } +sp-version = { workspace = true, default-features = true } @@ -67,4 +67,4 @@ sp-version = { path = "../../../substrate/primitives/version" } -pallet-babe = { path = "../../../substrate/frame/babe" } -pallet-im-online = { path = "../../../substrate/frame/im-online" } -pallet-staking = { path = "../../../substrate/frame/staking" } -pallet-transaction-payment-rpc-runtime-api = { path = "../../../substrate/frame/transaction-payment/rpc/runtime-api" } +pallet-babe = { workspace = true, default-features = true } +pallet-im-online = { workspace = true, default-features = true } +pallet-staking = { workspace = true, default-features = true } +pallet-transaction-payment-rpc-runtime-api = { workspace = true, default-features = true } @@ -74 +74 @@ frame-system = { path = "../../../substrate/frame/system" } -frame-system-rpc-runtime-api = { path = "../../../substrate/frame/system/rpc/runtime-api" } +frame-system-rpc-runtime-api = { workspace = true, default-features = true } @@ -77,2 +77,2 @@ frame-support = { path = "../../../substrate/frame/support" } -frame-benchmarking-cli = { path = "../../../substrate/utils/frame/benchmarking-cli" } -frame-benchmarking = { path = "../../../substrate/frame/benchmarking" } +frame-benchmarking-cli = { workspace = true } +frame-benchmarking = { workspace = true, default-features = true } @@ -81,5 +81,5 @@ frame-benchmarking = { path = "../../../substrate/frame/benchmarking" } -async-trait = "0.1.74" -futures = "0.3.21" -hex-literal = "0.4.1" -is_executable = "1.0.1" -gum = { package = "tracing-gum", path = "../gum" } +async-trait = { workspace = true } +futures = { workspace = true } +hex-literal = { workspace = true, default-features = true } +is_executable = { workspace = true } +gum = { workspace = true } @@ -87 +87 @@ log = { workspace = true, default-features = true } -schnellru = "0.2.1" +schnellru = { workspace = true } @@ -91,3 +91,3 @@ thiserror = { workspace = true } -kvdb = "0.13.0" -kvdb-rocksdb = { version = "0.19.0", optional = true } -parity-db = { version = "0.4.12", optional = true } +kvdb = { workspace = true } +kvdb-rocksdb = { optional = true , workspace = true } +parity-db = { optional = true , workspace = true } @@ -95 +95 @@ codec = { package = "parity-scale-codec", version = "3.6.1" } -parking_lot = "0.12.1" +parking_lot = { workspace = true, default-features = true } @@ -98,3 +98,3 @@ parking_lot = "0.12.1" -polkadot-core-primitives = { path = "../../core-primitives" } -polkadot-node-core-parachains-inherent = { path = "../core/parachains-inherent" } -polkadot-overseer = { path = "../overseer" } +polkadot-core-primitives = { workspace = true, default-features = true } +polkadot-node-core-parachains-inherent = { workspace = true } +polkadot-overseer = { workspace = true } @@ -104,4 +104,4 @@ polkadot-node-primitives = { path = "../primitives" } -polkadot-rpc = { path = "../../rpc" } -polkadot-node-subsystem = { path = "../subsystem" } -polkadot-node-subsystem-util = { path = "../subsystem-util" } -polkadot-node-subsystem-types = { path = "../subsystem-types" } +polkadot-rpc = { workspace = true } +polkadot-node-subsystem = { workspace = true } +polkadot-node-subsystem-util = { workspace = true } +polkadot-node-subsystem-types = { workspace = true } @@ -109 +109 @@ polkadot-runtime-parachains = { path = "../../runtime/parachains" } -polkadot-node-network-protocol = { path = "../network/protocol" } +polkadot-node-network-protocol = { workspace = true } @@ -112,2 +112,2 @@ polkadot-node-network-protocol = { path = "../network/protocol" } -rococo-runtime-constants = { path = "../../runtime/rococo/constants", optional = true } -westend-runtime-constants = { path = "../../runtime/westend/constants", optional = true } +rococo-runtime-constants = { optional = true , workspace = true, default-features = true } +westend-runtime-constants = { optional = true , workspace = true, default-features = true } @@ -116,2 +116,2 @@ westend-runtime-constants = { path = "../../runtime/westend/constants", optional -westend-runtime = { path = "../../runtime/westend", optional = true } -rococo-runtime = { path = "../../runtime/rococo", optional = true } +westend-runtime = { optional = true , workspace = true } +rococo-runtime = { optional = true , workspace = true } @@ -120,23 +120,23 @@ rococo-runtime = { path = "../../runtime/rococo", optional = true } -polkadot-approval-distribution = { path = "../network/approval-distribution", optional = true } -polkadot-availability-bitfield-distribution = { path = "../network/bitfield-distribution", optional = true } -polkadot-availability-distribution = { path = "../network/availability-distribution", optional = true } -polkadot-availability-recovery = { path = "../network/availability-recovery", optional = true } -polkadot-collator-protocol = { path = "../network/collator-protocol", optional = true } -polkadot-dispute-distribution = { path = "../network/dispute-distribution", optional = true } -polkadot-gossip-support = { path = "../network/gossip-support", optional = true } -polkadot-network-bridge = { path = "../network/bridge", optional = true } -polkadot-node-collation-generation = { path = "../collation-generation", optional = true } -polkadot-node-core-approval-voting = { path = "../core/approval-voting", optional = true } -polkadot-node-core-av-store = { path = "../core/av-store", optional = true } -polkadot-node-core-backing = { path = "../core/backing", optional = true } -polkadot-node-core-bitfield-signing = { path = "../core/bitfield-signing", optional = true } -polkadot-node-core-candidate-validation = { path = "../core/candidate-validation", optional = true } -polkadot-node-core-chain-api = { path = "../core/chain-api", optional = true } -polkadot-node-core-chain-selection = { path = "../core/chain-selection", optional = true } -polkadot-node-core-dispute-coordinator = { path = "../core/dispute-coordinator", optional = true } -polkadot-node-core-prospective-parachains = { path = "../core/prospective-parachains", optional = true } -polkadot-node-core-provisioner = { path = "../core/provisioner", optional = true } -polkadot-node-core-pvf = { path = "../core/pvf", optional = true } -polkadot-node-core-pvf-checker = { path = "../core/pvf-checker", optional = true } -polkadot-node-core-runtime-api = { path = "../core/runtime-api", optional = true } -polkadot-statement-distribution = { path = "../network/statement-distribution", optional = true } +polkadot-approval-distribution = { optional = true , workspace = true } +polkadot-availability-bitfield-distribution = { optional = true , workspace = true } +polkadot-availability-distribution = { optional = true , workspace = true } +polkadot-availability-recovery = { optional = true , workspace = true } +polkadot-collator-protocol = { optional = true , workspace = true } +polkadot-dispute-distribution = { optional = true , workspace = true } +polkadot-gossip-support = { optional = true , workspace = true } +polkadot-network-bridge = { optional = true , workspace = true } +polkadot-node-collation-generation = { optional = true , workspace = true } +polkadot-node-core-approval-voting = { optional = true , workspace = true } +polkadot-node-core-av-store = { optional = true , workspace = true } +polkadot-node-core-backing = { optional = true , workspace = true } +polkadot-node-core-bitfield-signing = { optional = true , workspace = true } +polkadot-node-core-candidate-validation = { optional = true , workspace = true } +polkadot-node-core-chain-api = { optional = true , workspace = true } +polkadot-node-core-chain-selection = { optional = true , workspace = true } +polkadot-node-core-dispute-coordinator = { optional = true , workspace = true } +polkadot-node-core-prospective-parachains = { optional = true , workspace = true } +polkadot-node-core-provisioner = { optional = true , workspace = true } +polkadot-node-core-pvf = { optional = true , workspace = true } +polkadot-node-core-pvf-checker = { optional = true , workspace = true } +polkadot-node-core-runtime-api = { optional = true , workspace = true } +polkadot-statement-distribution = { optional = true , workspace = true } @@ -145 +145 @@ polkadot-statement-distribution = { path = "../network/statement-distribution", -polkadot-test-client = { path = "../test/client" } +polkadot-test-client = { workspace = true } @@ -148,4 +148,4 @@ test-helpers = { package = "polkadot-primitives-test-helpers", path = "../../pri -env_logger = "0.9.0" -assert_matches = "1.5.0" -serial_test = "2.0.0" -tempfile = "3.2" +env_logger = { workspace = true } +assert_matches = { workspace = true } +serial_test = { workspace = true } +tempfile = { workspace = true } diff --git polkadot/node/subsystem-bench/Cargo.toml polkadot/node/subsystem-bench/Cargo.toml index 7de91d8cd5..8ced516864 100644 --- polkadot/node/subsystem-bench/Cargo.toml +++ polkadot/node/subsystem-bench/Cargo.toml @@ -19,3 +19,3 @@ doc = false -polkadot-node-subsystem = { path = "../subsystem" } -polkadot-node-subsystem-util = { path = "../subsystem-util" } -polkadot-node-subsystem-types = { path = "../subsystem-types" } +polkadot-node-subsystem = { workspace = true } +polkadot-node-subsystem-util = { workspace = true } +polkadot-node-subsystem-types = { workspace = true } @@ -24,13 +24,13 @@ polkadot-primitives = { path = "../../primitives" } -polkadot-node-network-protocol = { path = "../network/protocol" } -polkadot-availability-recovery = { path = "../network/availability-recovery", features = ["subsystem-benchmarks"] } -polkadot-availability-distribution = { path = "../network/availability-distribution" } -polkadot-node-core-av-store = { path = "../core/av-store" } -polkadot-node-core-chain-api = { path = "../core/chain-api" } -polkadot-availability-bitfield-distribution = { path = "../network/bitfield-distribution" } -color-eyre = { version = "0.6.1", default-features = false } -polkadot-overseer = { path = "../overseer" } -colored = "2.0.4" -assert_matches = "1.5" -async-trait = "0.1.57" -sp-keystore = { path = "../../../substrate/primitives/keystore" } -sc-keystore = { path = "../../../substrate/client/keystore" } +polkadot-node-network-protocol = { workspace = true } +polkadot-availability-recovery = { features = ["subsystem-benchmarks"] , workspace = true } +polkadot-availability-distribution = { workspace = true } +polkadot-node-core-av-store = { workspace = true } +polkadot-node-core-chain-api = { workspace = true } +polkadot-availability-bitfield-distribution = { workspace = true } +color-eyre = { workspace = true } +polkadot-overseer = { workspace = true } +colored = { workspace = true } +assert_matches = { workspace = true } +async-trait = { workspace = true } +sp-keystore = { workspace = true, default-features = true } +sc-keystore = { workspace = true, default-features = true } @@ -38,7 +38,7 @@ sp-core = { path = "../../../substrate/primitives/core" } -clap = { version = "4.5.1", features = ["derive"] } -futures = "0.3.21" -futures-timer = "3.0.2" -bincode = "1.3.3" -sha1 = "0.10.6" -hex = "0.4.3" -gum = { package = "tracing-gum", path = "../gum" } +clap = { features = ["derive"] , workspace = true } +futures = { workspace = true } +futures-timer = { workspace = true } +bincode = { workspace = true } +sha1 = { workspace = true } +hex = { workspace = true, default-features = true } +gum = { workspace = true } @@ -47,2 +47,2 @@ log = { workspace = true, default-features = true } -env_logger = "0.9.0" -rand = "0.8.5" +env_logger = { workspace = true } +rand = { workspace = true, default-features = true } @@ -50,3 +50,3 @@ rand = "0.8.5" -rand_distr = "0.4.3" -bitvec = "1.0.1" -kvdb-memorydb = "0.13.0" +rand_distr = { workspace = true } +bitvec = { workspace = true, default-features = true } +kvdb-memorydb = { workspace = true } @@ -55,2 +55,2 @@ parity-scale-codec = { version = "3.6.1", features = ["derive", "std"] } -tokio = "1.24.2" -clap-num = "1.0.2" +tokio = { workspace = true, default-features = true } +clap-num = { workspace = true } @@ -60 +60 @@ sp-application-crypto = { path = "../../../substrate/primitives/application-cryp -sc-network = { path = "../../../substrate/client/network" } +sc-network = { workspace = true } @@ -63,2 +63,2 @@ sp-consensus = { path = "../../../substrate/primitives/consensus/common" } -polkadot-node-metrics = { path = "../metrics" } -itertools = "0.11.0" +polkadot-node-metrics = { workspace = true } +itertools = { workspace = true } @@ -67 +67 @@ prometheus_endpoint = { package = "substrate-prometheus-endpoint", path = "../.. -prometheus = { version = "0.13.0", default-features = false } +prometheus = { workspace = true } @@ -71,2 +71,2 @@ serde_yaml = { workspace = true } -polkadot-node-core-approval-voting = { path = "../core/approval-voting" } -polkadot-approval-distribution = { path = "../network/approval-distribution" } +polkadot-node-core-approval-voting = { workspace = true } +polkadot-approval-distribution = { workspace = true } @@ -75 +75 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-timestamp = { path = "../../../substrate/primitives/timestamp" } +sp-timestamp = { workspace = true, default-features = true } @@ -77,5 +77,5 @@ sp-timestamp = { path = "../../../substrate/primitives/timestamp" } -schnorrkel = { version = "0.9.1", default-features = false } -rand_core = "0.6.2" # should match schnorrkel -rand_chacha = { version = "0.3.1" } -paste = "1.0.14" -orchestra = { version = "0.3.5", default-features = false, features = ["futures_channel"] } +schnorrkel = { workspace = true } +rand_core = { workspace = true } +rand_chacha = { workspace = true, default-features = true } +paste = { workspace = true, default-features = true } +orchestra = { features = ["futures_channel"] , workspace = true } @@ -83 +83 @@ pyroscope = "0.5.7" -pyroscope_pprofrs = "0.2.7" +pyroscope_pprofrs = { workspace = true } diff --git polkadot/node/subsystem-test-helpers/Cargo.toml polkadot/node/subsystem-test-helpers/Cargo.toml index c71f030568..6fc8ec2adc 100644 --- polkadot/node/subsystem-test-helpers/Cargo.toml +++ polkadot/node/subsystem-test-helpers/Cargo.toml @@ -14,4 +14,4 @@ workspace = true -async-trait = "0.1.74" -futures = "0.3.21" -parking_lot = "0.12.1" -polkadot-node-subsystem = { path = "../subsystem" } +async-trait = { workspace = true } +futures = { workspace = true } +parking_lot = { workspace = true, default-features = true } +polkadot-node-subsystem = { workspace = true } @@ -19 +19 @@ polkadot-erasure-coding = { path = "../../erasure-coding" } -polkadot-node-subsystem-util = { path = "../subsystem-util" } +polkadot-node-subsystem-util = { workspace = true } @@ -24 +24 @@ sc-client-api = { path = "../../../substrate/client/api" } -sc-utils = { path = "../../../substrate/client/utils" } +sc-utils = { workspace = true } @@ -26,2 +26,2 @@ sp-core = { path = "../../../substrate/primitives/core" } -sp-keystore = { path = "../../../substrate/primitives/keystore" } -sc-keystore = { path = "../../../substrate/client/keystore" } +sp-keystore = { workspace = true, default-features = true } +sc-keystore = { workspace = true, default-features = true } diff --git polkadot/node/subsystem-types/Cargo.toml polkadot/node/subsystem-types/Cargo.toml index 54c8f7e2ad..915dfb98ea 100644 --- polkadot/node/subsystem-types/Cargo.toml +++ polkadot/node/subsystem-types/Cargo.toml @@ -13,2 +13,2 @@ workspace = true -derive_more = "0.99.17" -futures = "0.3.21" +derive_more = { workspace = true, default-features = true } +futures = { workspace = true } @@ -17 +17 @@ polkadot-node-primitives = { path = "../primitives" } -polkadot-node-network-protocol = { path = "../network/protocol" } +polkadot-node-network-protocol = { workspace = true } @@ -19,5 +19,5 @@ polkadot-statement-table = { path = "../../statement-table" } -polkadot-node-jaeger = { path = "../jaeger" } -orchestra = { version = "0.3.5", default-features = false, features = ["futures_channel"] } -sc-network = { path = "../../../substrate/client/network" } -sp-api = { path = "../../../substrate/primitives/api" } -sp-blockchain = { path = "../../../substrate/primitives/blockchain" } +polkadot-node-jaeger = { workspace = true } +orchestra = { features = ["futures_channel"] , workspace = true } +sc-network = { workspace = true } +sp-api = { workspace = true, default-features = true } +sp-blockchain = { workspace = true } @@ -29 +29 @@ sc-transaction-pool-api = { path = "../../../substrate/client/transaction-pool/a -smallvec = "1.8.0" +smallvec = { workspace = true, default-features = true } @@ -32,2 +32,2 @@ thiserror = { workspace = true } -async-trait = "0.1.74" -bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } +async-trait = { workspace = true } +bitvec = { features = ["alloc"] , workspace = true } diff --git polkadot/node/subsystem-util/Cargo.toml polkadot/node/subsystem-util/Cargo.toml index a668f8de76..e1ae4ed2a3 100644 --- polkadot/node/subsystem-util/Cargo.toml +++ polkadot/node/subsystem-util/Cargo.toml @@ -13,4 +13,4 @@ workspace = true -async-trait = "0.1.74" -futures = "0.3.21" -futures-channel = "0.3.23" -itertools = "0.10" +async-trait = { workspace = true } +futures = { workspace = true } +futures-channel = { workspace = true } +itertools = { workspace = true } @@ -18,3 +18,3 @@ parity-scale-codec = { version = "3.6.1", default-features = false, features = [ -parking_lot = "0.12.1" -pin-project = "1.0.9" -rand = "0.8.5" +parking_lot = { workspace = true, default-features = true } +pin-project = { workspace = true } +rand = { workspace = true, default-features = true } @@ -22,4 +22,4 @@ thiserror = { workspace = true } -fatality = "0.0.6" -gum = { package = "tracing-gum", path = "../gum" } -derive_more = "0.99.17" -schnellru = "0.2.1" +fatality = { workspace = true } +gum = { workspace = true } +derive_more = { workspace = true, default-features = true } +schnellru = { workspace = true } @@ -27,5 +27,5 @@ schnellru = "0.2.1" -polkadot-node-subsystem = { path = "../subsystem" } -polkadot-node-subsystem-types = { path = "../subsystem-types" } -polkadot-node-jaeger = { path = "../jaeger" } -polkadot-node-metrics = { path = "../metrics" } -polkadot-node-network-protocol = { path = "../network/protocol" } +polkadot-node-subsystem = { workspace = true } +polkadot-node-subsystem-types = { workspace = true } +polkadot-node-jaeger = { workspace = true } +polkadot-node-metrics = { workspace = true } +polkadot-node-network-protocol = { workspace = true } @@ -34,2 +34,2 @@ polkadot-node-primitives = { path = "../primitives" } -polkadot-overseer = { path = "../overseer" } -metered = { package = "prioritized-metered-channel", version = "0.6.1", default-features = false, features = ["futures_channel"] } +polkadot-overseer = { workspace = true } +metered = { features = ["futures_channel"] , workspace = true } @@ -39 +39 @@ sp-application-crypto = { path = "../../../substrate/primitives/application-cryp -sp-keystore = { path = "../../../substrate/primitives/keystore" } +sp-keystore = { workspace = true, default-features = true } @@ -42,2 +42,2 @@ sc-client-api = { path = "../../../substrate/client/api" } -kvdb = "0.13.0" -parity-db = { version = "0.4.12" } +kvdb = { workspace = true } +parity-db = { workspace = true } @@ -46,3 +46,3 @@ parity-db = { version = "0.4.12" } -assert_matches = "1.4.0" -env_logger = "0.9.0" -futures = { version = "0.3.21", features = ["thread-pool"] } +assert_matches = { workspace = true } +env_logger = { workspace = true } +futures = { features = ["thread-pool"] , workspace = true } @@ -51 +51 @@ polkadot-node-subsystem-test-helpers = { path = "../subsystem-test-helpers" } -lazy_static = "1.4.0" +lazy_static = { workspace = true } @@ -53,3 +53,3 @@ polkadot-primitives-test-helpers = { path = "../../primitives/test-helpers" } -kvdb-shared-tests = "0.11.0" -tempfile = "3.1.0" -kvdb-memorydb = "0.13.0" +kvdb-shared-tests = { workspace = true } +tempfile = { workspace = true } +kvdb-memorydb = { workspace = true } diff --git polkadot/node/subsystem/Cargo.toml polkadot/node/subsystem/Cargo.toml index c59c1f88e3..c57a11beb8 100644 --- polkadot/node/subsystem/Cargo.toml +++ polkadot/node/subsystem/Cargo.toml @@ -13,3 +13,3 @@ workspace = true -polkadot-overseer = { path = "../overseer" } -polkadot-node-subsystem-types = { path = "../subsystem-types" } -polkadot-node-jaeger = { path = "../jaeger" } +polkadot-overseer = { workspace = true } +polkadot-node-subsystem-types = { workspace = true } +polkadot-node-jaeger = { workspace = true } diff --git polkadot/node/test/client/Cargo.toml polkadot/node/test/client/Cargo.toml index 36748c3b45..1c981a6e5e 100644 --- polkadot/node/test/client/Cargo.toml +++ polkadot/node/test/client/Cargo.toml @@ -16,2 +16,2 @@ parity-scale-codec = { version = "3.6.1", default-features = false, features = [ -polkadot-test-runtime = { path = "../../../runtime/test-runtime" } -polkadot-test-service = { path = "../service" } +polkadot-test-runtime = { workspace = true } +polkadot-test-service = { workspace = true } @@ -19 +19 @@ polkadot-primitives = { path = "../../../primitives" } -polkadot-node-subsystem = { path = "../../subsystem" } +polkadot-node-subsystem = { workspace = true } @@ -22 +22 @@ polkadot-node-subsystem = { path = "../../subsystem" } -substrate-test-client = { path = "../../../../substrate/test-utils/client" } +substrate-test-client = { workspace = true } @@ -24,4 +24,4 @@ sc-service = { path = "../../../../substrate/client/service" } -sc-block-builder = { path = "../../../../substrate/client/block-builder" } -sc-consensus = { path = "../../../../substrate/client/consensus/common" } -sc-offchain = { path = "../../../../substrate/client/offchain" } -sp-blockchain = { path = "../../../../substrate/primitives/blockchain" } +sc-block-builder = { workspace = true } +sc-consensus = { workspace = true } +sc-offchain = { workspace = true } +sp-blockchain = { workspace = true } @@ -31,2 +31,2 @@ sp-core = { path = "../../../../substrate/primitives/core" } -sp-api = { path = "../../../../substrate/primitives/api" } -sp-timestamp = { path = "../../../../substrate/primitives/timestamp" } +sp-api = { workspace = true, default-features = true } +sp-timestamp = { workspace = true, default-features = true } @@ -35,3 +35,3 @@ sp-consensus-babe = { path = "../../../../substrate/primitives/consensus/babe" } -sp-state-machine = { path = "../../../../substrate/primitives/state-machine" } -sp-io = { path = "../../../../substrate/primitives/io" } -frame-benchmarking = { path = "../../../../substrate/frame/benchmarking" } +sp-state-machine = { workspace = true, default-features = true } +sp-io = { workspace = true, default-features = true } +frame-benchmarking = { workspace = true, default-features = true } @@ -41 +41 @@ sp-keyring = { path = "../../../../substrate/primitives/keyring" } -futures = "0.3.21" +futures = { workspace = true } diff --git polkadot/node/test/service/Cargo.toml polkadot/node/test/service/Cargo.toml index e7892abcd8..5d0c11f72c 100644 --- polkadot/node/test/service/Cargo.toml +++ polkadot/node/test/service/Cargo.toml @@ -13,4 +13,4 @@ workspace = true -futures = "0.3.21" -hex = "0.4.3" -gum = { package = "tracing-gum", path = "../../gum" } -rand = "0.8.5" +futures = { workspace = true } +hex = { workspace = true, default-features = true } +gum = { workspace = true } +rand = { workspace = true, default-features = true } @@ -18,2 +18,2 @@ serde_json = { workspace = true, default-features = true } -tempfile = "3.2.0" -tokio = "1.24.2" +tempfile = { workspace = true } +tokio = { workspace = true, default-features = true } @@ -22 +22 @@ tokio = "1.24.2" -polkadot-overseer = { path = "../../overseer" } +polkadot-overseer = { workspace = true } @@ -25 +25 @@ polkadot-parachain-primitives = { path = "../../../parachain" } -polkadot-rpc = { path = "../../../rpc" } +polkadot-rpc = { workspace = true } @@ -28 +28 @@ polkadot-service = { path = "../../service" } -polkadot-node-subsystem = { path = "../../subsystem" } +polkadot-node-subsystem = { workspace = true } @@ -30,2 +30,2 @@ polkadot-node-primitives = { path = "../../primitives" } -polkadot-test-runtime = { path = "../../../runtime/test-runtime" } -test-runtime-constants = { path = "../../../runtime/test-runtime/constants" } +polkadot-test-runtime = { workspace = true } +test-runtime-constants = { workspace = true, default-features = true } @@ -36 +36 @@ sp-authority-discovery = { path = "../../../../substrate/primitives/authority-di -sc-authority-discovery = { path = "../../../../substrate/client/authority-discovery" } +sc-authority-discovery = { workspace = true } @@ -44,5 +44,5 @@ inherents = { package = "sp-inherents", path = "../../../../substrate/primitives -pallet-staking = { path = "../../../../substrate/frame/staking" } -pallet-balances = { path = "../../../../substrate/frame/balances" } -pallet-transaction-payment = { path = "../../../../substrate/frame/transaction-payment" } -sc-chain-spec = { path = "../../../../substrate/client/chain-spec" } -sc-cli = { path = "../../../../substrate/client/cli" } +pallet-staking = { workspace = true, default-features = true } +pallet-balances = { workspace = true, default-features = true } +pallet-transaction-payment = { workspace = true, default-features = true } +sc-chain-spec = { workspace = true } +sc-cli = { workspace = true, default-features = true } @@ -50,4 +50,4 @@ sc-client-api = { path = "../../../../substrate/client/api" } -sc-consensus = { path = "../../../../substrate/client/consensus/common" } -sc-network = { path = "../../../../substrate/client/network" } -sc-tracing = { path = "../../../../substrate/client/tracing" } -sc-transaction-pool = { path = "../../../../substrate/client/transaction-pool" } +sc-consensus = { workspace = true } +sc-network = { workspace = true } +sc-tracing = { workspace = true } +sc-transaction-pool = { workspace = true } @@ -55,2 +55,2 @@ sc-service = { path = "../../../../substrate/client/service", default-features = -sp-arithmetic = { path = "../../../../substrate/primitives/arithmetic" } -sp-blockchain = { path = "../../../../substrate/primitives/blockchain" } +sp-arithmetic = { workspace = true, default-features = true } +sp-blockchain = { workspace = true } @@ -60,2 +60,2 @@ sp-runtime = { path = "../../../../substrate/primitives/runtime" } -sp-state-machine = { path = "../../../../substrate/primitives/state-machine" } -substrate-test-client = { path = "../../../../substrate/test-utils/client" } +sp-state-machine = { workspace = true, default-features = true } +substrate-test-client = { workspace = true } @@ -64,3 +64,3 @@ substrate-test-client = { path = "../../../../substrate/test-utils/client" } -pallet-balances = { path = "../../../../substrate/frame/balances", default-features = false } -substrate-test-utils = { path = "../../../../substrate/test-utils" } -tokio = { version = "1.24.2", features = ["macros"] } +pallet-balances = { workspace = true } +substrate-test-utils = { workspace = true } +tokio = { features = ["macros"] , workspace = true, default-features = true } diff --git polkadot/node/zombienet-backchannel/Cargo.toml polkadot/node/zombienet-backchannel/Cargo.toml index fa99490a99..5febd225d9 100644 --- polkadot/node/zombienet-backchannel/Cargo.toml +++ polkadot/node/zombienet-backchannel/Cargo.toml @@ -15,5 +15,5 @@ workspace = true -tokio = { version = "1.24.2", default-features = false, features = ["macros", "net", "rt-multi-thread", "sync"] } -url = "2.3.1" -tokio-tungstenite = "0.17" -futures-util = "0.3.30" -lazy_static = "1.4.0" +tokio = { features = ["macros", "net", "rt-multi-thread", "sync"] , workspace = true } +url = { workspace = true } +tokio-tungstenite = { workspace = true } +futures-util = { workspace = true, default-features = true } +lazy_static = { workspace = true } @@ -21 +21 @@ parity-scale-codec = { version = "3.6.1", features = ["derive"] } -reqwest = { version = "0.11", features = ["rustls-tls"], default-features = false } +reqwest = { features = ["rustls-tls"], workspace = true } @@ -23 +23 @@ thiserror = { workspace = true } -gum = { package = "tracing-gum", path = "../gum" } +gum = { workspace = true } diff --git polkadot/parachain/Cargo.toml polkadot/parachain/Cargo.toml index d8c3cea7ad..f882c1f762 100644 --- polkadot/parachain/Cargo.toml +++ polkadot/parachain/Cargo.toml @@ -17,2 +17,2 @@ parity-scale-codec = { version = "3.6.1", default-features = false, features = [ -scale-info = { version = "2.10.0", default-features = false, features = ["derive", "serde"] } -sp-std = { path = "../../substrate/primitives/std", default-features = false } +scale-info = { features = ["derive", "serde"] , workspace = true } +sp-std = { workspace = true } @@ -21,4 +21,4 @@ sp-core = { path = "../../substrate/primitives/core", default-features = false, -sp-weights = { path = "../../substrate/primitives/weights", default-features = false } -polkadot-core-primitives = { path = "../core-primitives", default-features = false } -derive_more = "0.99.11" -bounded-collections = { version = "0.2.0", default-features = false, features = ["serde"] } +sp-weights = { workspace = true } +polkadot-core-primitives = { workspace = true } +derive_more = { workspace = true, default-features = true } +bounded-collections = { features = ["serde"] , workspace = true } diff --git polkadot/parachain/test-parachains/Cargo.toml polkadot/parachain/test-parachains/Cargo.toml index 6acdedf67f..8bb9c2935a 100644 --- polkadot/parachain/test-parachains/Cargo.toml +++ polkadot/parachain/test-parachains/Cargo.toml @@ -14 +14 @@ workspace = true -tiny-keccak = { version = "2.0.2", features = ["keccak"] } +tiny-keccak = { features = ["keccak"] , workspace = true } @@ -18 +18 @@ adder = { package = "test-parachain-adder", path = "adder" } -halt = { package = "test-parachain-halt", path = "halt" } +halt = { workspace = true } diff --git polkadot/parachain/test-parachains/adder/Cargo.toml polkadot/parachain/test-parachains/adder/Cargo.toml index eec19ef788..3574940c99 100644 --- polkadot/parachain/test-parachains/adder/Cargo.toml +++ polkadot/parachain/test-parachains/adder/Cargo.toml @@ -17,3 +17,3 @@ parity-scale-codec = { version = "3.6.1", default-features = false, features = [ -sp-std = { path = "../../../../substrate/primitives/std", default-features = false } -tiny-keccak = { version = "2.0.2", features = ["keccak"] } -dlmalloc = { version = "0.2.4", features = ["global"] } +sp-std = { workspace = true } +tiny-keccak = { features = ["keccak"] , workspace = true } +dlmalloc = { features = ["global"] , workspace = true } @@ -22 +22 @@ dlmalloc = { version = "0.2.4", features = ["global"] } -sp-io = { path = "../../../../substrate/primitives/io", default-features = false, features = ["disable_allocator"] } +sp-io = { features = ["disable_allocator"] , workspace = true } @@ -25 +25 @@ sp-io = { path = "../../../../substrate/primitives/io", default-features = false -substrate-wasm-builder = { path = "../../../../substrate/utils/wasm-builder" } +substrate-wasm-builder = { workspace = true } diff --git polkadot/parachain/test-parachains/adder/collator/Cargo.toml polkadot/parachain/test-parachains/adder/collator/Cargo.toml index 8ce4ceb47c..0edff301c0 100644 --- polkadot/parachain/test-parachains/adder/collator/Cargo.toml +++ polkadot/parachain/test-parachains/adder/collator/Cargo.toml @@ -19,3 +19,3 @@ parity-scale-codec = { version = "3.6.1", default-features = false, features = [ -clap = { version = "4.5.1", features = ["derive"] } -futures = "0.3.21" -futures-timer = "3.0.2" +clap = { features = ["derive"] , workspace = true } +futures = { workspace = true } +futures-timer = { workspace = true } @@ -26 +26 @@ polkadot-primitives = { path = "../../../../primitives" } -polkadot-cli = { path = "../../../../cli" } +polkadot-cli = { workspace = true, default-features = true } @@ -29 +29 @@ polkadot-node-primitives = { path = "../../../../node/primitives" } -polkadot-node-subsystem = { path = "../../../../node/subsystem" } +polkadot-node-subsystem = { workspace = true } @@ -31 +31 @@ polkadot-node-subsystem = { path = "../../../../node/subsystem" } -sc-cli = { path = "../../../../../substrate/client/cli" } +sc-cli = { workspace = true, default-features = true } @@ -37,2 +37,2 @@ polkadot-parachain-primitives = { path = "../../.." } -polkadot-test-service = { path = "../../../../node/test/service" } -polkadot-node-core-pvf = { path = "../../../../node/core/pvf", features = ["test-utils"] } +polkadot-test-service = { workspace = true } +polkadot-node-core-pvf = { features = ["test-utils"] , workspace = true } @@ -40 +40 @@ polkadot-node-core-pvf = { path = "../../../../node/core/pvf", features = ["test -substrate-test-utils = { path = "../../../../../substrate/test-utils" } +substrate-test-utils = { workspace = true } @@ -44 +44 @@ sp-keyring = { path = "../../../../../substrate/primitives/keyring" } -tokio = { version = "1.24.2", features = ["macros"] } +tokio = { features = ["macros"] , workspace = true, default-features = true } diff --git polkadot/parachain/test-parachains/halt/Cargo.toml polkadot/parachain/test-parachains/halt/Cargo.toml index 1bdd4392ad..6ee1b21be1 100644 --- polkadot/parachain/test-parachains/halt/Cargo.toml +++ polkadot/parachain/test-parachains/halt/Cargo.toml @@ -17,2 +17,2 @@ workspace = true -substrate-wasm-builder = { path = "../../../../substrate/utils/wasm-builder" } -rustversion = "1.0.6" +substrate-wasm-builder = { workspace = true } +rustversion = { workspace = true } diff --git polkadot/parachain/test-parachains/undying/Cargo.toml polkadot/parachain/test-parachains/undying/Cargo.toml index 82ceebcf4e..2f6e021f2a 100644 --- polkadot/parachain/test-parachains/undying/Cargo.toml +++ polkadot/parachain/test-parachains/undying/Cargo.toml @@ -17,3 +17,3 @@ parity-scale-codec = { version = "3.6.1", default-features = false, features = [ -sp-std = { path = "../../../../substrate/primitives/std", default-features = false } -tiny-keccak = { version = "2.0.2", features = ["keccak"] } -dlmalloc = { version = "0.2.4", features = ["global"] } +sp-std = { workspace = true } +tiny-keccak = { features = ["keccak"] , workspace = true } +dlmalloc = { features = ["global"] , workspace = true } @@ -23 +23 @@ log = { workspace = true } -sp-io = { path = "../../../../substrate/primitives/io", default-features = false, features = ["disable_allocator"] } +sp-io = { features = ["disable_allocator"] , workspace = true } @@ -26 +26 @@ sp-io = { path = "../../../../substrate/primitives/io", default-features = false -substrate-wasm-builder = { path = "../../../../substrate/utils/wasm-builder" } +substrate-wasm-builder = { workspace = true } diff --git polkadot/parachain/test-parachains/undying/collator/Cargo.toml polkadot/parachain/test-parachains/undying/collator/Cargo.toml index 25fdbfa74e..5197d40b60 100644 --- polkadot/parachain/test-parachains/undying/collator/Cargo.toml +++ polkadot/parachain/test-parachains/undying/collator/Cargo.toml @@ -19,3 +19,3 @@ parity-scale-codec = { version = "3.6.1", default-features = false, features = [ -clap = { version = "4.5.1", features = ["derive"] } -futures = "0.3.21" -futures-timer = "3.0.2" +clap = { features = ["derive"] , workspace = true } +futures = { workspace = true } +futures-timer = { workspace = true } @@ -24 +24 @@ log = { workspace = true, default-features = true } -test-parachain-undying = { path = ".." } +test-parachain-undying = { workspace = true } @@ -26 +26 @@ polkadot-primitives = { path = "../../../../primitives" } -polkadot-cli = { path = "../../../../cli" } +polkadot-cli = { workspace = true, default-features = true } @@ -29 +29 @@ polkadot-node-primitives = { path = "../../../../node/primitives" } -polkadot-node-subsystem = { path = "../../../../node/subsystem" } +polkadot-node-subsystem = { workspace = true } @@ -31 +31 @@ polkadot-node-subsystem = { path = "../../../../node/subsystem" } -sc-cli = { path = "../../../../../substrate/client/cli" } +sc-cli = { workspace = true, default-features = true } @@ -37,2 +37,2 @@ polkadot-parachain-primitives = { path = "../../.." } -polkadot-test-service = { path = "../../../../node/test/service" } -polkadot-node-core-pvf = { path = "../../../../node/core/pvf", features = ["test-utils"] } +polkadot-test-service = { workspace = true } +polkadot-node-core-pvf = { features = ["test-utils"] , workspace = true } @@ -40 +40 @@ polkadot-node-core-pvf = { path = "../../../../node/core/pvf", features = ["test -substrate-test-utils = { path = "../../../../../substrate/test-utils" } +substrate-test-utils = { workspace = true } @@ -44 +44 @@ sp-keyring = { path = "../../../../../substrate/primitives/keyring" } -tokio = { version = "1.24.2", features = ["macros"] } +tokio = { features = ["macros"] , workspace = true, default-features = true } diff --git polkadot/primitives/Cargo.toml polkadot/primitives/Cargo.toml index e63fb621c7..ec3a9d058f 100644 --- polkadot/primitives/Cargo.toml +++ polkadot/primitives/Cargo.toml @@ -13,2 +13,2 @@ workspace = true -bitvec = { version = "1.0.0", default-features = false, features = ["alloc", "serde"] } -hex-literal = "0.4.1" +bitvec = { features = ["alloc", "serde"] , workspace = true } +hex-literal = { workspace = true, default-features = true } @@ -16,2 +16,2 @@ parity-scale-codec = { version = "3.6.1", default-features = false, features = [ -scale-info = { version = "2.10.0", default-features = false, features = ["bit-vec", "derive", "serde"] } -log = { workspace = true, default-features = false } +scale-info = { features = ["bit-vec", "derive", "serde"] , workspace = true } +log = { workspace = true } @@ -24,2 +24,2 @@ runtime_primitives = { package = "sp-runtime", path = "../../substrate/primitive -sp-api = { path = "../../substrate/primitives/api", default-features = false } -sp-arithmetic = { path = "../../substrate/primitives/arithmetic", default-features = false, features = ["serde"] } +sp-api = { workspace = true } +sp-arithmetic = { features = ["serde"] , workspace = true } @@ -27,5 +27,5 @@ sp-authority-discovery = { path = "../../substrate/primitives/authority-discover -sp-consensus-slots = { path = "../../substrate/primitives/consensus/slots", default-features = false, features = ["serde"] } -sp-io = { path = "../../substrate/primitives/io", default-features = false } -sp-keystore = { path = "../../substrate/primitives/keystore", optional = true } -sp-staking = { path = "../../substrate/primitives/staking", default-features = false, features = ["serde"] } -sp-std = { package = "sp-std", path = "../../substrate/primitives/std", default-features = false } +sp-consensus-slots = { features = ["serde"] , workspace = true } +sp-io = { workspace = true } +sp-keystore = { optional = true , workspace = true, default-features = true } +sp-staking = { features = ["serde"] , workspace = true } +sp-std = { workspace = true } @@ -33 +33 @@ sp-std = { package = "sp-std", path = "../../substrate/primitives/std", default- -polkadot-core-primitives = { path = "../core-primitives", default-features = false } +polkadot-core-primitives = { workspace = true } diff --git polkadot/primitives/test-helpers/Cargo.toml polkadot/primitives/test-helpers/Cargo.toml index fab9480cfd..96f0ec6ff0 100644 --- polkadot/primitives/test-helpers/Cargo.toml +++ polkadot/primitives/test-helpers/Cargo.toml @@ -18 +18 @@ polkadot-primitives = { path = ".." } -rand = "0.8.5" +rand = { workspace = true, default-features = true } diff --git polkadot/rpc/Cargo.toml polkadot/rpc/Cargo.toml index 5af5e63b17..6870569839 100644 --- polkadot/rpc/Cargo.toml +++ polkadot/rpc/Cargo.toml @@ -13 +13 @@ workspace = true -jsonrpsee = { version = "0.22", features = ["server"] } +jsonrpsee = { features = ["server"] , workspace = true } @@ -16,2 +16,2 @@ sc-client-api = { path = "../../substrate/client/api" } -sp-blockchain = { path = "../../substrate/primitives/blockchain" } -sp-keystore = { path = "../../substrate/primitives/keystore" } +sp-blockchain = { workspace = true } +sp-keystore = { workspace = true, default-features = true } @@ -19 +19 @@ sp-runtime = { path = "../../substrate/primitives/runtime" } -sp-api = { path = "../../substrate/primitives/api" } +sp-api = { workspace = true, default-features = true } @@ -22,3 +22,3 @@ sp-consensus-babe = { path = "../../substrate/primitives/consensus/babe" } -sc-chain-spec = { path = "../../substrate/client/chain-spec" } -sc-rpc = { path = "../../substrate/client/rpc" } -sc-rpc-spec-v2 = { path = "../../substrate/client/rpc-spec-v2" } +sc-chain-spec = { workspace = true } +sc-rpc = { workspace = true } +sc-rpc-spec-v2 = { workspace = true } @@ -26 +26 @@ sc-consensus-babe = { path = "../../substrate/client/consensus/babe" } -sc-consensus-babe-rpc = { path = "../../substrate/client/consensus/babe/rpc" } +sc-consensus-babe-rpc = { workspace = true } @@ -28,2 +28,2 @@ sc-consensus-beefy = { path = "../../substrate/client/consensus/beefy" } -sc-consensus-beefy-rpc = { path = "../../substrate/client/consensus/beefy/rpc" } -sc-consensus-epochs = { path = "../../substrate/client/consensus/epochs" } +sc-consensus-beefy-rpc = { workspace = true } +sc-consensus-epochs = { workspace = true } @@ -31,2 +31,2 @@ sc-consensus-grandpa = { path = "../../substrate/client/consensus/grandpa" } -sc-consensus-grandpa-rpc = { path = "../../substrate/client/consensus/grandpa/rpc" } -sc-sync-state-rpc = { path = "../../substrate/client/sync-state-rpc" } +sc-consensus-grandpa-rpc = { workspace = true } +sc-sync-state-rpc = { workspace = true } @@ -35,2 +35,2 @@ frame-rpc-system = { package = "substrate-frame-rpc-system", path = "../../subst -mmr-rpc = { path = "../../substrate/client/merkle-mountain-range/rpc" } -pallet-transaction-payment-rpc = { path = "../../substrate/frame/transaction-payment/rpc" } +mmr-rpc = { workspace = true } +pallet-transaction-payment-rpc = { workspace = true } @@ -38 +38 @@ sp-block-builder = { path = "../../substrate/primitives/block-builder" } -substrate-state-trie-migration-rpc = { path = "../../substrate/utils/frame/rpc/state-trie-migration-rpc" } +substrate-state-trie-migration-rpc = { workspace = true } diff --git polkadot/runtime/common/Cargo.toml polkadot/runtime/common/Cargo.toml index 2467d123f0..260e58fe9a 100644 --- polkadot/runtime/common/Cargo.toml +++ polkadot/runtime/common/Cargo.toml @@ -13,2 +13,2 @@ workspace = true -impl-trait-for-tuples = "0.2.2" -bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } +impl-trait-for-tuples = { workspace = true } +bitvec = { features = ["alloc"] , workspace = true } @@ -18 +18 @@ rustc-hex = { version = "2.1.0", default-features = false } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -21 +21 @@ serde_derive = { workspace = true } -static_assertions = "1.1.0" +static_assertions = { workspace = true, default-features = true } @@ -23 +23 @@ static_assertions = "1.1.0" -sp-api = { path = "../../../substrate/primitives/api", default-features = false } +sp-api = { workspace = true } @@ -25,2 +25,2 @@ inherents = { package = "sp-inherents", path = "../../../substrate/primitives/in -sp-std = { package = "sp-std", path = "../../../substrate/primitives/std", default-features = false } -sp-io = { path = "../../../substrate/primitives/io", default-features = false } +sp-std = { workspace = true } +sp-io = { workspace = true } @@ -28,2 +28,2 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-session = { path = "../../../substrate/primitives/session", default-features = false } -sp-staking = { path = "../../../substrate/primitives/staking", default-features = false, features = ["serde"] } +sp-session = { workspace = true } +sp-staking = { features = ["serde"] , workspace = true } @@ -31 +31 @@ sp-core = { path = "../../../substrate/primitives/core", default-features = fals -sp-npos-elections = { path = "../../../substrate/primitives/npos-elections", default-features = false, features = ["serde"] } +sp-npos-elections = { features = ["serde"] , workspace = true } @@ -33,6 +33,6 @@ sp-npos-elections = { path = "../../../substrate/primitives/npos-elections", def -pallet-authorship = { path = "../../../substrate/frame/authorship", default-features = false } -pallet-balances = { path = "../../../substrate/frame/balances", default-features = false } -pallet-broker = { path = "../../../substrate/frame/broker", default-features = false } -pallet-fast-unstake = { path = "../../../substrate/frame/fast-unstake", default-features = false } -pallet-identity = { path = "../../../substrate/frame/identity", default-features = false } -pallet-session = { path = "../../../substrate/frame/session", default-features = false } +pallet-authorship = { workspace = true } +pallet-balances = { workspace = true } +pallet-broker = { workspace = true } +pallet-fast-unstake = { workspace = true } +pallet-identity = { workspace = true } +pallet-session = { workspace = true } @@ -40,2 +40,2 @@ frame-support = { path = "../../../substrate/frame/support", default-features = -pallet-staking = { path = "../../../substrate/frame/staking", default-features = false } -pallet-staking-reward-fn = { path = "../../../substrate/frame/staking/reward-fn", default-features = false } +pallet-staking = { workspace = true } +pallet-staking-reward-fn = { workspace = true } @@ -43,7 +43,7 @@ frame-system = { path = "../../../substrate/frame/system", default-features = fa -pallet-timestamp = { path = "../../../substrate/frame/timestamp", default-features = false } -pallet-vesting = { path = "../../../substrate/frame/vesting", default-features = false } -pallet-transaction-payment = { path = "../../../substrate/frame/transaction-payment", default-features = false } -pallet-treasury = { path = "../../../substrate/frame/treasury", default-features = false } -pallet-asset-rate = { path = "../../../substrate/frame/asset-rate", default-features = false, optional = true } -pallet-election-provider-multi-phase = { path = "../../../substrate/frame/election-provider-multi-phase", default-features = false } -frame-election-provider-support = { path = "../../../substrate/frame/election-provider-support", default-features = false } +pallet-timestamp = { workspace = true } +pallet-vesting = { workspace = true } +pallet-transaction-payment = { workspace = true } +pallet-treasury = { workspace = true } +pallet-asset-rate = { optional = true , workspace = true } +pallet-election-provider-multi-phase = { workspace = true } +frame-election-provider-support = { workspace = true } @@ -51,2 +51,2 @@ frame-election-provider-support = { path = "../../../substrate/frame/election-pr -frame-benchmarking = { path = "../../../substrate/frame/benchmarking", default-features = false, optional = true } -pallet-babe = { path = "../../../substrate/frame/babe", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } +pallet-babe = { optional = true , workspace = true } @@ -55 +55 @@ primitives = { package = "polkadot-primitives", path = "../../primitives", defau -libsecp256k1 = { version = "0.7.0", default-features = false } +libsecp256k1 = { workspace = true } @@ -58,3 +58,3 @@ runtime-parachains = { package = "polkadot-runtime-parachains", path = "../parac -slot-range-helper = { path = "slot_range_helper", default-features = false } -xcm = { package = "staging-xcm", path = "../../xcm", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../xcm/xcm-executor", default-features = false, optional = true } +slot-range-helper = { workspace = true } +xcm = { workspace = true } +xcm-executor = { optional = true , workspace = true } @@ -62,2 +62,2 @@ xcm-executor = { package = "staging-xcm-executor", path = "../../xcm/xcm-executo -pallet-xcm-benchmarks = { path = "../../xcm/pallet-xcm-benchmarks", default-features = false, optional = true } -xcm-builder = { package = "staging-xcm-builder", path = "../../xcm/xcm-builder", default-features = false } +pallet-xcm-benchmarks = { optional = true , workspace = true } +xcm-builder = { workspace = true } @@ -66,5 +66,5 @@ xcm-builder = { package = "staging-xcm-builder", path = "../../xcm/xcm-builder", -hex-literal = "0.4.1" -frame-support-test = { path = "../../../substrate/frame/support/test" } -pallet-babe = { path = "../../../substrate/frame/babe" } -pallet-treasury = { path = "../../../substrate/frame/treasury" } -sp-keystore = { path = "../../../substrate/primitives/keystore" } +hex-literal = { workspace = true, default-features = true } +frame-support-test = { workspace = true } +pallet-babe = { workspace = true, default-features = true } +pallet-treasury = { workspace = true, default-features = true } +sp-keystore = { workspace = true, default-features = true } @@ -73 +73 @@ serde_json = { workspace = true, default-features = true } -libsecp256k1 = "0.7.0" +libsecp256k1 = { workspace = true, default-features = true } diff --git polkadot/runtime/common/slot_range_helper/Cargo.toml polkadot/runtime/common/slot_range_helper/Cargo.toml index cacafd8ed3..d15d69b96d 100644 --- polkadot/runtime/common/slot_range_helper/Cargo.toml +++ polkadot/runtime/common/slot_range_helper/Cargo.toml @@ -13,2 +13,2 @@ workspace = true -paste = "1.0" -enumn = "0.1.12" +paste = { workspace = true, default-features = true } +enumn = { workspace = true } @@ -16 +16 @@ parity-scale-codec = { version = "3.6.1", default-features = false, features = [ -sp-std = { package = "sp-std", path = "../../../../substrate/primitives/std", default-features = false } +sp-std = { workspace = true } diff --git polkadot/runtime/metrics/Cargo.toml polkadot/runtime/metrics/Cargo.toml index 4816275428..95103c7d24 100644 --- polkadot/runtime/metrics/Cargo.toml +++ polkadot/runtime/metrics/Cargo.toml @@ -13,2 +13,2 @@ workspace = true -sp-std = { package = "sp-std", path = "../../../substrate/primitives/std", default-features = false } -sp-tracing = { path = "../../../substrate/primitives/tracing", default-features = false } +sp-std = { workspace = true } +sp-tracing = { workspace = true } @@ -17 +17 @@ primitives = { package = "polkadot-primitives", path = "../../primitives", defau -frame-benchmarking = { path = "../../../substrate/frame/benchmarking", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } @@ -19 +19 @@ frame-benchmarking = { path = "../../../substrate/frame/benchmarking", default-f -bs58 = { version = "0.5.0", default-features = false, features = ["alloc"] } +bs58 = { features = ["alloc"] , workspace = true } diff --git polkadot/runtime/parachains/Cargo.toml polkadot/runtime/parachains/Cargo.toml index 6104014547..b31209030d 100644 --- polkadot/runtime/parachains/Cargo.toml +++ polkadot/runtime/parachains/Cargo.toml @@ -13,2 +13,2 @@ workspace = true -impl-trait-for-tuples = "0.2.2" -bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } +impl-trait-for-tuples = { workspace = true } +bitvec = { features = ["alloc"] , workspace = true } @@ -18 +18 @@ rustc-hex = { version = "2.1.0", default-features = false } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -20,2 +20,2 @@ serde = { features = ["alloc", "derive"], workspace = true } -derive_more = "0.99.17" -bitflags = "1.3.2" +derive_more = { workspace = true, default-features = true } +bitflags = { workspace = true } @@ -23 +23 @@ bitflags = "1.3.2" -sp-api = { path = "../../../substrate/primitives/api", default-features = false } +sp-api = { workspace = true } @@ -25,2 +25,2 @@ inherents = { package = "sp-inherents", path = "../../../substrate/primitives/in -sp-std = { package = "sp-std", path = "../../../substrate/primitives/std", default-features = false } -sp-io = { path = "../../../substrate/primitives/io", default-features = false } +sp-std = { workspace = true } +sp-io = { workspace = true } @@ -28,2 +28,2 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-session = { path = "../../../substrate/primitives/session", default-features = false } -sp-staking = { path = "../../../substrate/primitives/staking", default-features = false, features = ["serde"] } +sp-session = { workspace = true } +sp-staking = { features = ["serde"] , workspace = true } @@ -31 +31 @@ sp-core = { path = "../../../substrate/primitives/core", default-features = fals -sp-keystore = { path = "../../../substrate/primitives/keystore", optional = true } +sp-keystore = { optional = true , workspace = true, default-features = true } @@ -33,2 +33,2 @@ sp-application-crypto = { path = "../../../substrate/primitives/application-cryp -sp-tracing = { path = "../../../substrate/primitives/tracing", default-features = false, optional = true } -sp-arithmetic = { path = "../../../substrate/primitives/arithmetic", default-features = false } +sp-tracing = { optional = true , workspace = true } +sp-arithmetic = { workspace = true } @@ -36,11 +36,11 @@ sp-arithmetic = { path = "../../../substrate/primitives/arithmetic", default-fea -pallet-authority-discovery = { path = "../../../substrate/frame/authority-discovery", default-features = false } -pallet-authorship = { path = "../../../substrate/frame/authorship", default-features = false } -pallet-balances = { path = "../../../substrate/frame/balances", default-features = false } -pallet-babe = { path = "../../../substrate/frame/babe", default-features = false } -pallet-broker = { path = "../../../substrate/frame/broker", default-features = false } -pallet-message-queue = { path = "../../../substrate/frame/message-queue", default-features = false } -pallet-session = { path = "../../../substrate/frame/session", default-features = false } -pallet-staking = { path = "../../../substrate/frame/staking", default-features = false } -pallet-timestamp = { path = "../../../substrate/frame/timestamp", default-features = false } -pallet-vesting = { path = "../../../substrate/frame/vesting", default-features = false } -frame-benchmarking = { path = "../../../substrate/frame/benchmarking", default-features = false, optional = true } +pallet-authority-discovery = { workspace = true } +pallet-authorship = { workspace = true } +pallet-balances = { workspace = true } +pallet-babe = { workspace = true } +pallet-broker = { workspace = true } +pallet-message-queue = { workspace = true } +pallet-session = { workspace = true } +pallet-staking = { workspace = true } +pallet-timestamp = { workspace = true } +pallet-vesting = { workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -50,2 +50,2 @@ frame-system = { path = "../../../substrate/frame/system", default-features = fa -xcm = { package = "staging-xcm", path = "../../xcm", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../xcm/xcm-executor", default-features = false } +xcm = { workspace = true } +xcm-executor = { workspace = true } @@ -54,3 +54,3 @@ primitives = { package = "polkadot-primitives", path = "../../primitives", defau -rand = { version = "0.8.5", default-features = false } -rand_chacha = { version = "0.3.1", default-features = false } -static_assertions = { version = "1.1.0", optional = true } +rand = { workspace = true } +rand_chacha = { workspace = true } +static_assertions = { optional = true , workspace = true, default-features = true } @@ -58,2 +58,2 @@ polkadot-parachain-primitives = { path = "../../parachain", default-features = f -polkadot-runtime-metrics = { path = "../metrics", default-features = false } -polkadot-core-primitives = { path = "../../core-primitives", default-features = false } +polkadot-runtime-metrics = { workspace = true } +polkadot-core-primitives = { workspace = true } @@ -62,2 +62,2 @@ polkadot-core-primitives = { path = "../../core-primitives", default-features = -futures = "0.3.21" -hex-literal = "0.4.1" +futures = { workspace = true } +hex-literal = { workspace = true, default-features = true } @@ -65,2 +65,2 @@ keyring = { package = "sp-keyring", path = "../../../substrate/primitives/keyrin -frame-support-test = { path = "../../../substrate/frame/support/test" } -sc-keystore = { path = "../../../substrate/client/keystore" } +frame-support-test = { workspace = true } +sc-keystore = { workspace = true, default-features = true } @@ -68,5 +68,5 @@ test-helpers = { package = "polkadot-primitives-test-helpers", path = "../../pri -sp-tracing = { path = "../../../substrate/primitives/tracing" } -sp-crypto-hashing = { path = "../../../substrate/primitives/crypto/hashing" } -thousands = "0.2.0" -assert_matches = "1" -rstest = "0.18.2" +sp-tracing = { workspace = true, default-features = true } +sp-crypto-hashing = { workspace = true, default-features = true } +thousands = { workspace = true } +assert_matches = { workspace = true } +rstest = { workspace = true } diff --git polkadot/runtime/rococo/Cargo.toml polkadot/runtime/rococo/Cargo.toml index 3dc59cc172..c5441c2797 100644 --- polkadot/runtime/rococo/Cargo.toml +++ polkadot/runtime/rococo/Cargo.toml @@ -15 +15 @@ parity-scale-codec = { version = "3.6.1", default-features = false, features = [ -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -19,2 +19,2 @@ serde_derive = { optional = true, workspace = true } -static_assertions = "1.1.0" -smallvec = "1.8.0" +static_assertions = { workspace = true, default-features = true } +smallvec = { workspace = true, default-features = true } @@ -25,4 +25,4 @@ beefy-primitives = { package = "sp-consensus-beefy", path = "../../../substrate/ -binary-merkle-tree = { path = "../../../substrate/utils/binary-merkle-tree", default-features = false } -rococo-runtime-constants = { package = "rococo-runtime-constants", path = "constants", default-features = false } -sp-api = { path = "../../../substrate/primitives/api", default-features = false } -sp-genesis-builder = { path = "../../../substrate/primitives/genesis-builder", default-features = false } +binary-merkle-tree = { workspace = true } +rococo-runtime-constants = { workspace = true } +sp-api = { workspace = true } +sp-genesis-builder = { workspace = true } @@ -31,4 +31,4 @@ offchain-primitives = { package = "sp-offchain", path = "../../../substrate/prim -sp-arithmetic = { path = "../../../substrate/primitives/arithmetic", default-features = false } -sp-std = { package = "sp-std", path = "../../../substrate/primitives/std", default-features = false } -sp-io = { path = "../../../substrate/primitives/io", default-features = false } -sp-mmr-primitives = { path = "../../../substrate/primitives/merkle-mountain-range", default-features = false } +sp-arithmetic = { workspace = true } +sp-std = { workspace = true } +sp-io = { workspace = true } +sp-mmr-primitives = { workspace = true } @@ -36 +36 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-staking = { path = "../../../substrate/primitives/staking", default-features = false } +sp-staking = { workspace = true } @@ -38,3 +38,3 @@ sp-core = { path = "../../../substrate/primitives/core", default-features = fals -sp-session = { path = "../../../substrate/primitives/session", default-features = false } -sp-storage = { path = "../../../substrate/primitives/storage", default-features = false } -sp-version = { path = "../../../substrate/primitives/version", default-features = false } +sp-session = { workspace = true } +sp-storage = { workspace = true } +sp-version = { workspace = true } @@ -44,36 +44,36 @@ block-builder-api = { package = "sp-block-builder", path = "../../../substrate/p -pallet-authority-discovery = { path = "../../../substrate/frame/authority-discovery", default-features = false } -pallet-authorship = { path = "../../../substrate/frame/authorship", default-features = false } -pallet-babe = { path = "../../../substrate/frame/babe", default-features = false } -pallet-balances = { path = "../../../substrate/frame/balances", default-features = false } -pallet-beefy = { path = "../../../substrate/frame/beefy", default-features = false } -pallet-beefy-mmr = { path = "../../../substrate/frame/beefy-mmr", default-features = false } -pallet-bounties = { path = "../../../substrate/frame/bounties", default-features = false } -pallet-child-bounties = { path = "../../../substrate/frame/child-bounties", default-features = false } -pallet-state-trie-migration = { path = "../../../substrate/frame/state-trie-migration", default-features = false } -pallet-transaction-payment = { path = "../../../substrate/frame/transaction-payment", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { path = "../../../substrate/frame/transaction-payment/rpc/runtime-api", default-features = false } -pallet-collective = { path = "../../../substrate/frame/collective", default-features = false } -pallet-conviction-voting = { path = "../../../substrate/frame/conviction-voting", default-features = false } -pallet-democracy = { path = "../../../substrate/frame/democracy", default-features = false } -pallet-elections-phragmen = { path = "../../../substrate/frame/elections-phragmen", default-features = false } -pallet-asset-rate = { path = "../../../substrate/frame/asset-rate", default-features = false } -frame-executive = { path = "../../../substrate/frame/executive", default-features = false } -pallet-grandpa = { path = "../../../substrate/frame/grandpa", default-features = false } -pallet-identity = { path = "../../../substrate/frame/identity", default-features = false } -pallet-im-online = { path = "../../../substrate/frame/im-online", default-features = false } -pallet-indices = { path = "../../../substrate/frame/indices", default-features = false } -pallet-membership = { path = "../../../substrate/frame/membership", default-features = false } -pallet-message-queue = { path = "../../../substrate/frame/message-queue", default-features = false } -pallet-mmr = { path = "../../../substrate/frame/merkle-mountain-range", default-features = false } -pallet-multisig = { path = "../../../substrate/frame/multisig", default-features = false } -pallet-nis = { path = "../../../substrate/frame/nis", default-features = false } -pallet-offences = { path = "../../../substrate/frame/offences", default-features = false } -pallet-preimage = { path = "../../../substrate/frame/preimage", default-features = false } -pallet-proxy = { path = "../../../substrate/frame/proxy", default-features = false } -pallet-ranked-collective = { path = "../../../substrate/frame/ranked-collective", default-features = false } -pallet-recovery = { path = "../../../substrate/frame/recovery", default-features = false } -pallet-referenda = { path = "../../../substrate/frame/referenda", default-features = false } -pallet-scheduler = { path = "../../../substrate/frame/scheduler", default-features = false } -pallet-session = { path = "../../../substrate/frame/session", default-features = false } -pallet-society = { path = "../../../substrate/frame/society", default-features = false } -pallet-sudo = { path = "../../../substrate/frame/sudo", default-features = false } +pallet-authority-discovery = { workspace = true } +pallet-authorship = { workspace = true } +pallet-babe = { workspace = true } +pallet-balances = { workspace = true } +pallet-beefy = { workspace = true } +pallet-beefy-mmr = { workspace = true } +pallet-bounties = { workspace = true } +pallet-child-bounties = { workspace = true } +pallet-state-trie-migration = { workspace = true } +pallet-transaction-payment = { workspace = true } +pallet-transaction-payment-rpc-runtime-api = { workspace = true } +pallet-collective = { workspace = true } +pallet-conviction-voting = { workspace = true } +pallet-democracy = { workspace = true } +pallet-elections-phragmen = { workspace = true } +pallet-asset-rate = { workspace = true } +frame-executive = { workspace = true } +pallet-grandpa = { workspace = true } +pallet-identity = { workspace = true } +pallet-im-online = { workspace = true } +pallet-indices = { workspace = true } +pallet-membership = { workspace = true } +pallet-message-queue = { workspace = true } +pallet-mmr = { workspace = true } +pallet-multisig = { workspace = true } +pallet-nis = { workspace = true } +pallet-offences = { workspace = true } +pallet-preimage = { workspace = true } +pallet-proxy = { workspace = true } +pallet-ranked-collective = { workspace = true } +pallet-recovery = { workspace = true } +pallet-referenda = { workspace = true } +pallet-scheduler = { workspace = true } +pallet-session = { workspace = true } +pallet-society = { workspace = true } +pallet-sudo = { workspace = true } @@ -81 +81 @@ frame-support = { path = "../../../substrate/frame/support", default-features = -pallet-staking = { path = "../../../substrate/frame/staking", default-features = false } +pallet-staking = { workspace = true } @@ -83,10 +83,10 @@ frame-system = { path = "../../../substrate/frame/system", default-features = fa -frame-system-rpc-runtime-api = { path = "../../../substrate/frame/system/rpc/runtime-api", default-features = false } -pallet-timestamp = { path = "../../../substrate/frame/timestamp", default-features = false } -pallet-tips = { path = "../../../substrate/frame/tips", default-features = false } -pallet-treasury = { path = "../../../substrate/frame/treasury", default-features = false } -pallet-utility = { path = "../../../substrate/frame/utility", default-features = false } -pallet-vesting = { path = "../../../substrate/frame/vesting", default-features = false } -pallet-whitelist = { path = "../../../substrate/frame/whitelist", default-features = false } -pallet-xcm = { path = "../../xcm/pallet-xcm", default-features = false } -pallet-xcm-benchmarks = { path = "../../xcm/pallet-xcm-benchmarks", default-features = false, optional = true } -pallet-root-testing = { path = "../../../substrate/frame/root-testing", default-features = false } +frame-system-rpc-runtime-api = { workspace = true } +pallet-timestamp = { workspace = true } +pallet-tips = { workspace = true } +pallet-treasury = { workspace = true } +pallet-utility = { workspace = true } +pallet-vesting = { workspace = true } +pallet-whitelist = { workspace = true } +pallet-xcm = { workspace = true } +pallet-xcm-benchmarks = { optional = true , workspace = true } +pallet-root-testing = { workspace = true } @@ -94,4 +94,4 @@ pallet-root-testing = { path = "../../../substrate/frame/root-testing", default- -frame-benchmarking = { path = "../../../substrate/frame/benchmarking", default-features = false, optional = true } -frame-try-runtime = { path = "../../../substrate/frame/try-runtime", default-features = false, optional = true } -frame-system-benchmarking = { path = "../../../substrate/frame/system/benchmarking", default-features = false, optional = true } -hex-literal = { version = "0.4.1" } +frame-benchmarking = { optional = true , workspace = true } +frame-try-runtime = { optional = true , workspace = true } +frame-system-benchmarking = { optional = true , workspace = true } +hex-literal = { workspace = true, default-features = true } @@ -104,3 +104,3 @@ polkadot-parachain-primitives = { path = "../../parachain", default-features = f -xcm = { package = "staging-xcm", path = "../../xcm", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../xcm/xcm-executor", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../../xcm/xcm-builder", default-features = false } +xcm = { workspace = true } +xcm-executor = { workspace = true } +xcm-builder = { workspace = true } @@ -109 +109 @@ xcm-builder = { package = "staging-xcm-builder", path = "../../xcm/xcm-builder", -tiny-keccak = { version = "2.0.2", features = ["keccak"] } +tiny-keccak = { features = ["keccak"] , workspace = true } @@ -111,3 +111,3 @@ keyring = { package = "sp-keyring", path = "../../../substrate/primitives/keyrin -remote-externalities = { package = "frame-remote-externalities", path = "../../../substrate/utils/frame/remote-externalities" } -sp-trie = { path = "../../../substrate/primitives/trie" } -separator = "0.4.1" +remote-externalities = { workspace = true } +sp-trie = { workspace = true, default-features = true } +separator = { workspace = true } @@ -115,2 +115,2 @@ serde_json = { workspace = true, default-features = true } -sp-tracing = { path = "../../../substrate/primitives/tracing", default-features = false } -tokio = { version = "1.24.2", features = ["macros"] } +sp-tracing = { workspace = true } +tokio = { features = ["macros"] , workspace = true, default-features = true } @@ -119 +119 @@ tokio = { version = "1.24.2", features = ["macros"] } -substrate-wasm-builder = { path = "../../../substrate/utils/wasm-builder", optional = true } +substrate-wasm-builder = { optional = true , workspace = true } diff --git polkadot/runtime/rococo/constants/Cargo.toml polkadot/runtime/rococo/constants/Cargo.toml index 3ca3877a76..b79af373ec 100644 --- polkadot/runtime/rococo/constants/Cargo.toml +++ polkadot/runtime/rococo/constants/Cargo.toml @@ -13 +13 @@ workspace = true -smallvec = "1.8.0" +smallvec = { workspace = true, default-features = true } @@ -19 +19 @@ sp-runtime = { path = "../../../../substrate/primitives/runtime", default-featur -sp-weights = { path = "../../../../substrate/primitives/weights", default-features = false } +sp-weights = { workspace = true } @@ -22,2 +22,2 @@ sp-core = { path = "../../../../substrate/primitives/core", default-features = f -xcm = { package = "staging-xcm", path = "../../../xcm", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../../../xcm/xcm-builder", default-features = false } +xcm = { workspace = true } +xcm-builder = { workspace = true } diff --git polkadot/runtime/test-runtime/Cargo.toml polkadot/runtime/test-runtime/Cargo.toml index 9753a40930..ebb10f01e5 100644 --- polkadot/runtime/test-runtime/Cargo.toml +++ polkadot/runtime/test-runtime/Cargo.toml @@ -14 +14 @@ workspace = true -bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } +bitvec = { features = ["alloc"] , workspace = true } @@ -18 +18 @@ rustc-hex = { version = "2.1.0", default-features = false } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -21 +21 @@ serde_derive = { optional = true, workspace = true } -smallvec = "1.8.0" +smallvec = { workspace = true, default-features = true } @@ -26 +26 @@ beefy-primitives = { package = "sp-consensus-beefy", path = "../../../substrate/ -sp-api = { path = "../../../substrate/primitives/api", default-features = false } +sp-api = { workspace = true } @@ -29,2 +29,2 @@ offchain-primitives = { package = "sp-offchain", path = "../../../substrate/prim -sp-std = { path = "../../../substrate/primitives/std", default-features = false } -sp-io = { path = "../../../substrate/primitives/io", default-features = false } +sp-std = { workspace = true } +sp-io = { workspace = true } @@ -32 +32 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-staking = { path = "../../../substrate/primitives/staking", default-features = false } +sp-staking = { workspace = true } @@ -34,5 +34,5 @@ sp-core = { path = "../../../substrate/primitives/core", default-features = fals -sp-genesis-builder = { path = "../../../substrate/primitives/genesis-builder", default-features = false } -sp-mmr-primitives = { path = "../../../substrate/primitives/merkle-mountain-range", default-features = false } -sp-session = { path = "../../../substrate/primitives/session", default-features = false } -sp-version = { path = "../../../substrate/primitives/version", default-features = false } -frame-election-provider-support = { path = "../../../substrate/frame/election-provider-support", default-features = false } +sp-genesis-builder = { workspace = true } +sp-mmr-primitives = { workspace = true } +sp-session = { workspace = true } +sp-version = { workspace = true } +frame-election-provider-support = { workspace = true } @@ -42,11 +42,11 @@ block-builder-api = { package = "sp-block-builder", path = "../../../substrate/p -pallet-authority-discovery = { path = "../../../substrate/frame/authority-discovery", default-features = false } -pallet-authorship = { path = "../../../substrate/frame/authorship", default-features = false } -pallet-babe = { path = "../../../substrate/frame/babe", default-features = false } -pallet-balances = { path = "../../../substrate/frame/balances", default-features = false } -pallet-transaction-payment = { path = "../../../substrate/frame/transaction-payment", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { path = "../../../substrate/frame/transaction-payment/rpc/runtime-api", default-features = false } -frame-executive = { path = "../../../substrate/frame/executive", default-features = false } -pallet-grandpa = { path = "../../../substrate/frame/grandpa", default-features = false } -pallet-indices = { path = "../../../substrate/frame/indices", default-features = false } -pallet-offences = { path = "../../../substrate/frame/offences", default-features = false } -pallet-session = { path = "../../../substrate/frame/session", default-features = false } +pallet-authority-discovery = { workspace = true } +pallet-authorship = { workspace = true } +pallet-babe = { workspace = true } +pallet-balances = { workspace = true } +pallet-transaction-payment = { workspace = true } +pallet-transaction-payment-rpc-runtime-api = { workspace = true } +frame-executive = { workspace = true } +pallet-grandpa = { workspace = true } +pallet-indices = { workspace = true } +pallet-offences = { workspace = true } +pallet-session = { workspace = true } @@ -54,2 +54,2 @@ frame-support = { path = "../../../substrate/frame/support", default-features = -pallet-staking = { path = "../../../substrate/frame/staking", default-features = false } -pallet-staking-reward-curve = { path = "../../../substrate/frame/staking/reward-curve" } +pallet-staking = { workspace = true } +pallet-staking-reward-curve = { workspace = true, default-features = true } @@ -57,5 +57,5 @@ frame-system = { path = "../../../substrate/frame/system", default-features = fa -frame-system-rpc-runtime-api = { path = "../../../substrate/frame/system/rpc/runtime-api", default-features = false } -test-runtime-constants = { package = "test-runtime-constants", path = "constants", default-features = false } -pallet-timestamp = { path = "../../../substrate/frame/timestamp", default-features = false } -pallet-sudo = { path = "../../../substrate/frame/sudo", default-features = false } -pallet-vesting = { path = "../../../substrate/frame/vesting", default-features = false } +frame-system-rpc-runtime-api = { workspace = true } +test-runtime-constants = { workspace = true } +pallet-timestamp = { workspace = true } +pallet-sudo = { workspace = true } +pallet-vesting = { workspace = true } @@ -65 +65 @@ primitives = { package = "polkadot-primitives", path = "../../primitives", defau -pallet-xcm = { path = "../../xcm/pallet-xcm", default-features = false } +pallet-xcm = { workspace = true } @@ -68,3 +68,3 @@ polkadot-runtime-parachains = { path = "../parachains", default-features = false -xcm-builder = { package = "staging-xcm-builder", path = "../../xcm/xcm-builder", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../xcm/xcm-executor", default-features = false } -xcm = { package = "staging-xcm", path = "../../xcm", default-features = false } +xcm-builder = { workspace = true } +xcm-executor = { workspace = true } +xcm = { workspace = true } @@ -73,2 +73,2 @@ xcm = { package = "staging-xcm", path = "../../xcm", default-features = false } -hex-literal = "0.4.1" -tiny-keccak = { version = "2.0.2", features = ["keccak"] } +hex-literal = { workspace = true, default-features = true } +tiny-keccak = { features = ["keccak"] , workspace = true } @@ -76 +76 @@ keyring = { package = "sp-keyring", path = "../../../substrate/primitives/keyrin -sp-trie = { path = "../../../substrate/primitives/trie" } +sp-trie = { workspace = true, default-features = true } @@ -80 +80 @@ serde_json = { workspace = true, default-features = true } -substrate-wasm-builder = { path = "../../../substrate/utils/wasm-builder" } +substrate-wasm-builder = { workspace = true } diff --git polkadot/runtime/test-runtime/constants/Cargo.toml polkadot/runtime/test-runtime/constants/Cargo.toml index 2b387bbd30..846720f824 100644 --- polkadot/runtime/test-runtime/constants/Cargo.toml +++ polkadot/runtime/test-runtime/constants/Cargo.toml @@ -13 +13 @@ workspace = true -smallvec = "1.8.0" +smallvec = { workspace = true, default-features = true } @@ -19 +19 @@ sp-runtime = { path = "../../../../substrate/primitives/runtime", default-featur -sp-weights = { path = "../../../../substrate/primitives/weights", default-features = false } +sp-weights = { workspace = true } diff --git polkadot/runtime/westend/Cargo.toml polkadot/runtime/westend/Cargo.toml index 4180828bcf..f6056a78fb 100644 --- polkadot/runtime/westend/Cargo.toml +++ polkadot/runtime/westend/Cargo.toml @@ -14 +14 @@ workspace = true -bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } +bitvec = { features = ["alloc"] , workspace = true } @@ -16 +16 @@ parity-scale-codec = { version = "3.6.1", default-features = false, features = [ -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -21 +21 @@ serde_derive = { optional = true, workspace = true } -smallvec = "1.8.0" +smallvec = { workspace = true, default-features = true } @@ -26 +26 @@ beefy-primitives = { package = "sp-consensus-beefy", path = "../../../substrate/ -binary-merkle-tree = { path = "../../../substrate/utils/binary-merkle-tree", default-features = false } +binary-merkle-tree = { workspace = true } @@ -29 +29 @@ offchain-primitives = { package = "sp-offchain", path = "../../../substrate/prim -sp-api = { path = "../../../substrate/primitives/api", default-features = false } +sp-api = { workspace = true } @@ -31,5 +31,5 @@ sp-application-crypto = { path = "../../../substrate/primitives/application-cryp -sp-arithmetic = { path = "../../../substrate/primitives/arithmetic", default-features = false } -sp-std = { package = "sp-std", path = "../../../substrate/primitives/std", default-features = false } -sp-genesis-builder = { path = "../../../substrate/primitives/genesis-builder", default-features = false } -sp-io = { path = "../../../substrate/primitives/io", default-features = false } -sp-mmr-primitives = { path = "../../../substrate/primitives/merkle-mountain-range", default-features = false } +sp-arithmetic = { workspace = true } +sp-std = { workspace = true } +sp-genesis-builder = { workspace = true } +sp-io = { workspace = true } +sp-mmr-primitives = { workspace = true } @@ -37 +37 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-staking = { path = "../../../substrate/primitives/staking", default-features = false } +sp-staking = { workspace = true } @@ -39,3 +39,3 @@ sp-core = { path = "../../../substrate/primitives/core", default-features = fals -sp-session = { path = "../../../substrate/primitives/session", default-features = false } -sp-storage = { path = "../../../substrate/primitives/storage", default-features = false } -sp-version = { path = "../../../substrate/primitives/version", default-features = false } +sp-session = { workspace = true } +sp-storage = { workspace = true } +sp-version = { workspace = true } @@ -44 +44 @@ block-builder-api = { package = "sp-block-builder", path = "../../../substrate/p -sp-npos-elections = { path = "../../../substrate/primitives/npos-elections", default-features = false } +sp-npos-elections = { workspace = true } @@ -46,2 +46,2 @@ sp-npos-elections = { path = "../../../substrate/primitives/npos-elections", def -frame-election-provider-support = { path = "../../../substrate/frame/election-provider-support", default-features = false } -frame-executive = { path = "../../../substrate/frame/executive", default-features = false } +frame-election-provider-support = { workspace = true } +frame-executive = { workspace = true } @@ -50,49 +50,49 @@ frame-system = { path = "../../../substrate/frame/system", default-features = fa -frame-system-rpc-runtime-api = { path = "../../../substrate/frame/system/rpc/runtime-api", default-features = false } -westend-runtime-constants = { package = "westend-runtime-constants", path = "constants", default-features = false } -pallet-asset-rate = { path = "../../../substrate/frame/asset-rate", default-features = false } -pallet-authority-discovery = { path = "../../../substrate/frame/authority-discovery", default-features = false } -pallet-authorship = { path = "../../../substrate/frame/authorship", default-features = false } -pallet-babe = { path = "../../../substrate/frame/babe", default-features = false } -pallet-bags-list = { path = "../../../substrate/frame/bags-list", default-features = false } -pallet-balances = { path = "../../../substrate/frame/balances", default-features = false } -pallet-beefy = { path = "../../../substrate/frame/beefy", default-features = false } -pallet-beefy-mmr = { path = "../../../substrate/frame/beefy-mmr", default-features = false } -pallet-collective = { path = "../../../substrate/frame/collective", default-features = false } -pallet-democracy = { path = "../../../substrate/frame/democracy", default-features = false } -pallet-elections-phragmen = { package = "pallet-elections-phragmen", path = "../../../substrate/frame/elections-phragmen", default-features = false } -pallet-election-provider-multi-phase = { path = "../../../substrate/frame/election-provider-multi-phase", default-features = false } -pallet-fast-unstake = { path = "../../../substrate/frame/fast-unstake", default-features = false } -pallet-grandpa = { path = "../../../substrate/frame/grandpa", default-features = false } -pallet-identity = { path = "../../../substrate/frame/identity", default-features = false } -pallet-im-online = { path = "../../../substrate/frame/im-online", default-features = false } -pallet-indices = { path = "../../../substrate/frame/indices", default-features = false } -pallet-membership = { path = "../../../substrate/frame/membership", default-features = false } -pallet-message-queue = { path = "../../../substrate/frame/message-queue", default-features = false } -pallet-mmr = { path = "../../../substrate/frame/merkle-mountain-range", default-features = false } -pallet-multisig = { path = "../../../substrate/frame/multisig", default-features = false } -pallet-nomination-pools = { path = "../../../substrate/frame/nomination-pools", default-features = false } -pallet-conviction-voting = { path = "../../../substrate/frame/conviction-voting", default-features = false } -pallet-offences = { path = "../../../substrate/frame/offences", default-features = false } -pallet-preimage = { path = "../../../substrate/frame/preimage", default-features = false } -pallet-proxy = { path = "../../../substrate/frame/proxy", default-features = false } -pallet-recovery = { path = "../../../substrate/frame/recovery", default-features = false } -pallet-referenda = { path = "../../../substrate/frame/referenda", default-features = false } -pallet-scheduler = { path = "../../../substrate/frame/scheduler", default-features = false } -pallet-session = { path = "../../../substrate/frame/session", default-features = false } -pallet-society = { path = "../../../substrate/frame/society", default-features = false } -pallet-staking = { path = "../../../substrate/frame/staking", default-features = false } -pallet-staking-reward-curve = { package = "pallet-staking-reward-curve", path = "../../../substrate/frame/staking/reward-curve" } -pallet-staking-runtime-api = { path = "../../../substrate/frame/staking/runtime-api", default-features = false } -pallet-state-trie-migration = { path = "../../../substrate/frame/state-trie-migration", default-features = false } -pallet-sudo = { path = "../../../substrate/frame/sudo", default-features = false } -pallet-timestamp = { path = "../../../substrate/frame/timestamp", default-features = false } -pallet-transaction-payment = { path = "../../../substrate/frame/transaction-payment", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { path = "../../../substrate/frame/transaction-payment/rpc/runtime-api", default-features = false } -pallet-nomination-pools-runtime-api = { path = "../../../substrate/frame/nomination-pools/runtime-api", default-features = false } -pallet-treasury = { path = "../../../substrate/frame/treasury", default-features = false } -pallet-utility = { path = "../../../substrate/frame/utility", default-features = false } -pallet-vesting = { path = "../../../substrate/frame/vesting", default-features = false } -pallet-whitelist = { path = "../../../substrate/frame/whitelist", default-features = false } -pallet-xcm = { path = "../../xcm/pallet-xcm", default-features = false } -pallet-xcm-benchmarks = { path = "../../xcm/pallet-xcm-benchmarks", default-features = false, optional = true } -pallet-root-testing = { path = "../../../substrate/frame/root-testing", default-features = false } +frame-system-rpc-runtime-api = { workspace = true } +westend-runtime-constants = { workspace = true } +pallet-asset-rate = { workspace = true } +pallet-authority-discovery = { workspace = true } +pallet-authorship = { workspace = true } +pallet-babe = { workspace = true } +pallet-bags-list = { workspace = true } +pallet-balances = { workspace = true } +pallet-beefy = { workspace = true } +pallet-beefy-mmr = { workspace = true } +pallet-collective = { workspace = true } +pallet-democracy = { workspace = true } +pallet-elections-phragmen = { workspace = true } +pallet-election-provider-multi-phase = { workspace = true } +pallet-fast-unstake = { workspace = true } +pallet-grandpa = { workspace = true } +pallet-identity = { workspace = true } +pallet-im-online = { workspace = true } +pallet-indices = { workspace = true } +pallet-membership = { workspace = true } +pallet-message-queue = { workspace = true } +pallet-mmr = { workspace = true } +pallet-multisig = { workspace = true } +pallet-nomination-pools = { workspace = true } +pallet-conviction-voting = { workspace = true } +pallet-offences = { workspace = true } +pallet-preimage = { workspace = true } +pallet-proxy = { workspace = true } +pallet-recovery = { workspace = true } +pallet-referenda = { workspace = true } +pallet-scheduler = { workspace = true } +pallet-session = { workspace = true } +pallet-society = { workspace = true } +pallet-staking = { workspace = true } +pallet-staking-reward-curve = { workspace = true, default-features = true } +pallet-staking-runtime-api = { workspace = true } +pallet-state-trie-migration = { workspace = true } +pallet-sudo = { workspace = true } +pallet-timestamp = { workspace = true } +pallet-transaction-payment = { workspace = true } +pallet-transaction-payment-rpc-runtime-api = { workspace = true } +pallet-nomination-pools-runtime-api = { workspace = true } +pallet-treasury = { workspace = true } +pallet-utility = { workspace = true } +pallet-vesting = { workspace = true } +pallet-whitelist = { workspace = true } +pallet-xcm = { workspace = true } +pallet-xcm-benchmarks = { optional = true , workspace = true } +pallet-root-testing = { workspace = true } @@ -100,8 +100,8 @@ pallet-root-testing = { path = "../../../substrate/frame/root-testing", default- -frame-benchmarking = { path = "../../../substrate/frame/benchmarking", default-features = false, optional = true } -frame-try-runtime = { path = "../../../substrate/frame/try-runtime", default-features = false, optional = true } -frame-system-benchmarking = { path = "../../../substrate/frame/system/benchmarking", default-features = false, optional = true } -pallet-election-provider-support-benchmarking = { path = "../../../substrate/frame/election-provider-support/benchmarking", default-features = false, optional = true } -pallet-nomination-pools-benchmarking = { path = "../../../substrate/frame/nomination-pools/benchmarking", default-features = false, optional = true } -pallet-offences-benchmarking = { path = "../../../substrate/frame/offences/benchmarking", default-features = false, optional = true } -pallet-session-benchmarking = { path = "../../../substrate/frame/session/benchmarking", default-features = false, optional = true } -hex-literal = { version = "0.4.1", optional = true } +frame-benchmarking = { optional = true , workspace = true } +frame-try-runtime = { optional = true , workspace = true } +frame-system-benchmarking = { optional = true , workspace = true } +pallet-election-provider-support-benchmarking = { optional = true , workspace = true } +pallet-nomination-pools-benchmarking = { optional = true , workspace = true } +pallet-offences-benchmarking = { optional = true , workspace = true } +pallet-session-benchmarking = { optional = true , workspace = true } +hex-literal = { optional = true , workspace = true, default-features = true } @@ -114,3 +114,3 @@ runtime-parachains = { package = "polkadot-runtime-parachains", path = "../parac -xcm = { package = "staging-xcm", path = "../../xcm", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../../xcm/xcm-executor", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../../xcm/xcm-builder", default-features = false } +xcm = { workspace = true } +xcm-executor = { workspace = true } +xcm-builder = { workspace = true } @@ -119,2 +119,2 @@ xcm-builder = { package = "staging-xcm-builder", path = "../../xcm/xcm-builder", -hex-literal = "0.4.1" -tiny-keccak = { version = "2.0.2", features = ["keccak"] } +hex-literal = { workspace = true, default-features = true } +tiny-keccak = { features = ["keccak"] , workspace = true } @@ -123,3 +123,3 @@ serde_json = { workspace = true, default-features = true } -remote-externalities = { package = "frame-remote-externalities", path = "../../../substrate/utils/frame/remote-externalities" } -tokio = { version = "1.24.2", features = ["macros"] } -sp-tracing = { path = "../../../substrate/primitives/tracing", default-features = false } +remote-externalities = { workspace = true } +tokio = { features = ["macros"] , workspace = true, default-features = true } +sp-tracing = { workspace = true } @@ -128 +128 @@ sp-tracing = { path = "../../../substrate/primitives/tracing", default-features -substrate-wasm-builder = { path = "../../../substrate/utils/wasm-builder" } +substrate-wasm-builder = { workspace = true } diff --git polkadot/runtime/westend/constants/Cargo.toml polkadot/runtime/westend/constants/Cargo.toml index 81df8f4f02..d8787f9993 100644 --- polkadot/runtime/westend/constants/Cargo.toml +++ polkadot/runtime/westend/constants/Cargo.toml @@ -13 +13 @@ workspace = true -smallvec = "1.8.0" +smallvec = { workspace = true, default-features = true } @@ -19 +19 @@ sp-runtime = { path = "../../../../substrate/primitives/runtime", default-featur -sp-weights = { path = "../../../../substrate/primitives/weights", default-features = false } +sp-weights = { workspace = true } @@ -22,2 +22,2 @@ sp-core = { path = "../../../../substrate/primitives/core", default-features = f -xcm = { package = "staging-xcm", path = "../../../xcm", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../../../xcm/xcm-builder", default-features = false } +xcm = { workspace = true } +xcm-builder = { workspace = true } diff --git polkadot/statement-table/Cargo.toml polkadot/statement-table/Cargo.toml index 37b8a99d64..f47a806184 100644 --- polkadot/statement-table/Cargo.toml +++ polkadot/statement-table/Cargo.toml @@ -16 +16 @@ primitives = { package = "polkadot-primitives", path = "../primitives" } -gum = { package = "tracing-gum", path = "../node/gum" } +gum = { workspace = true } diff --git polkadot/utils/generate-bags/Cargo.toml polkadot/utils/generate-bags/Cargo.toml index c0e9bd332d..516ec36c60 100644 --- polkadot/utils/generate-bags/Cargo.toml +++ polkadot/utils/generate-bags/Cargo.toml @@ -13 +13 @@ workspace = true -clap = { version = "4.5.1", features = ["derive"] } +clap = { features = ["derive"] , workspace = true } @@ -15,2 +15,2 @@ clap = { version = "4.5.1", features = ["derive"] } -generate-bags = { path = "../../../substrate/utils/frame/generate-bags" } -sp-io = { path = "../../../substrate/primitives/io" } +generate-bags = { workspace = true } +sp-io = { workspace = true, default-features = true } @@ -18 +18 @@ sp-io = { path = "../../../substrate/primitives/io" } -westend-runtime = { path = "../../runtime/westend" } +westend-runtime = { workspace = true } diff --git polkadot/utils/remote-ext-tests/bags-list/Cargo.toml polkadot/utils/remote-ext-tests/bags-list/Cargo.toml index ddc5af97a1..88f4eee786 100644 --- polkadot/utils/remote-ext-tests/bags-list/Cargo.toml +++ polkadot/utils/remote-ext-tests/bags-list/Cargo.toml @@ -13,2 +13,2 @@ workspace = true -westend-runtime = { path = "../../../runtime/westend" } -westend-runtime-constants = { path = "../../../runtime/westend/constants" } +westend-runtime = { workspace = true } +westend-runtime-constants = { workspace = true, default-features = true } @@ -16,2 +16,2 @@ westend-runtime-constants = { path = "../../../runtime/westend/constants" } -pallet-bags-list-remote-tests = { path = "../../../../substrate/frame/bags-list/remote-tests" } -sp-tracing = { path = "../../../../substrate/primitives/tracing" } +pallet-bags-list-remote-tests = { workspace = true } +sp-tracing = { workspace = true, default-features = true } @@ -21 +21 @@ sp-core = { path = "../../../../substrate/primitives/core" } -clap = { version = "4.5.1", features = ["derive"] } +clap = { features = ["derive"] , workspace = true } @@ -23 +23 @@ log = { workspace = true, default-features = true } -tokio = { version = "1.24.2", features = ["macros"] } +tokio = { features = ["macros"] , workspace = true, default-features = true } diff --git polkadot/xcm/Cargo.toml polkadot/xcm/Cargo.toml index f9ccfb9833..9515654f69 100644 --- polkadot/xcm/Cargo.toml +++ polkadot/xcm/Cargo.toml @@ -13,4 +13,4 @@ workspace = true -array-bytes = "6.1" -bounded-collections = { version = "0.2.0", default-features = false, features = ["serde"] } -derivative = { version = "2.2.0", default-features = false, features = ["use_core"] } -impl-trait-for-tuples = "0.2.2" +array-bytes = { workspace = true, default-features = true } +bounded-collections = { features = ["serde"] , workspace = true } +derivative = { features = ["use_core"] , workspace = true } +impl-trait-for-tuples = { workspace = true } @@ -19,2 +19,2 @@ parity-scale-codec = { version = "3.6.1", default-features = false, features = [ -scale-info = { version = "2.10.0", default-features = false, features = ["derive", "serde"] } -sp-weights = { path = "../../substrate/primitives/weights", default-features = false, features = ["serde"] } +scale-info = { features = ["derive", "serde"] , workspace = true } +sp-weights = { features = ["serde"] , workspace = true } @@ -22,3 +22,3 @@ serde = { features = ["alloc", "derive", "rc"], workspace = true } -schemars = { version = "0.8.13", default-features = true, optional = true } -xcm-procedural = { path = "procedural" } -environmental = { version = "1.1.4", default-features = false } +schemars = { default-features = true, optional = true , workspace = true } +xcm-procedural = { workspace = true } +environmental = { workspace = true } @@ -27,3 +27,3 @@ environmental = { version = "1.1.4", default-features = false } -sp-io = { path = "../../substrate/primitives/io" } -hex = "0.4.3" -hex-literal = "0.4.1" +sp-io = { workspace = true, default-features = true } +hex = { workspace = true, default-features = true } +hex-literal = { workspace = true, default-features = true } diff --git polkadot/xcm/pallet-xcm-benchmarks/Cargo.toml polkadot/xcm/pallet-xcm-benchmarks/Cargo.toml index 80f2d1deed..08319545c9 100644 --- polkadot/xcm/pallet-xcm-benchmarks/Cargo.toml +++ polkadot/xcm/pallet-xcm-benchmarks/Cargo.toml @@ -17 +17 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -21,6 +21,6 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-std = { path = "../../../substrate/primitives/std", default-features = false } -sp-io = { path = "../../../substrate/primitives/io", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../xcm-executor", default-features = false } -frame-benchmarking = { path = "../../../substrate/frame/benchmarking", default-features = false } -xcm = { package = "staging-xcm", path = "..", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../xcm-builder", default-features = false } +sp-std = { workspace = true } +sp-io = { workspace = true } +xcm-executor = { workspace = true } +frame-benchmarking = { workspace = true } +xcm = { workspace = true } +xcm-builder = { workspace = true } @@ -30,2 +30,2 @@ log = { workspace = true, default-features = true } -pallet-balances = { path = "../../../substrate/frame/balances" } -pallet-assets = { path = "../../../substrate/frame/assets" } +pallet-balances = { workspace = true, default-features = true } +pallet-assets = { workspace = true, default-features = true } @@ -33,2 +33,2 @@ sp-core = { path = "../../../substrate/primitives/core" } -sp-tracing = { path = "../../../substrate/primitives/tracing" } -xcm = { package = "staging-xcm", path = ".." } +sp-tracing = { workspace = true, default-features = true } +xcm = { workspace = true, default-features = true } @@ -36 +36 @@ xcm = { package = "staging-xcm", path = ".." } -pallet-xcm = { path = "../pallet-xcm" } +pallet-xcm = { workspace = true, default-features = true } diff --git polkadot/xcm/pallet-xcm/Cargo.toml polkadot/xcm/pallet-xcm/Cargo.toml index 4840b6127f..88acb11b8d 100644 --- polkadot/xcm/pallet-xcm/Cargo.toml +++ polkadot/xcm/pallet-xcm/Cargo.toml @@ -13 +13 @@ workspace = true -bounded-collections = { version = "0.2.0", default-features = false } +bounded-collections = { workspace = true } @@ -15 +15 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -22 +22 @@ sp-core = { path = "../../../substrate/primitives/core", default-features = fals -sp-io = { path = "../../../substrate/primitives/io", default-features = false } +sp-io = { workspace = true } @@ -24 +24 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-std = { path = "../../../substrate/primitives/std", default-features = false } +sp-std = { workspace = true } @@ -26,3 +26,3 @@ sp-std = { path = "../../../substrate/primitives/std", default-features = false -xcm = { package = "staging-xcm", path = "..", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../xcm-executor", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../xcm-builder", default-features = false } +xcm = { workspace = true } +xcm-executor = { workspace = true } +xcm-builder = { workspace = true } @@ -31,2 +31,2 @@ xcm-builder = { package = "staging-xcm-builder", path = "../xcm-builder", defaul -frame-benchmarking = { path = "../../../substrate/frame/benchmarking", default-features = false, optional = true } -pallet-balances = { path = "../../../substrate/frame/balances", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } +pallet-balances = { optional = true , workspace = true } @@ -35 +35 @@ pallet-balances = { path = "../../../substrate/frame/balances", default-features -pallet-assets = { path = "../../../substrate/frame/assets" } +pallet-assets = { workspace = true, default-features = true } diff --git polkadot/xcm/procedural/Cargo.toml polkadot/xcm/procedural/Cargo.toml index ca9fb351bd..d6cc6182df 100644 --- polkadot/xcm/procedural/Cargo.toml +++ polkadot/xcm/procedural/Cargo.toml @@ -17 +17 @@ proc-macro = true -proc-macro2 = "1.0.56" +proc-macro2 = { workspace = true } @@ -20 +20 @@ syn = { workspace = true } -Inflector = "0.11.4" +Inflector = { workspace = true } @@ -23,2 +23,2 @@ Inflector = "0.11.4" -trybuild = { version = "1.0.88", features = ["diff"] } -xcm = { package = "staging-xcm", path = ".." } +trybuild = { features = ["diff"] , workspace = true } +xcm = { workspace = true, default-features = true } diff --git polkadot/xcm/xcm-builder/Cargo.toml polkadot/xcm/xcm-builder/Cargo.toml index 10726b0f51..da628aa9e1 100644 --- polkadot/xcm/xcm-builder/Cargo.toml +++ polkadot/xcm/xcm-builder/Cargo.toml @@ -13 +13 @@ workspace = true -impl-trait-for-tuples = "0.2.1" +impl-trait-for-tuples = { workspace = true } @@ -15,6 +15,6 @@ parity-scale-codec = { version = "3.6.1", default-features = false, features = [ -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -xcm = { package = "staging-xcm", path = "..", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = "../xcm-executor", default-features = false } -sp-std = { path = "../../../substrate/primitives/std", default-features = false } -sp-arithmetic = { path = "../../../substrate/primitives/arithmetic", default-features = false } -sp-io = { path = "../../../substrate/primitives/io", default-features = false } +scale-info = { features = ["derive"] , workspace = true } +xcm = { workspace = true } +xcm-executor = { workspace = true } +sp-std = { workspace = true } +sp-arithmetic = { workspace = true } +sp-io = { workspace = true } @@ -22 +22 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-weights = { path = "../../../substrate/primitives/weights", default-features = false } +sp-weights = { workspace = true } @@ -25 +25 @@ frame-system = { path = "../../../substrate/frame/system", default-features = fa -pallet-transaction-payment = { path = "../../../substrate/frame/transaction-payment", default-features = false } +pallet-transaction-payment = { workspace = true } @@ -32,5 +32,5 @@ polkadot-parachain-primitives = { path = "../../parachain", default-features = f -primitive-types = "0.12.1" -pallet-balances = { path = "../../../substrate/frame/balances" } -pallet-xcm = { path = "../pallet-xcm" } -pallet-salary = { path = "../../../substrate/frame/salary" } -pallet-assets = { path = "../../../substrate/frame/assets" } +primitive-types = { workspace = true, default-features = true } +pallet-balances = { workspace = true, default-features = true } +pallet-xcm = { workspace = true, default-features = true } +pallet-salary = { workspace = true, default-features = true } +pallet-assets = { workspace = true, default-features = true } @@ -39,2 +39,2 @@ polkadot-runtime-parachains = { path = "../../runtime/parachains" } -assert_matches = "1.5.0" -polkadot-test-runtime = { path = "../../runtime/test-runtime" } +assert_matches = { workspace = true } +polkadot-test-runtime = { workspace = true } diff --git polkadot/xcm/xcm-executor/Cargo.toml polkadot/xcm/xcm-executor/Cargo.toml index 71bd58073d..c7db162591 100644 --- polkadot/xcm/xcm-executor/Cargo.toml +++ polkadot/xcm/xcm-executor/Cargo.toml @@ -13,2 +13,2 @@ workspace = true -impl-trait-for-tuples = "0.2.2" -environmental = { version = "1.1.4", default-features = false } +impl-trait-for-tuples = { workspace = true } +environmental = { workspace = true } @@ -16,5 +16,5 @@ parity-scale-codec = { version = "3.6.1", default-features = false, features = [ -scale-info = { version = "2.5.0", default-features = false, features = ["derive", "serde"] } -xcm = { package = "staging-xcm", path = "..", default-features = false } -sp-std = { path = "../../../substrate/primitives/std", default-features = false } -sp-io = { path = "../../../substrate/primitives/io", default-features = false } -sp-arithmetic = { path = "../../../substrate/primitives/arithmetic", default-features = false } +scale-info = { features = ["derive", "serde"] , workspace = true } +xcm = { workspace = true } +sp-std = { workspace = true } +sp-io = { workspace = true } +sp-arithmetic = { workspace = true } @@ -23 +23 @@ sp-runtime = { path = "../../../substrate/primitives/runtime", default-features -sp-weights = { path = "../../../substrate/primitives/weights", default-features = false } +sp-weights = { workspace = true } @@ -26 +26 @@ log = { workspace = true } -frame-benchmarking = { path = "../../../substrate/frame/benchmarking", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } diff --git polkadot/xcm/xcm-executor/integration-tests/Cargo.toml polkadot/xcm/xcm-executor/integration-tests/Cargo.toml index cafe12dc58..4910523e5b 100644 --- polkadot/xcm/xcm-executor/integration-tests/Cargo.toml +++ polkadot/xcm/xcm-executor/integration-tests/Cargo.toml @@ -17,6 +17,6 @@ frame-system = { path = "../../../../substrate/frame/system" } -futures = "0.3.21" -pallet-transaction-payment = { path = "../../../../substrate/frame/transaction-payment" } -pallet-xcm = { path = "../../pallet-xcm" } -polkadot-test-client = { path = "../../../node/test/client" } -polkadot-test-runtime = { path = "../../../runtime/test-runtime" } -polkadot-test-service = { path = "../../../node/test/service" } +futures = { workspace = true } +pallet-transaction-payment = { workspace = true, default-features = true } +pallet-xcm = { workspace = true, default-features = true } +polkadot-test-client = { workspace = true } +polkadot-test-runtime = { workspace = true } +polkadot-test-service = { workspace = true } @@ -26,4 +26,4 @@ sp-runtime = { path = "../../../../substrate/primitives/runtime", default-featur -sp-state-machine = { path = "../../../../substrate/primitives/state-machine" } -xcm = { package = "staging-xcm", path = "../..", default-features = false } -xcm-executor = { package = "staging-xcm-executor", path = ".." } -sp-tracing = { path = "../../../../substrate/primitives/tracing" } +sp-state-machine = { workspace = true, default-features = true } +xcm = { workspace = true } +xcm-executor = { workspace = true, default-features = true } +sp-tracing = { workspace = true, default-features = true } diff --git polkadot/xcm/xcm-simulator/Cargo.toml polkadot/xcm/xcm-simulator/Cargo.toml index c1c48b6d4c..401ba73a03 100644 --- polkadot/xcm/xcm-simulator/Cargo.toml +++ polkadot/xcm/xcm-simulator/Cargo.toml @@ -14 +14 @@ codec = { package = "parity-scale-codec", version = "3.6.1" } -paste = "1.0.7" +paste = { workspace = true, default-features = true } @@ -17,2 +17,2 @@ frame-support = { path = "../../../substrate/frame/support" } -sp-io = { path = "../../../substrate/primitives/io" } -sp-std = { path = "../../../substrate/primitives/std" } +sp-io = { workspace = true, default-features = true } +sp-std = { workspace = true, default-features = true } @@ -20,4 +20,4 @@ sp-std = { path = "../../../substrate/primitives/std" } -xcm = { package = "staging-xcm", path = ".." } -xcm-executor = { package = "staging-xcm-executor", path = "../xcm-executor" } -xcm-builder = { package = "staging-xcm-builder", path = "../xcm-builder" } -polkadot-core-primitives = { path = "../../core-primitives" } +xcm = { workspace = true, default-features = true } +xcm-executor = { workspace = true, default-features = true } +xcm-builder = { workspace = true, default-features = true } +polkadot-core-primitives = { workspace = true, default-features = true } diff --git polkadot/xcm/xcm-simulator/example/Cargo.toml polkadot/xcm/xcm-simulator/example/Cargo.toml index af471df60a..3f9cc189b3 100644 --- polkadot/xcm/xcm-simulator/example/Cargo.toml +++ polkadot/xcm/xcm-simulator/example/Cargo.toml @@ -14 +14 @@ codec = { package = "parity-scale-codec", version = "3.6.1" } -scale-info = { version = "2.10.0", features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true, default-features = true } @@ -19,4 +19,4 @@ frame-support = { path = "../../../../substrate/frame/support" } -pallet-balances = { path = "../../../../substrate/frame/balances" } -pallet-message-queue = { path = "../../../../substrate/frame/message-queue" } -pallet-uniques = { path = "../../../../substrate/frame/uniques" } -sp-std = { path = "../../../../substrate/primitives/std" } +pallet-balances = { workspace = true, default-features = true } +pallet-message-queue = { workspace = true, default-features = true } +pallet-uniques = { workspace = true, default-features = true } +sp-std = { workspace = true, default-features = true } @@ -25,2 +25,2 @@ sp-runtime = { path = "../../../../substrate/primitives/runtime" } -sp-io = { path = "../../../../substrate/primitives/io" } -sp-tracing = { path = "../../../../substrate/primitives/tracing" } +sp-io = { workspace = true, default-features = true } +sp-tracing = { workspace = true, default-features = true } @@ -28,6 +28,6 @@ sp-tracing = { path = "../../../../substrate/primitives/tracing" } -xcm = { package = "staging-xcm", path = "../.." } -xcm-simulator = { path = ".." } -xcm-executor = { package = "staging-xcm-executor", path = "../../xcm-executor" } -xcm-builder = { package = "staging-xcm-builder", path = "../../xcm-builder" } -pallet-xcm = { path = "../../pallet-xcm" } -polkadot-core-primitives = { path = "../../../core-primitives" } +xcm = { workspace = true, default-features = true } +xcm-simulator = { workspace = true } +xcm-executor = { workspace = true, default-features = true } +xcm-builder = { workspace = true, default-features = true } +pallet-xcm = { workspace = true, default-features = true } +polkadot-core-primitives = { workspace = true, default-features = true } diff --git polkadot/xcm/xcm-simulator/fuzzer/Cargo.toml polkadot/xcm/xcm-simulator/fuzzer/Cargo.toml index 30644dc0e0..46e32c8776 100644 --- polkadot/xcm/xcm-simulator/fuzzer/Cargo.toml +++ polkadot/xcm/xcm-simulator/fuzzer/Cargo.toml @@ -15,3 +15,3 @@ codec = { package = "parity-scale-codec", version = "3.6.1" } -honggfuzz = "0.5.55" -arbitrary = "1.3.2" -scale-info = { version = "2.10.0", features = ["derive"] } +honggfuzz = { workspace = true } +arbitrary = { workspace = true } +scale-info = { features = ["derive"] , workspace = true, default-features = true } @@ -21,5 +21,5 @@ frame-support = { path = "../../../../substrate/frame/support" } -frame-executive = { path = "../../../../substrate/frame/executive" } -frame-try-runtime = { path = "../../../../substrate/frame/try-runtime" } -pallet-balances = { path = "../../../../substrate/frame/balances" } -pallet-message-queue = { path = "../../../../substrate/frame/message-queue" } -sp-std = { path = "../../../../substrate/primitives/std" } +frame-executive = { workspace = true, default-features = true } +frame-try-runtime = { workspace = true, default-features = true } +pallet-balances = { workspace = true, default-features = true } +pallet-message-queue = { workspace = true, default-features = true } +sp-std = { workspace = true, default-features = true } @@ -28 +28 @@ sp-runtime = { path = "../../../../substrate/primitives/runtime" } -sp-io = { path = "../../../../substrate/primitives/io" } +sp-io = { workspace = true, default-features = true } @@ -30,6 +30,6 @@ sp-io = { path = "../../../../substrate/primitives/io" } -xcm = { package = "staging-xcm", path = "../.." } -xcm-simulator = { path = ".." } -xcm-executor = { package = "staging-xcm-executor", path = "../../xcm-executor" } -xcm-builder = { package = "staging-xcm-builder", path = "../../xcm-builder" } -pallet-xcm = { path = "../../pallet-xcm" } -polkadot-core-primitives = { path = "../../../core-primitives" } +xcm = { workspace = true, default-features = true } +xcm-simulator = { workspace = true } +xcm-executor = { workspace = true, default-features = true } +xcm-builder = { workspace = true, default-features = true } +pallet-xcm = { workspace = true, default-features = true } +polkadot-core-primitives = { workspace = true, default-features = true } diff --git substrate/bin/minimal/node/Cargo.toml substrate/bin/minimal/node/Cargo.toml index 65644861c9..81be8abc2a 100644 --- substrate/bin/minimal/node/Cargo.toml +++ substrate/bin/minimal/node/Cargo.toml @@ -23,4 +23,4 @@ name = "minimal-node" -clap = { version = "4.5.1", features = ["derive"] } -futures = { version = "0.3.21", features = ["thread-pool"] } -futures-timer = "3.0.1" -jsonrpsee = { version = "0.22", features = ["server"] } +clap = { features = ["derive"] , workspace = true } +futures = { features = ["thread-pool"] , workspace = true } +futures-timer = { workspace = true } +jsonrpsee = { features = ["server"] , workspace = true } @@ -29,3 +29,3 @@ serde_json = { workspace = true, default-features = true } -sc-cli = { path = "../../../client/cli" } -sc-executor = { path = "../../../client/executor" } -sc-network = { path = "../../../client/network" } +sc-cli = { workspace = true, default-features = true } +sc-executor = { workspace = true } +sc-network = { workspace = true } @@ -34 +34 @@ sc-telemetry = { path = "../../../client/telemetry" } -sc-transaction-pool = { path = "../../../client/transaction-pool" } +sc-transaction-pool = { workspace = true } @@ -36,5 +36,5 @@ sc-transaction-pool-api = { path = "../../../client/transaction-pool/api" } -sc-consensus = { path = "../../../client/consensus/common" } -sc-consensus-manual-seal = { path = "../../../client/consensus/manual-seal" } -sc-rpc-api = { path = "../../../client/rpc-api" } -sc-basic-authorship = { path = "../../../client/basic-authorship" } -sc-offchain = { path = "../../../client/offchain" } +sc-consensus = { workspace = true } +sc-consensus-manual-seal = { workspace = true } +sc-rpc-api = { workspace = true } +sc-basic-authorship = { workspace = true } +sc-offchain = { workspace = true } @@ -43 +43 @@ sc-client-api = { path = "../../../client/api" } -sp-timestamp = { path = "../../../primitives/timestamp" } +sp-timestamp = { workspace = true, default-features = true } @@ -45,2 +45,2 @@ sp-keyring = { path = "../../../primitives/keyring" } -sp-api = { path = "../../../primitives/api" } -sp-blockchain = { path = "../../../primitives/blockchain" } +sp-api = { workspace = true, default-features = true } +sp-blockchain = { workspace = true } @@ -48 +48 @@ sp-block-builder = { path = "../../../primitives/block-builder" } -sp-io = { path = "../../../primitives/io" } +sp-io = { workspace = true, default-features = true } @@ -53,2 +53,2 @@ substrate-frame-rpc-system = { path = "../../../utils/frame/rpc/system" } -frame = { path = "../../../frame", features = ["experimental", "runtime"] } -runtime = { package = "minimal-runtime", path = "../runtime" } +frame = { features = ["experimental", "runtime"] , workspace = true, default-features = true } +runtime = { workspace = true } @@ -57 +57 @@ runtime = { package = "minimal-runtime", path = "../runtime" } -substrate-build-script-utils = { path = "../../../utils/build-script-utils" } +substrate-build-script-utils = { workspace = true } diff --git substrate/bin/minimal/runtime/Cargo.toml substrate/bin/minimal/runtime/Cargo.toml index 296106544b..e519e95d5d 100644 --- substrate/bin/minimal/runtime/Cargo.toml +++ substrate/bin/minimal/runtime/Cargo.toml @@ -16 +16 @@ parity-scale-codec = { version = "3.0.0", default-features = false } -scale-info = { version = "2.6.0", default-features = false } +scale-info = { workspace = true } @@ -19 +19 @@ scale-info = { version = "2.6.0", default-features = false } -frame = { path = "../../../frame", default-features = false, features = ["experimental", "runtime"] } +frame = { features = ["experimental", "runtime"] , workspace = true } @@ -23,5 +23,5 @@ frame-support = { path = "../../../frame/support", default-features = false } -pallet-balances = { path = "../../../frame/balances", default-features = false } -pallet-sudo = { path = "../../../frame/sudo", default-features = false } -pallet-timestamp = { path = "../../../frame/timestamp", default-features = false } -pallet-transaction-payment = { path = "../../../frame/transaction-payment", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { path = "../../../frame/transaction-payment/rpc/runtime-api", default-features = false } +pallet-balances = { workspace = true } +pallet-sudo = { workspace = true } +pallet-timestamp = { workspace = true } +pallet-transaction-payment = { workspace = true } +pallet-transaction-payment-rpc-runtime-api = { workspace = true } @@ -30 +30 @@ pallet-transaction-payment-rpc-runtime-api = { path = "../../../frame/transactio -sp-genesis-builder = { path = "../../../primitives/genesis-builder", default-features = false } +sp-genesis-builder = { workspace = true } @@ -34 +34 @@ sp-genesis-builder = { path = "../../../primitives/genesis-builder", default-fea -substrate-wasm-builder = { path = "../../../utils/wasm-builder", optional = true } +substrate-wasm-builder = { optional = true , workspace = true } diff --git substrate/bin/node-template/node/Cargo.toml substrate/bin/node-template/node/Cargo.toml index 9cba2b5a36..5113c6301a 100644 --- substrate/bin/node-template/node/Cargo.toml +++ substrate/bin/node-template/node/Cargo.toml @@ -23,2 +23,2 @@ name = "node-template" -clap = { version = "4.5.1", features = ["derive"] } -futures = { version = "0.3.21", features = ["thread-pool"] } +clap = { features = ["derive"] , workspace = true } +futures = { features = ["thread-pool"] , workspace = true } @@ -27 +27 @@ serde_json = { workspace = true, default-features = true } -sc-cli = { path = "../../../client/cli" } +sc-cli = { workspace = true, default-features = true } @@ -29,2 +29,2 @@ sp-core = { path = "../../../primitives/core" } -sc-executor = { path = "../../../client/executor" } -sc-network = { path = "../../../client/network" } +sc-executor = { workspace = true } +sc-network = { workspace = true } @@ -33 +33 @@ sc-telemetry = { path = "../../../client/telemetry" } -sc-transaction-pool = { path = "../../../client/transaction-pool" } +sc-transaction-pool = { workspace = true } @@ -35,4 +35,4 @@ sc-transaction-pool-api = { path = "../../../client/transaction-pool/api" } -sc-offchain = { path = "../../../client/offchain" } -sc-consensus-aura = { path = "../../../client/consensus/aura" } -sp-consensus-aura = { path = "../../../primitives/consensus/aura" } -sc-consensus = { path = "../../../client/consensus/common" } +sc-offchain = { workspace = true } +sc-consensus-aura = { workspace = true } +sp-consensus-aura = { workspace = true, default-features = true } +sc-consensus = { workspace = true } @@ -43,2 +43,2 @@ sp-runtime = { path = "../../../primitives/runtime" } -sp-io = { path = "../../../primitives/io" } -sp-timestamp = { path = "../../../primitives/timestamp" } +sp-io = { workspace = true, default-features = true } +sp-timestamp = { workspace = true, default-features = true } @@ -48 +48 @@ frame-system = { path = "../../../frame/system" } -pallet-transaction-payment = { path = "../../../frame/transaction-payment", default-features = false } +pallet-transaction-payment = { workspace = true } @@ -51,4 +51,4 @@ pallet-transaction-payment = { path = "../../../frame/transaction-payment", defa -jsonrpsee = { version = "0.22", features = ["server"] } -sp-api = { path = "../../../primitives/api" } -sc-rpc-api = { path = "../../../client/rpc-api" } -sp-blockchain = { path = "../../../primitives/blockchain" } +jsonrpsee = { features = ["server"] , workspace = true } +sp-api = { workspace = true, default-features = true } +sc-rpc-api = { workspace = true } +sp-blockchain = { workspace = true } @@ -56 +56 @@ sp-block-builder = { path = "../../../primitives/block-builder" } -sc-basic-authorship = { path = "../../../client/basic-authorship" } +sc-basic-authorship = { workspace = true } @@ -58 +58 @@ substrate-frame-rpc-system = { path = "../../../utils/frame/rpc/system" } -pallet-transaction-payment-rpc = { path = "../../../frame/transaction-payment/rpc" } +pallet-transaction-payment-rpc = { workspace = true } @@ -61,2 +61,2 @@ pallet-transaction-payment-rpc = { path = "../../../frame/transaction-payment/rp -frame-benchmarking = { path = "../../../frame/benchmarking" } -frame-benchmarking-cli = { path = "../../../utils/frame/benchmarking-cli" } +frame-benchmarking = { workspace = true, default-features = true } +frame-benchmarking-cli = { workspace = true } @@ -65 +65 @@ frame-benchmarking-cli = { path = "../../../utils/frame/benchmarking-cli" } -node-template-runtime = { path = "../runtime" } +node-template-runtime = { workspace = true } @@ -68 +68 @@ node-template-runtime = { path = "../runtime" } -try-runtime-cli = { path = "../../../utils/frame/try-runtime/cli", optional = true } +try-runtime-cli = { optional = true , workspace = true } @@ -71 +71 @@ try-runtime-cli = { path = "../../../utils/frame/try-runtime/cli", optional = tr -substrate-build-script-utils = { path = "../../../utils/build-script-utils" } +substrate-build-script-utils = { workspace = true } diff --git substrate/bin/node-template/pallets/template/Cargo.toml substrate/bin/node-template/pallets/template/Cargo.toml index 51410a71c7..34789a02ee 100644 --- substrate/bin/node-template/pallets/template/Cargo.toml +++ substrate/bin/node-template/pallets/template/Cargo.toml @@ -22,2 +22,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-benchmarking = { path = "../../../../frame/benchmarking", default-features = false, optional = true } +scale-info = { features = ["derive"] , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -26 +26 @@ frame-system = { path = "../../../../frame/system", default-features = false } -sp-std = { path = "../../../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -30 +30 @@ sp-core = { path = "../../../../primitives/core" } -sp-io = { path = "../../../../primitives/io" } +sp-io = { workspace = true, default-features = true } diff --git substrate/bin/node-template/runtime/Cargo.toml substrate/bin/node-template/runtime/Cargo.toml index 86bab0ca37..069a776a45 100644 --- substrate/bin/node-template/runtime/Cargo.toml +++ substrate/bin/node-template/runtime/Cargo.toml @@ -20 +20 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive", "serde"] } +scale-info = { features = ["derive", "serde"] , workspace = true } @@ -22,2 +22,2 @@ scale-info = { version = "2.10.0", default-features = false, features = ["derive -pallet-aura = { path = "../../../frame/aura", default-features = false } -pallet-balances = { path = "../../../frame/balances", default-features = false } +pallet-aura = { workspace = true } +pallet-balances = { workspace = true } @@ -25,2 +25,2 @@ frame-support = { path = "../../../frame/support", default-features = false } -pallet-grandpa = { path = "../../../frame/grandpa", default-features = false } -pallet-sudo = { path = "../../../frame/sudo", default-features = false } +pallet-grandpa = { workspace = true } +pallet-sudo = { workspace = true } @@ -28,5 +28,5 @@ frame-system = { path = "../../../frame/system", default-features = false } -frame-try-runtime = { path = "../../../frame/try-runtime", default-features = false, optional = true } -pallet-timestamp = { path = "../../../frame/timestamp", default-features = false } -pallet-transaction-payment = { path = "../../../frame/transaction-payment", default-features = false } -frame-executive = { path = "../../../frame/executive", default-features = false } -sp-api = { path = "../../../primitives/api", default-features = false } +frame-try-runtime = { optional = true , workspace = true } +pallet-timestamp = { workspace = true } +pallet-transaction-payment = { workspace = true } +frame-executive = { workspace = true } +sp-api = { workspace = true } @@ -34 +34 @@ sp-block-builder = { path = "../../../primitives/block-builder", default-feature -sp-consensus-aura = { path = "../../../primitives/consensus/aura", default-features = false, features = ["serde"] } +sp-consensus-aura = { features = ["serde"] , workspace = true } @@ -40,3 +40,3 @@ sp-runtime = { path = "../../../primitives/runtime", default-features = false, f -sp-session = { path = "../../../primitives/session", default-features = false } -sp-std = { path = "../../../primitives/std", default-features = false } -sp-storage = { path = "../../../primitives/storage", default-features = false } +sp-session = { workspace = true } +sp-std = { workspace = true } +sp-storage = { workspace = true } @@ -44 +44 @@ sp-transaction-pool = { path = "../../../primitives/transaction-pool", default-f -sp-version = { path = "../../../primitives/version", default-features = false, features = ["serde"] } +sp-version = { features = ["serde"] , workspace = true } @@ -46 +46 @@ serde_json = { features = ["alloc"], workspace = true } -sp-genesis-builder = { default-features = false, path = "../../../primitives/genesis-builder" } +sp-genesis-builder = { workspace = true } @@ -49,2 +49,2 @@ sp-genesis-builder = { default-features = false, path = "../../../primitives/gen -frame-system-rpc-runtime-api = { path = "../../../frame/system/rpc/runtime-api", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { path = "../../../frame/transaction-payment/rpc/runtime-api", default-features = false } +frame-system-rpc-runtime-api = { workspace = true } +pallet-transaction-payment-rpc-runtime-api = { workspace = true } @@ -53,2 +53,2 @@ pallet-transaction-payment-rpc-runtime-api = { path = "../../../frame/transactio -frame-benchmarking = { path = "../../../frame/benchmarking", default-features = false, optional = true } -frame-system-benchmarking = { path = "../../../frame/system/benchmarking", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } +frame-system-benchmarking = { optional = true , workspace = true } @@ -57 +57 @@ frame-system-benchmarking = { path = "../../../frame/system/benchmarking", defau -pallet-template = { path = "../pallets/template", default-features = false } +pallet-template = { workspace = true } @@ -60 +60 @@ pallet-template = { path = "../pallets/template", default-features = false } -substrate-wasm-builder = { path = "../../../utils/wasm-builder", optional = true } +substrate-wasm-builder = { optional = true , workspace = true } diff --git substrate/bin/node/bench/Cargo.toml substrate/bin/node/bench/Cargo.toml index 8e0f7fb93b..7cf275320b 100644 --- substrate/bin/node/bench/Cargo.toml +++ substrate/bin/node/bench/Cargo.toml @@ -18,2 +18,2 @@ workspace = true -array-bytes = "6.1" -clap = { version = "4.5.1", features = ["derive"] } +array-bytes = { workspace = true, default-features = true } +clap = { features = ["derive"] , workspace = true } @@ -21,3 +21,3 @@ log = { workspace = true, default-features = true } -node-primitives = { path = "../primitives" } -node-testing = { path = "../testing" } -kitchensink-runtime = { path = "../runtime" } +node-primitives = { workspace = true, default-features = true } +node-testing = { workspace = true } +kitchensink-runtime = { workspace = true } @@ -26 +26 @@ sp-runtime = { path = "../../../primitives/runtime" } -sp-state-machine = { path = "../../../primitives/state-machine" } +sp-state-machine = { workspace = true, default-features = true } @@ -29,4 +29,4 @@ serde_json = { workspace = true, default-features = true } -derive_more = { version = "0.99.17", default-features = false, features = ["display"] } -kvdb = "0.13.0" -kvdb-rocksdb = "0.19.0" -sp-trie = { path = "../../../primitives/trie" } +derive_more = { features = ["display"] , workspace = true } +kvdb = { workspace = true } +kvdb-rocksdb = { workspace = true } +sp-trie = { workspace = true, default-features = true } @@ -35 +35 @@ sp-consensus = { path = "../../../primitives/consensus/common" } -sc-basic-authorship = { path = "../../../client/basic-authorship" } +sc-basic-authorship = { workspace = true } @@ -37,9 +37,9 @@ sp-inherents = { path = "../../../primitives/inherents" } -sp-timestamp = { path = "../../../primitives/timestamp", default-features = false } -sp-tracing = { path = "../../../primitives/tracing" } -hash-db = "0.16.0" -tempfile = "3.1.0" -fs_extra = "1" -rand = { version = "0.8.5", features = ["small_rng"] } -lazy_static = "1.4.0" -parity-db = "0.4.12" -sc-transaction-pool = { path = "../../../client/transaction-pool" } +sp-timestamp = { workspace = true } +sp-tracing = { workspace = true, default-features = true } +hash-db = { workspace = true, default-features = true } +tempfile = { workspace = true } +fs_extra = { workspace = true } +rand = { features = ["small_rng"] , workspace = true, default-features = true } +lazy_static = { workspace = true } +parity-db = { workspace = true } +sc-transaction-pool = { workspace = true } @@ -47 +47 @@ sc-transaction-pool-api = { path = "../../../client/transaction-pool/api" } -futures = { version = "0.3.21", features = ["thread-pool"] } +futures = { features = ["thread-pool"] , workspace = true } diff --git substrate/bin/node/cli/Cargo.toml substrate/bin/node/cli/Cargo.toml index abe284c41d..07b6435417 100644 --- substrate/bin/node/cli/Cargo.toml +++ substrate/bin/node/cli/Cargo.toml @@ -43,2 +43,2 @@ crate-type = ["cdylib", "rlib"] -array-bytes = "6.1" -clap = { version = "4.5.1", features = ["derive"], optional = true } +array-bytes = { workspace = true, default-features = true } +clap = { features = ["derive"], optional = true , workspace = true } @@ -47,2 +47,2 @@ serde = { features = ["derive"], workspace = true, default-features = true } -jsonrpsee = { version = "0.22", features = ["server"] } -futures = "0.3.21" +jsonrpsee = { features = ["server"] , workspace = true } +futures = { workspace = true } @@ -50 +50 @@ log = { workspace = true, default-features = true } -rand = "0.8" +rand = { workspace = true, default-features = true } @@ -57 +57 @@ grandpa-primitives = { package = "sp-consensus-grandpa", path = "../../../primit -sp-api = { path = "../../../primitives/api" } +sp-api = { workspace = true, default-features = true } @@ -60 +60 @@ sp-runtime = { path = "../../../primitives/runtime" } -sp-timestamp = { path = "../../../primitives/timestamp" } +sp-timestamp = { workspace = true, default-features = true } @@ -63 +63 @@ sp-keyring = { path = "../../../primitives/keyring" } -sp-keystore = { path = "../../../primitives/keystore" } +sp-keystore = { workspace = true, default-features = true } @@ -65,5 +65,5 @@ sp-consensus = { path = "../../../primitives/consensus/common" } -sp-transaction-storage-proof = { path = "../../../primitives/transaction-storage-proof" } -sp-io = { path = "../../../primitives/io" } -sp-mixnet = { path = "../../../primitives/mixnet" } -sp-mmr-primitives = { path = "../../../primitives/merkle-mountain-range" } -sp-statement-store = { path = "../../../primitives/statement-store" } +sp-transaction-storage-proof = { workspace = true, default-features = true } +sp-io = { workspace = true, default-features = true } +sp-mixnet = { workspace = true, default-features = true } +sp-mmr-primitives = { workspace = true, default-features = true } +sp-statement-store = { workspace = true, default-features = true } @@ -73,3 +73,3 @@ sc-client-api = { path = "../../../client/api" } -sc-chain-spec = { path = "../../../client/chain-spec" } -sc-consensus = { path = "../../../client/consensus/common" } -sc-transaction-pool = { path = "../../../client/transaction-pool" } +sc-chain-spec = { workspace = true } +sc-consensus = { workspace = true } +sc-transaction-pool = { workspace = true } @@ -77,6 +77,6 @@ sc-transaction-pool-api = { path = "../../../client/transaction-pool/api" } -sc-statement-store = { path = "../../../client/statement-store" } -sc-network = { path = "../../../client/network" } -sc-network-common = { path = "../../../client/network/common" } -sc-network-sync = { path = "../../../client/network/sync" } -sc-network-statement = { path = "../../../client/network/statement" } -sc-consensus-slots = { path = "../../../client/consensus/slots" } +sc-statement-store = { workspace = true } +sc-network = { workspace = true } +sc-network-common = { workspace = true } +sc-network-sync = { workspace = true } +sc-network-statement = { workspace = true } +sc-consensus-slots = { workspace = true } @@ -86,3 +86,3 @@ grandpa = { package = "sc-consensus-grandpa", path = "../../../client/consensus/ -mmr-gadget = { path = "../../../client/merkle-mountain-range" } -sc-rpc = { path = "../../../client/rpc" } -sc-basic-authorship = { path = "../../../client/basic-authorship" } +mmr-gadget = { workspace = true } +sc-rpc = { workspace = true } +sc-basic-authorship = { workspace = true } @@ -91,7 +91,7 @@ sc-telemetry = { path = "../../../client/telemetry" } -sc-executor = { path = "../../../client/executor" } -sc-authority-discovery = { path = "../../../client/authority-discovery" } -sc-mixnet = { path = "../../../client/mixnet" } -sc-sync-state-rpc = { path = "../../../client/sync-state-rpc" } -sc-sysinfo = { path = "../../../client/sysinfo" } -sc-storage-monitor = { path = "../../../client/storage-monitor" } -sc-offchain = { path = "../../../client/offchain" } +sc-executor = { workspace = true } +sc-authority-discovery = { workspace = true } +sc-mixnet = { workspace = true } +sc-sync-state-rpc = { workspace = true } +sc-sysinfo = { workspace = true } +sc-storage-monitor = { workspace = true } +sc-offchain = { workspace = true } @@ -100 +100 @@ sc-offchain = { path = "../../../client/offchain" } -frame-benchmarking = { path = "../../../frame/benchmarking" } +frame-benchmarking = { workspace = true, default-features = true } @@ -102,6 +102,6 @@ frame-system = { path = "../../../frame/system" } -frame-system-rpc-runtime-api = { path = "../../../frame/system/rpc/runtime-api" } -pallet-assets = { path = "../../../frame/assets" } -pallet-asset-conversion-tx-payment = { path = "../../../frame/transaction-payment/asset-conversion-tx-payment" } -pallet-asset-tx-payment = { path = "../../../frame/transaction-payment/asset-tx-payment" } -pallet-im-online = { path = "../../../frame/im-online", default-features = false } -pallet-skip-feeless-payment = { path = "../../../frame/transaction-payment/skip-feeless-payment", default-features = false } +frame-system-rpc-runtime-api = { workspace = true, default-features = true } +pallet-assets = { workspace = true, default-features = true } +pallet-asset-conversion-tx-payment = { workspace = true, default-features = true } +pallet-asset-tx-payment = { workspace = true, default-features = true } +pallet-im-online = { workspace = true } +pallet-skip-feeless-payment = { workspace = true } @@ -110,3 +110,3 @@ pallet-skip-feeless-payment = { path = "../../../frame/transaction-payment/skip- -kitchensink-runtime = { path = "../runtime" } -node-rpc = { path = "../rpc" } -node-primitives = { path = "../primitives" } +kitchensink-runtime = { workspace = true } +node-rpc = { workspace = true } +node-primitives = { workspace = true, default-features = true } @@ -115,4 +115,4 @@ node-primitives = { path = "../primitives" } -sc-cli = { path = "../../../client/cli", optional = true } -frame-benchmarking-cli = { path = "../../../utils/frame/benchmarking-cli", optional = true } -node-inspect = { package = "staging-node-inspect", path = "../inspect", optional = true } -try-runtime-cli = { path = "../../../utils/frame/try-runtime/cli", optional = true } +sc-cli = { optional = true , workspace = true, default-features = true } +frame-benchmarking-cli = { optional = true , workspace = true } +node-inspect = { optional = true , workspace = true } +try-runtime-cli = { optional = true , workspace = true } @@ -122,3 +122,3 @@ serde_json = { workspace = true, default-features = true } -sc-keystore = { path = "../../../client/keystore" } -sc-client-db = { path = "../../../client/db" } -sc-consensus = { path = "../../../client/consensus/common" } +sc-keystore = { workspace = true, default-features = true } +sc-client-db = { workspace = true, default-features = true } +sc-consensus = { workspace = true } @@ -126,22 +126,22 @@ sc-consensus-babe = { path = "../../../client/consensus/babe" } -sc-consensus-epochs = { path = "../../../client/consensus/epochs" } -sc-service-test = { path = "../../../client/service/test" } -sc-block-builder = { path = "../../../client/block-builder" } -sp-tracing = { path = "../../../primitives/tracing" } -sp-blockchain = { path = "../../../primitives/blockchain" } -sp-crypto-hashing = { path = "../../../primitives/crypto/hashing" } -futures = "0.3.21" -tempfile = "3.1.0" -assert_cmd = "2.0.2" -nix = { version = "0.26.1", features = ["signal"] } -regex = "1.6.0" -platforms = "3.0" -soketto = "0.7.1" -criterion = { version = "0.4.0", features = ["async_tokio"] } -tokio = { version = "1.22.0", features = ["macros", "parking_lot", "time"] } -tokio-util = { version = "0.7.4", features = ["compat"] } -wait-timeout = "0.2" -substrate-rpc-client = { path = "../../../utils/frame/rpc/client" } -pallet-timestamp = { path = "../../../frame/timestamp" } -substrate-cli-test-utils = { path = "../../../test-utils/cli" } - -wat = "1.0" +sc-consensus-epochs = { workspace = true } +sc-service-test = { workspace = true } +sc-block-builder = { workspace = true } +sp-tracing = { workspace = true, default-features = true } +sp-blockchain = { workspace = true } +sp-crypto-hashing = { workspace = true, default-features = true } +futures = { workspace = true } +tempfile = { workspace = true } +assert_cmd = { workspace = true } +nix = { features = ["signal"] , workspace = true } +regex = { workspace = true } +platforms = { workspace = true } +soketto = { workspace = true } +criterion = { features = ["async_tokio"] , workspace = true, default-features = true } +tokio = { features = ["macros", "parking_lot", "time"] , workspace = true, default-features = true } +tokio-util = { features = ["compat"] , workspace = true } +wait-timeout = { workspace = true } +substrate-rpc-client = { workspace = true } +pallet-timestamp = { workspace = true, default-features = true } +substrate-cli-test-utils = { workspace = true } + +wat = { workspace = true } @@ -149,7 +149,7 @@ frame-support = { path = "../../../frame/support" } -node-testing = { path = "../testing" } -pallet-balances = { path = "../../../frame/balances" } -pallet-contracts = { path = "../../../frame/contracts" } -pallet-glutton = { path = "../../../frame/glutton" } -pallet-sudo = { path = "../../../frame/sudo" } -pallet-treasury = { path = "../../../frame/treasury" } -pallet-transaction-payment = { path = "../../../frame/transaction-payment" } +node-testing = { workspace = true } +pallet-balances = { workspace = true, default-features = true } +pallet-contracts = { workspace = true, default-features = true } +pallet-glutton = { workspace = true, default-features = true } +pallet-sudo = { workspace = true, default-features = true } +pallet-treasury = { workspace = true, default-features = true } +pallet-transaction-payment = { workspace = true, default-features = true } @@ -157 +157 @@ sp-application-crypto = { path = "../../../primitives/application-crypto" } -pallet-root-testing = { path = "../../../frame/root-testing" } +pallet-root-testing = { workspace = true, default-features = true } @@ -159 +159 @@ sp-consensus-babe = { path = "../../../primitives/consensus/babe" } -sp-externalities = { path = "../../../primitives/externalities" } +sp-externalities = { workspace = true, default-features = true } @@ -163,3 +163,3 @@ serde_json = { workspace = true, default-features = true } -scale-info = { version = "2.10.0", features = ["derive", "serde"] } -sp-trie = { path = "../../../primitives/trie" } -sp-state-machine = { path = "../../../primitives/state-machine" } +scale-info = { features = ["derive", "serde"] , workspace = true, default-features = true } +sp-trie = { workspace = true, default-features = true } +sp-state-machine = { workspace = true, default-features = true } @@ -168,10 +168,10 @@ sp-state-machine = { path = "../../../primitives/state-machine" } -clap = { version = "4.5.1", optional = true } -clap_complete = { version = "4.0.2", optional = true } -node-inspect = { package = "staging-node-inspect", path = "../inspect", optional = true } -frame-benchmarking-cli = { path = "../../../utils/frame/benchmarking-cli", optional = true } -substrate-build-script-utils = { path = "../../../utils/build-script-utils", optional = true } -substrate-frame-cli = { path = "../../../utils/frame/frame-utilities-cli", optional = true } -try-runtime-cli = { path = "../../../utils/frame/try-runtime/cli", optional = true } -sc-cli = { path = "../../../client/cli", optional = true } -pallet-balances = { path = "../../../frame/balances" } -sc-storage-monitor = { path = "../../../client/storage-monitor" } +clap = { optional = true , workspace = true } +clap_complete = { optional = true , workspace = true } +node-inspect = { optional = true , workspace = true } +frame-benchmarking-cli = { optional = true , workspace = true } +substrate-build-script-utils = { optional = true , workspace = true } +substrate-frame-cli = { optional = true , workspace = true } +try-runtime-cli = { optional = true , workspace = true } +sc-cli = { optional = true , workspace = true, default-features = true } +pallet-balances = { workspace = true, default-features = true } +sc-storage-monitor = { workspace = true } diff --git substrate/bin/node/inspect/Cargo.toml substrate/bin/node/inspect/Cargo.toml index 7db6e3efd3..f2c07cbed4 100644 --- substrate/bin/node/inspect/Cargo.toml +++ substrate/bin/node/inspect/Cargo.toml @@ -18 +18 @@ targets = ["x86_64-unknown-linux-gnu"] -clap = { version = "4.5.1", features = ["derive"] } +clap = { features = ["derive"] , workspace = true } @@ -21 +21 @@ thiserror = { workspace = true } -sc-cli = { path = "../../../client/cli" } +sc-cli = { workspace = true, default-features = true } @@ -24 +24 @@ sc-service = { path = "../../../client/service", default-features = false } -sp-blockchain = { path = "../../../primitives/blockchain" } +sp-blockchain = { workspace = true } @@ -26 +26 @@ sp-core = { path = "../../../primitives/core" } -sp-io = { path = "../../../primitives/io" } +sp-io = { workspace = true, default-features = true } @@ -28 +28 @@ sp-runtime = { path = "../../../primitives/runtime" } -sp-statement-store = { path = "../../../primitives/statement-store" } +sp-statement-store = { workspace = true, default-features = true } diff --git substrate/bin/node/rpc/Cargo.toml substrate/bin/node/rpc/Cargo.toml index 894dbf0da8..1050537c33 100644 --- substrate/bin/node/rpc/Cargo.toml +++ substrate/bin/node/rpc/Cargo.toml @@ -19,5 +19,5 @@ targets = ["x86_64-unknown-linux-gnu"] -jsonrpsee = { version = "0.22", features = ["server"] } -node-primitives = { path = "../primitives" } -pallet-transaction-payment-rpc = { path = "../../../frame/transaction-payment/rpc" } -mmr-rpc = { path = "../../../client/merkle-mountain-range/rpc" } -sc-chain-spec = { path = "../../../client/chain-spec" } +jsonrpsee = { features = ["server"] , workspace = true } +node-primitives = { workspace = true, default-features = true } +pallet-transaction-payment-rpc = { workspace = true } +mmr-rpc = { workspace = true } +sc-chain-spec = { workspace = true } @@ -26 +26 @@ sc-consensus-babe = { path = "../../../client/consensus/babe" } -sc-consensus-babe-rpc = { path = "../../../client/consensus/babe/rpc" } +sc-consensus-babe-rpc = { workspace = true } @@ -28 +28 @@ sc-consensus-beefy = { path = "../../../client/consensus/beefy" } -sc-consensus-beefy-rpc = { path = "../../../client/consensus/beefy/rpc" } +sc-consensus-beefy-rpc = { workspace = true } @@ -30,6 +30,6 @@ sc-consensus-grandpa = { path = "../../../client/consensus/grandpa" } -sc-consensus-grandpa-rpc = { path = "../../../client/consensus/grandpa/rpc" } -sc-mixnet = { path = "../../../client/mixnet" } -sc-rpc = { path = "../../../client/rpc" } -sc-rpc-api = { path = "../../../client/rpc-api" } -sc-rpc-spec-v2 = { path = "../../../client/rpc-spec-v2" } -sc-sync-state-rpc = { path = "../../../client/sync-state-rpc" } +sc-consensus-grandpa-rpc = { workspace = true } +sc-mixnet = { workspace = true } +sc-rpc = { workspace = true } +sc-rpc-api = { workspace = true } +sc-rpc-spec-v2 = { workspace = true } +sc-sync-state-rpc = { workspace = true } @@ -37 +37 @@ sc-transaction-pool-api = { path = "../../../client/transaction-pool/api" } -sp-api = { path = "../../../primitives/api" } +sp-api = { workspace = true, default-features = true } @@ -39 +39 @@ sp-block-builder = { path = "../../../primitives/block-builder" } -sp-blockchain = { path = "../../../primitives/blockchain" } +sp-blockchain = { workspace = true } @@ -42 +42 @@ sp-consensus-babe = { path = "../../../primitives/consensus/babe" } -sp-keystore = { path = "../../../primitives/keystore" } +sp-keystore = { workspace = true, default-features = true } @@ -44 +44 @@ sp-runtime = { path = "../../../primitives/runtime" } -sp-statement-store = { path = "../../../primitives/statement-store" } +sp-statement-store = { workspace = true, default-features = true } @@ -46 +46 @@ substrate-frame-rpc-system = { path = "../../../utils/frame/rpc/system" } -substrate-state-trie-migration-rpc = { path = "../../../utils/frame/rpc/state-trie-migration-rpc" } +substrate-state-trie-migration-rpc = { workspace = true } diff --git substrate/bin/node/runtime/Cargo.toml substrate/bin/node/runtime/Cargo.toml index aa13c3d292..c6bd75fe6b 100644 --- substrate/bin/node/runtime/Cargo.toml +++ substrate/bin/node/runtime/Cargo.toml @@ -26,2 +26,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive", "serde"] } -static_assertions = "1.1.0" +scale-info = { features = ["derive", "serde"] , workspace = true } +static_assertions = { workspace = true, default-features = true } @@ -32 +32 @@ serde_json = { features = ["alloc", "arbitrary_precision"], workspace = true } -primitive-types = { version = "0.12.0", default-features = false, features = ["codec", "num-traits", "scale-info"] } +primitive-types = { features = ["codec", "num-traits", "scale-info"] , workspace = true } @@ -40 +40 @@ sp-block-builder = { path = "../../../primitives/block-builder", default-feature -sp-genesis-builder = { default-features = false, path = "../../../primitives/genesis-builder" } +sp-genesis-builder = { workspace = true } @@ -42,2 +42,2 @@ sp-inherents = { path = "../../../primitives/inherents", default-features = fals -node-primitives = { path = "../primitives", default-features = false } -sp-mixnet = { path = "../../../primitives/mixnet", default-features = false } +node-primitives = { workspace = true } +sp-mixnet = { workspace = true } @@ -46,2 +46,2 @@ sp-core = { path = "../../../primitives/core", default-features = false, feature -sp-std = { path = "../../../primitives/std", default-features = false } -sp-api = { path = "../../../primitives/api", default-features = false } +sp-std = { workspace = true } +sp-api = { workspace = true } @@ -49,3 +49,3 @@ sp-runtime = { path = "../../../primitives/runtime", default-features = false, f -sp-staking = { path = "../../../primitives/staking", default-features = false, features = ["serde"] } -sp-storage = { path = "../../../primitives/storage", default-features = false } -sp-session = { path = "../../../primitives/session", default-features = false } +sp-staking = { features = ["serde"] , workspace = true } +sp-storage = { workspace = true } +sp-session = { workspace = true } @@ -53,3 +53,3 @@ sp-transaction-pool = { path = "../../../primitives/transaction-pool", default-f -sp-statement-store = { path = "../../../primitives/statement-store", default-features = false, features = ["serde"] } -sp-version = { path = "../../../primitives/version", default-features = false, features = ["serde"] } -sp-io = { path = "../../../primitives/io", default-features = false } +sp-statement-store = { features = ["serde"] , workspace = true } +sp-version = { features = ["serde"] , workspace = true } +sp-io = { workspace = true } @@ -58,3 +58,3 @@ sp-io = { path = "../../../primitives/io", default-features = false } -frame-executive = { path = "../../../frame/executive", default-features = false } -frame-benchmarking = { path = "../../../frame/benchmarking", default-features = false } -frame-benchmarking-pallet-pov = { path = "../../../frame/benchmarking/pov", default-features = false } +frame-executive = { workspace = true } +frame-benchmarking = { workspace = true } +frame-benchmarking-pallet-pov = { workspace = true } @@ -63,83 +63,83 @@ frame-system = { path = "../../../frame/system", default-features = false } -frame-system-benchmarking = { path = "../../../frame/system/benchmarking", default-features = false, optional = true } -frame-election-provider-support = { path = "../../../frame/election-provider-support", default-features = false } -frame-system-rpc-runtime-api = { path = "../../../frame/system/rpc/runtime-api", default-features = false } -frame-try-runtime = { path = "../../../frame/try-runtime", default-features = false, optional = true } -pallet-alliance = { path = "../../../frame/alliance", default-features = false } -pallet-asset-conversion = { path = "../../../frame/asset-conversion", default-features = false } -pallet-asset-rate = { path = "../../../frame/asset-rate", default-features = false } -pallet-assets = { path = "../../../frame/assets", default-features = false } -pallet-authority-discovery = { path = "../../../frame/authority-discovery", default-features = false } -pallet-authorship = { path = "../../../frame/authorship", default-features = false } -pallet-babe = { path = "../../../frame/babe", default-features = false } -pallet-bags-list = { path = "../../../frame/bags-list", default-features = false } -pallet-balances = { path = "../../../frame/balances", default-features = false } -pallet-beefy = { path = "../../../frame/beefy", default-features = false } -pallet-beefy-mmr = { path = "../../../frame/beefy-mmr", default-features = false } -pallet-bounties = { path = "../../../frame/bounties", default-features = false } -pallet-broker = { path = "../../../frame/broker", default-features = false } -pallet-child-bounties = { path = "../../../frame/child-bounties", default-features = false } -pallet-collective = { path = "../../../frame/collective", default-features = false } -pallet-contracts = { path = "../../../frame/contracts", default-features = false } -pallet-conviction-voting = { path = "../../../frame/conviction-voting", default-features = false } -pallet-core-fellowship = { path = "../../../frame/core-fellowship", default-features = false } -pallet-democracy = { path = "../../../frame/democracy", default-features = false } -pallet-election-provider-multi-phase = { path = "../../../frame/election-provider-multi-phase", default-features = false } -pallet-election-provider-support-benchmarking = { path = "../../../frame/election-provider-support/benchmarking", default-features = false, optional = true } -pallet-elections-phragmen = { path = "../../../frame/elections-phragmen", default-features = false } -pallet-example-tasks = { path = "../../../frame/examples/tasks", default-features = false } -pallet-fast-unstake = { path = "../../../frame/fast-unstake", default-features = false } -pallet-nis = { path = "../../../frame/nis", default-features = false } -pallet-grandpa = { path = "../../../frame/grandpa", default-features = false } -pallet-im-online = { path = "../../../frame/im-online", default-features = false } -pallet-indices = { path = "../../../frame/indices", default-features = false } -pallet-identity = { path = "../../../frame/identity", default-features = false } -pallet-lottery = { path = "../../../frame/lottery", default-features = false } -pallet-membership = { path = "../../../frame/membership", default-features = false } -pallet-message-queue = { path = "../../../frame/message-queue", default-features = false } -pallet-mixnet = { path = "../../../frame/mixnet", default-features = false } -pallet-mmr = { path = "../../../frame/merkle-mountain-range", default-features = false } -pallet-multisig = { path = "../../../frame/multisig", default-features = false } -pallet-nfts = { path = "../../../frame/nfts", default-features = false } -pallet-nfts-runtime-api = { path = "../../../frame/nfts/runtime-api", default-features = false } -pallet-nft-fractionalization = { path = "../../../frame/nft-fractionalization", default-features = false } -pallet-nomination-pools = { path = "../../../frame/nomination-pools", default-features = false } -pallet-nomination-pools-benchmarking = { path = "../../../frame/nomination-pools/benchmarking", default-features = false, optional = true } -pallet-nomination-pools-runtime-api = { path = "../../../frame/nomination-pools/runtime-api", default-features = false } -pallet-offences = { path = "../../../frame/offences", default-features = false } -pallet-offences-benchmarking = { path = "../../../frame/offences/benchmarking", default-features = false, optional = true } -pallet-glutton = { path = "../../../frame/glutton", default-features = false } -pallet-preimage = { path = "../../../frame/preimage", default-features = false } -pallet-proxy = { path = "../../../frame/proxy", default-features = false } -pallet-insecure-randomness-collective-flip = { path = "../../../frame/insecure-randomness-collective-flip", default-features = false } -pallet-ranked-collective = { path = "../../../frame/ranked-collective", default-features = false } -pallet-recovery = { path = "../../../frame/recovery", default-features = false } -pallet-referenda = { path = "../../../frame/referenda", default-features = false } -pallet-remark = { path = "../../../frame/remark", default-features = false } -pallet-root-testing = { path = "../../../frame/root-testing", default-features = false } -pallet-salary = { path = "../../../frame/salary", default-features = false } -pallet-session = { path = "../../../frame/session", default-features = false, features = ["historical"] } -pallet-session-benchmarking = { path = "../../../frame/session/benchmarking", default-features = false, optional = true } -pallet-staking = { path = "../../../frame/staking", default-features = false } -pallet-staking-reward-curve = { path = "../../../frame/staking/reward-curve", default-features = false } -pallet-staking-runtime-api = { path = "../../../frame/staking/runtime-api", default-features = false } -pallet-state-trie-migration = { path = "../../../frame/state-trie-migration", default-features = false } -pallet-statement = { path = "../../../frame/statement", default-features = false } -pallet-scheduler = { path = "../../../frame/scheduler", default-features = false } -pallet-society = { path = "../../../frame/society", default-features = false } -pallet-sudo = { path = "../../../frame/sudo", default-features = false } -pallet-timestamp = { path = "../../../frame/timestamp", default-features = false } -pallet-tips = { path = "../../../frame/tips", default-features = false } -pallet-treasury = { path = "../../../frame/treasury", default-features = false } -pallet-utility = { path = "../../../frame/utility", default-features = false } -pallet-transaction-payment = { path = "../../../frame/transaction-payment", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { path = "../../../frame/transaction-payment/rpc/runtime-api", default-features = false } -pallet-asset-conversion-tx-payment = { path = "../../../frame/transaction-payment/asset-conversion-tx-payment", default-features = false } -pallet-asset-tx-payment = { path = "../../../frame/transaction-payment/asset-tx-payment", default-features = false } -pallet-skip-feeless-payment = { path = "../../../frame/transaction-payment/skip-feeless-payment", default-features = false } -pallet-transaction-storage = { path = "../../../frame/transaction-storage", default-features = false } -pallet-uniques = { path = "../../../frame/uniques", default-features = false } -pallet-vesting = { path = "../../../frame/vesting", default-features = false } -pallet-whitelist = { path = "../../../frame/whitelist", default-features = false } -pallet-tx-pause = { path = "../../../frame/tx-pause", default-features = false } -pallet-safe-mode = { path = "../../../frame/safe-mode", default-features = false } -pallet-parameters = { path = "../../../frame/parameters", default-features = false } +frame-system-benchmarking = { optional = true , workspace = true } +frame-election-provider-support = { workspace = true } +frame-system-rpc-runtime-api = { workspace = true } +frame-try-runtime = { optional = true , workspace = true } +pallet-alliance = { workspace = true } +pallet-asset-conversion = { workspace = true } +pallet-asset-rate = { workspace = true } +pallet-assets = { workspace = true } +pallet-authority-discovery = { workspace = true } +pallet-authorship = { workspace = true } +pallet-babe = { workspace = true } +pallet-bags-list = { workspace = true } +pallet-balances = { workspace = true } +pallet-beefy = { workspace = true } +pallet-beefy-mmr = { workspace = true } +pallet-bounties = { workspace = true } +pallet-broker = { workspace = true } +pallet-child-bounties = { workspace = true } +pallet-collective = { workspace = true } +pallet-contracts = { workspace = true } +pallet-conviction-voting = { workspace = true } +pallet-core-fellowship = { workspace = true } +pallet-democracy = { workspace = true } +pallet-election-provider-multi-phase = { workspace = true } +pallet-election-provider-support-benchmarking = { optional = true , workspace = true } +pallet-elections-phragmen = { workspace = true } +pallet-example-tasks = { workspace = true } +pallet-fast-unstake = { workspace = true } +pallet-nis = { workspace = true } +pallet-grandpa = { workspace = true } +pallet-im-online = { workspace = true } +pallet-indices = { workspace = true } +pallet-identity = { workspace = true } +pallet-lottery = { workspace = true } +pallet-membership = { workspace = true } +pallet-message-queue = { workspace = true } +pallet-mixnet = { workspace = true } +pallet-mmr = { workspace = true } +pallet-multisig = { workspace = true } +pallet-nfts = { workspace = true } +pallet-nfts-runtime-api = { workspace = true } +pallet-nft-fractionalization = { workspace = true } +pallet-nomination-pools = { workspace = true } +pallet-nomination-pools-benchmarking = { optional = true , workspace = true } +pallet-nomination-pools-runtime-api = { workspace = true } +pallet-offences = { workspace = true } +pallet-offences-benchmarking = { optional = true , workspace = true } +pallet-glutton = { workspace = true } +pallet-preimage = { workspace = true } +pallet-proxy = { workspace = true } +pallet-insecure-randomness-collective-flip = { workspace = true } +pallet-ranked-collective = { workspace = true } +pallet-recovery = { workspace = true } +pallet-referenda = { workspace = true } +pallet-remark = { workspace = true } +pallet-root-testing = { workspace = true } +pallet-salary = { workspace = true } +pallet-session = { features = ["historical"] , workspace = true } +pallet-session-benchmarking = { optional = true , workspace = true } +pallet-staking = { workspace = true } +pallet-staking-reward-curve = { workspace = true } +pallet-staking-runtime-api = { workspace = true } +pallet-state-trie-migration = { workspace = true } +pallet-statement = { workspace = true } +pallet-scheduler = { workspace = true } +pallet-society = { workspace = true } +pallet-sudo = { workspace = true } +pallet-timestamp = { workspace = true } +pallet-tips = { workspace = true } +pallet-treasury = { workspace = true } +pallet-utility = { workspace = true } +pallet-transaction-payment = { workspace = true } +pallet-transaction-payment-rpc-runtime-api = { workspace = true } +pallet-asset-conversion-tx-payment = { workspace = true } +pallet-asset-tx-payment = { workspace = true } +pallet-skip-feeless-payment = { workspace = true } +pallet-transaction-storage = { workspace = true } +pallet-uniques = { workspace = true } +pallet-vesting = { workspace = true } +pallet-whitelist = { workspace = true } +pallet-tx-pause = { workspace = true } +pallet-safe-mode = { workspace = true } +pallet-parameters = { workspace = true } @@ -148 +148 @@ pallet-parameters = { path = "../../../frame/parameters", default-features = fal -substrate-wasm-builder = { path = "../../../utils/wasm-builder", optional = true } +substrate-wasm-builder = { optional = true , workspace = true } diff --git substrate/bin/node/testing/Cargo.toml substrate/bin/node/testing/Cargo.toml index 31f8689d46..d32fa375fb 100644 --- substrate/bin/node/testing/Cargo.toml +++ substrate/bin/node/testing/Cargo.toml @@ -20,2 +20,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1" } -fs_extra = "1" -futures = "0.3.21" +fs_extra = { workspace = true } +futures = { workspace = true } @@ -23 +23 @@ log = { workspace = true, default-features = true } -tempfile = "3.1.0" +tempfile = { workspace = true } @@ -25,9 +25,9 @@ frame-system = { path = "../../../frame/system" } -node-cli = { package = "staging-node-cli", path = "../cli" } -node-primitives = { path = "../primitives" } -kitchensink-runtime = { path = "../runtime" } -pallet-asset-conversion = { path = "../../../frame/asset-conversion" } -pallet-assets = { path = "../../../frame/assets" } -pallet-asset-conversion-tx-payment = { path = "../../../frame/transaction-payment/asset-conversion-tx-payment" } -pallet-asset-tx-payment = { path = "../../../frame/transaction-payment/asset-tx-payment" } -pallet-skip-feeless-payment = { path = "../../../frame/transaction-payment/skip-feeless-payment" } -sc-block-builder = { path = "../../../client/block-builder" } +node-cli = { workspace = true } +node-primitives = { workspace = true, default-features = true } +kitchensink-runtime = { workspace = true } +pallet-asset-conversion = { workspace = true, default-features = true } +pallet-assets = { workspace = true, default-features = true } +pallet-asset-conversion-tx-payment = { workspace = true, default-features = true } +pallet-asset-tx-payment = { workspace = true, default-features = true } +pallet-skip-feeless-payment = { workspace = true, default-features = true } +sc-block-builder = { workspace = true } @@ -35,3 +35,3 @@ sc-client-api = { path = "../../../client/api" } -sc-client-db = { path = "../../../client/db", features = ["rocksdb"] } -sc-consensus = { path = "../../../client/consensus/common" } -sc-executor = { path = "../../../client/executor" } +sc-client-db = { features = ["rocksdb"] , workspace = true, default-features = true } +sc-consensus = { workspace = true } +sc-executor = { workspace = true } @@ -39 +39 @@ sc-service = { path = "../../../client/service", features = ["rocksdb", "test-he -sp-api = { path = "../../../primitives/api" } +sp-api = { workspace = true, default-features = true } @@ -41 +41 @@ sp-block-builder = { path = "../../../primitives/block-builder" } -sp-blockchain = { path = "../../../primitives/blockchain" } +sp-blockchain = { workspace = true } @@ -44 +44 @@ sp-core = { path = "../../../primitives/core" } -sp-crypto-hashing = { path = "../../../primitives/crypto/hashing" } +sp-crypto-hashing = { workspace = true, default-features = true } @@ -46 +46 @@ sp-inherents = { path = "../../../primitives/inherents" } -sp-io = { path = "../../../primitives/io" } +sp-io = { workspace = true, default-features = true } @@ -49,2 +49,2 @@ sp-runtime = { path = "../../../primitives/runtime" } -sp-timestamp = { path = "../../../primitives/timestamp", default-features = false } -substrate-test-client = { path = "../../../test-utils/client" } +sp-timestamp = { workspace = true } +substrate-test-client = { workspace = true } diff --git substrate/bin/utils/chain-spec-builder/Cargo.toml substrate/bin/utils/chain-spec-builder/Cargo.toml index 996372c8a0..20f6f13acf 100644 --- substrate/bin/utils/chain-spec-builder/Cargo.toml +++ substrate/bin/utils/chain-spec-builder/Cargo.toml @@ -26 +26 @@ crate-type = ["rlib"] -clap = { version = "4.5.1", features = ["derive"] } +clap = { features = ["derive"] , workspace = true } @@ -28 +28 @@ log = { workspace = true, default-features = true } -sc-chain-spec = { path = "../../../client/chain-spec" } +sc-chain-spec = { workspace = true } @@ -30 +30 @@ serde_json = { workspace = true, default-features = true } -sp-tracing = { path = "../../../primitives/tracing" } +sp-tracing = { workspace = true, default-features = true } diff --git substrate/bin/utils/subkey/Cargo.toml substrate/bin/utils/subkey/Cargo.toml index 93b1368ca7..0aa997222d 100644 --- substrate/bin/utils/subkey/Cargo.toml +++ substrate/bin/utils/subkey/Cargo.toml @@ -23,2 +23,2 @@ name = "subkey" -clap = { version = "4.5.1", features = ["derive"] } -sc-cli = { path = "../../../client/cli" } +clap = { features = ["derive"] , workspace = true } +sc-cli = { workspace = true, default-features = true } diff --git substrate/client/allocator/Cargo.toml substrate/client/allocator/Cargo.toml index 2c268b548e..0009607219 100644 --- substrate/client/allocator/Cargo.toml +++ substrate/client/allocator/Cargo.toml @@ -23 +23 @@ sp-core = { path = "../../primitives/core" } -sp-wasm-interface = { path = "../../primitives/wasm-interface" } +sp-wasm-interface = { workspace = true, default-features = true } diff --git substrate/client/api/Cargo.toml substrate/client/api/Cargo.toml index cd7b613e27..6fa40d3197 100644 --- substrate/client/api/Cargo.toml +++ substrate/client/api/Cargo.toml @@ -23,2 +23,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -fnv = "1.0.6" -futures = "0.3.21" +fnv = { workspace = true } +futures = { workspace = true } @@ -26 +26 @@ log = { workspace = true, default-features = true } -parking_lot = "0.12.1" +parking_lot = { workspace = true, default-features = true } @@ -28 +28 @@ prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../.. -sc-executor = { path = "../executor" } +sc-executor = { workspace = true } @@ -30,3 +30,3 @@ sc-transaction-pool-api = { path = "../transaction-pool/api" } -sc-utils = { path = "../utils" } -sp-api = { path = "../../primitives/api" } -sp-blockchain = { path = "../../primitives/blockchain" } +sc-utils = { workspace = true } +sp-api = { workspace = true, default-features = true } +sp-blockchain = { workspace = true } @@ -35,2 +35,2 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-database = { path = "../../primitives/database" } -sp-externalities = { path = "../../primitives/externalities" } +sp-database = { workspace = true } +sp-externalities = { workspace = true, default-features = true } @@ -38,4 +38,4 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-state-machine = { path = "../../primitives/state-machine" } -sp-statement-store = { path = "../../primitives/statement-store" } -sp-storage = { path = "../../primitives/storage" } -sp-trie = { path = "../../primitives/trie" } +sp-state-machine = { workspace = true, default-features = true } +sp-statement-store = { workspace = true, default-features = true } +sp-storage = { workspace = true, default-features = true } +sp-trie = { workspace = true, default-features = true } @@ -45,2 +45,2 @@ thiserror = { workspace = true } -sp-test-primitives = { path = "../../primitives/test-primitives" } -substrate-test-runtime = { path = "../../test-utils/runtime" } +sp-test-primitives = { workspace = true } +substrate-test-runtime = { workspace = true } diff --git substrate/client/authority-discovery/Cargo.toml substrate/client/authority-discovery/Cargo.toml index cdd4052f0b..34dd5ee176 100644 --- substrate/client/authority-discovery/Cargo.toml +++ substrate/client/authority-discovery/Cargo.toml @@ -20 +20 @@ targets = ["x86_64-unknown-linux-gnu"] -prost-build = "0.11" +prost-build = { workspace = true } @@ -24,5 +24,5 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -futures = "0.3.21" -futures-timer = "3.0.1" -ip_network = "0.4.1" -libp2p = { version = "0.51.4", features = ["ed25519", "kad"] } -multihash = { version = "0.18.1", default-features = false, features = [ +futures = { workspace = true } +futures-timer = { workspace = true } +ip_network = { workspace = true } +libp2p = { features = ["ed25519", "kad"] , workspace = true } +multihash = { features = [ @@ -31 +31 @@ multihash = { version = "0.18.1", default-features = false, features = [ -] } +] , workspace = true } @@ -33,2 +33,2 @@ log = { workspace = true, default-features = true } -prost = "0.12" -rand = "0.8.5" +prost = { workspace = true } +rand = { workspace = true, default-features = true } @@ -38,2 +38,2 @@ sc-client-api = { path = "../api" } -sc-network = { path = "../network" } -sp-api = { path = "../../primitives/api" } +sc-network = { workspace = true } +sp-api = { workspace = true, default-features = true } @@ -41 +41 @@ sp-authority-discovery = { path = "../../primitives/authority-discovery" } -sp-blockchain = { path = "../../primitives/blockchain" } +sp-blockchain = { workspace = true } @@ -43 +43 @@ sp-core = { path = "../../primitives/core" } -sp-keystore = { path = "../../primitives/keystore" } +sp-keystore = { workspace = true, default-features = true } @@ -45,2 +45,2 @@ sp-runtime = { path = "../../primitives/runtime" } -async-trait = "0.1.74" -multihash-codetable = { version = "0.1.1", features = [ +async-trait = { workspace = true } +multihash-codetable = { features = [ @@ -50 +50 @@ multihash-codetable = { version = "0.1.1", features = [ -] } +] , workspace = true } @@ -53,3 +53,3 @@ multihash-codetable = { version = "0.1.1", features = [ -quickcheck = { version = "1.0.3", default-features = false } -sp-tracing = { path = "../../primitives/tracing" } -substrate-test-runtime-client = { path = "../../test-utils/runtime/client" } +quickcheck = { workspace = true } +sp-tracing = { workspace = true, default-features = true } +substrate-test-runtime-client = { workspace = true } diff --git substrate/client/basic-authorship/Cargo.toml substrate/client/basic-authorship/Cargo.toml index 51a06464d0..c94228198d 100644 --- substrate/client/basic-authorship/Cargo.toml +++ substrate/client/basic-authorship/Cargo.toml @@ -20,2 +20,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1" } -futures = "0.3.21" -futures-timer = "3.0.1" +futures = { workspace = true } +futures-timer = { workspace = true } @@ -24,2 +24,2 @@ prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../.. -sc-block-builder = { path = "../block-builder" } -sc-proposer-metrics = { path = "../proposer-metrics" } +sc-block-builder = { workspace = true } +sc-proposer-metrics = { workspace = true } @@ -28,2 +28,2 @@ sc-transaction-pool-api = { path = "../transaction-pool/api" } -sp-api = { path = "../../primitives/api" } -sp-blockchain = { path = "../../primitives/blockchain" } +sp-api = { workspace = true, default-features = true } +sp-blockchain = { workspace = true } @@ -36 +36 @@ sp-runtime = { path = "../../primitives/runtime" } -parking_lot = "0.12.1" +parking_lot = { workspace = true, default-features = true } @@ -38,2 +38,2 @@ sc-client-api = { path = "../api" } -sc-transaction-pool = { path = "../transaction-pool" } -substrate-test-runtime-client = { path = "../../test-utils/runtime/client" } +sc-transaction-pool = { workspace = true } +substrate-test-runtime-client = { workspace = true } diff --git substrate/client/block-builder/Cargo.toml substrate/client/block-builder/Cargo.toml index e74d587d9b..69ad3dc668 100644 --- substrate/client/block-builder/Cargo.toml +++ substrate/client/block-builder/Cargo.toml @@ -22 +22 @@ codec = { package = "parity-scale-codec", version = "3.6.1", features = [ -sp-api = { path = "../../primitives/api" } +sp-api = { workspace = true, default-features = true } @@ -24 +24 @@ sp-block-builder = { path = "../../primitives/block-builder" } -sp-blockchain = { path = "../../primitives/blockchain" } +sp-blockchain = { workspace = true } @@ -26 +26 @@ sp-core = { path = "../../primitives/core" } -sp-trie = { path = "../../primitives/trie" } +sp-trie = { workspace = true, default-features = true } @@ -31,2 +31,2 @@ sp-runtime = { path = "../../primitives/runtime" } -sp-state-machine = { path = "../../primitives/state-machine" } -substrate-test-runtime-client = { path = "../../test-utils/runtime/client" } +sp-state-machine = { workspace = true, default-features = true } +substrate-test-runtime-client = { workspace = true } diff --git substrate/client/chain-spec/Cargo.toml substrate/client/chain-spec/Cargo.toml index f2138c07d7..5be88d2f2a 100644 --- substrate/client/chain-spec/Cargo.toml +++ substrate/client/chain-spec/Cargo.toml @@ -20 +20 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -memmap2 = "0.9.3" +memmap2 = { workspace = true } @@ -24,4 +24,4 @@ sc-client-api = { path = "../api" } -sc-chain-spec-derive = { path = "derive" } -sc-executor = { path = "../executor" } -sp-io = { default-features = false, path = "../../primitives/io" } -sc-network = { path = "../network" } +sc-chain-spec-derive = { workspace = true } +sc-executor = { workspace = true } +sp-io = { workspace = true } +sc-network = { workspace = true } @@ -29 +29 @@ sc-telemetry = { path = "../telemetry" } -sp-blockchain = { path = "../../primitives/blockchain" } +sp-blockchain = { workspace = true } @@ -31,2 +31,2 @@ sp-core = { path = "../../primitives/core" } -sp-crypto-hashing = { path = "../../primitives/crypto/hashing" } -sp-genesis-builder = { path = "../../primitives/genesis-builder" } +sp-crypto-hashing = { workspace = true, default-features = true } +sp-genesis-builder = { workspace = true, default-features = true } @@ -34 +34 @@ sp-runtime = { path = "../../primitives/runtime" } -sp-state-machine = { path = "../../primitives/state-machine" } +sp-state-machine = { workspace = true, default-features = true } @@ -36,2 +36,2 @@ log = { workspace = true } -array-bytes = { version = "6.1" } -docify = "0.2.7" +array-bytes = { workspace = true, default-features = true } +docify = { workspace = true } @@ -40 +40 @@ docify = "0.2.7" -substrate-test-runtime = { path = "../../test-utils/runtime" } +substrate-test-runtime = { workspace = true } diff --git substrate/client/chain-spec/derive/Cargo.toml substrate/client/chain-spec/derive/Cargo.toml index 521eee578e..4ab8c849cc 100644 --- substrate/client/chain-spec/derive/Cargo.toml +++ substrate/client/chain-spec/derive/Cargo.toml @@ -21,2 +21,2 @@ proc-macro = true -proc-macro-crate = "3.0.0" -proc-macro2 = "1.0.56" +proc-macro-crate = { workspace = true } +proc-macro2 = { workspace = true } diff --git substrate/client/cli/Cargo.toml substrate/client/cli/Cargo.toml index 0582018283..c9b660b4df 100644 --- substrate/client/cli/Cargo.toml +++ substrate/client/cli/Cargo.toml @@ -19,7 +19,7 @@ targets = ["x86_64-unknown-linux-gnu"] -array-bytes = "6.1" -chrono = "0.4.31" -clap = { version = "4.5.1", features = ["derive", "string", "wrap_help"] } -fdlimit = "0.3.0" -futures = "0.3.21" -itertools = "0.10.3" -libp2p-identity = { version = "0.1.3", features = ["ed25519", "peerid"] } +array-bytes = { workspace = true, default-features = true } +chrono = { workspace = true } +clap = { features = ["derive", "string", "wrap_help"] , workspace = true } +fdlimit = { workspace = true } +futures = { workspace = true } +itertools = { workspace = true } +libp2p-identity = { features = ["ed25519", "peerid"] , workspace = true } @@ -27 +27 @@ log = { workspace = true, default-features = true } -names = { version = "0.14.0", default-features = false } +names = { workspace = true } @@ -29,3 +29,3 @@ parity-scale-codec = "3.6.1" -rand = "0.8.5" -regex = "1.6.0" -rpassword = "7.0.0" +rand = { workspace = true, default-features = true } +regex = { workspace = true } +rpassword = { workspace = true } @@ -35,2 +35,2 @@ thiserror = { workspace = true } -bip39 = "2.0.0" -tokio = { version = "1.22.0", features = ["parking_lot", "rt-multi-thread", "signal"] } +bip39 = { workspace = true, default-features = true } +tokio = { features = ["parking_lot", "rt-multi-thread", "signal"] , workspace = true, default-features = true } @@ -38,4 +38,4 @@ sc-client-api = { path = "../api" } -sc-client-db = { path = "../db", default-features = false } -sc-keystore = { path = "../keystore" } -sc-mixnet = { path = "../mixnet" } -sc-network = { path = "../network" } +sc-client-db = { workspace = true } +sc-keystore = { workspace = true, default-features = true } +sc-mixnet = { workspace = true } +sc-network = { workspace = true } @@ -44,3 +44,3 @@ sc-telemetry = { path = "../telemetry" } -sc-tracing = { path = "../tracing" } -sc-utils = { path = "../utils" } -sp-blockchain = { path = "../../primitives/blockchain" } +sc-tracing = { workspace = true } +sc-utils = { workspace = true } +sp-blockchain = { workspace = true } @@ -49,2 +49,2 @@ sp-keyring = { path = "../../primitives/keyring" } -sp-keystore = { path = "../../primitives/keystore" } -sp-panic-handler = { path = "../../primitives/panic-handler" } +sp-keystore = { workspace = true, default-features = true } +sp-panic-handler = { workspace = true } @@ -52 +52 @@ sp-runtime = { path = "../../primitives/runtime" } -sp-version = { path = "../../primitives/version" } +sp-version = { workspace = true, default-features = true } @@ -55,3 +55,3 @@ sp-version = { path = "../../primitives/version" } -tempfile = "3.1.0" -futures-timer = "3.0.1" -sp-tracing = { path = "../../primitives/tracing" } +tempfile = { workspace = true } +futures-timer = { workspace = true } +sp-tracing = { workspace = true, default-features = true } diff --git substrate/client/consensus/aura/Cargo.toml substrate/client/consensus/aura/Cargo.toml index 213f75974d..c203bccf97 100644 --- substrate/client/consensus/aura/Cargo.toml +++ substrate/client/consensus/aura/Cargo.toml @@ -19 +19 @@ targets = ["x86_64-unknown-linux-gnu"] -async-trait = "0.1.74" +async-trait = { workspace = true } @@ -21 +21 @@ codec = { package = "parity-scale-codec", version = "3.6.1" } -futures = "0.3.21" +futures = { workspace = true } @@ -25 +25 @@ prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../.. -sc-block-builder = { path = "../../block-builder" } +sc-block-builder = { workspace = true } @@ -27,2 +27,2 @@ sc-client-api = { path = "../../api" } -sc-consensus = { path = "../common" } -sc-consensus-slots = { path = "../slots" } +sc-consensus = { workspace = true } +sc-consensus-slots = { workspace = true } @@ -30 +30 @@ sc-telemetry = { path = "../../telemetry" } -sp-api = { path = "../../../primitives/api" } +sp-api = { workspace = true, default-features = true } @@ -33 +33 @@ sp-block-builder = { path = "../../../primitives/block-builder" } -sp-blockchain = { path = "../../../primitives/blockchain" } +sp-blockchain = { workspace = true } @@ -35,2 +35,2 @@ sp-consensus = { path = "../../../primitives/consensus/common" } -sp-consensus-aura = { path = "../../../primitives/consensus/aura" } -sp-consensus-slots = { path = "../../../primitives/consensus/slots" } +sp-consensus-aura = { workspace = true, default-features = true } +sp-consensus-slots = { workspace = true, default-features = true } @@ -39 +39 @@ sp-inherents = { path = "../../../primitives/inherents" } -sp-keystore = { path = "../../../primitives/keystore" } +sp-keystore = { workspace = true, default-features = true } @@ -43,5 +43,5 @@ sp-runtime = { path = "../../../primitives/runtime" } -parking_lot = "0.12.1" -tempfile = "3.1.0" -sc-keystore = { path = "../../keystore" } -sc-network = { path = "../../network" } -sc-network-test = { path = "../../network/test" } +parking_lot = { workspace = true, default-features = true } +tempfile = { workspace = true } +sc-keystore = { workspace = true, default-features = true } +sc-network = { workspace = true } +sc-network-test = { workspace = true } @@ -49,4 +49,4 @@ sp-keyring = { path = "../../../primitives/keyring" } -sp-timestamp = { path = "../../../primitives/timestamp" } -sp-tracing = { path = "../../../primitives/tracing" } -substrate-test-runtime-client = { path = "../../../test-utils/runtime/client" } -tokio = { version = "1.22.0" } +sp-timestamp = { workspace = true, default-features = true } +sp-tracing = { workspace = true, default-features = true } +substrate-test-runtime-client = { workspace = true } +tokio = { workspace = true, default-features = true } diff --git substrate/client/consensus/babe/Cargo.toml substrate/client/consensus/babe/Cargo.toml index c98fb7112b..90d0da892c 100644 --- substrate/client/consensus/babe/Cargo.toml +++ substrate/client/consensus/babe/Cargo.toml @@ -20 +20 @@ targets = ["x86_64-unknown-linux-gnu"] -async-trait = "0.1.74" +async-trait = { workspace = true } @@ -22 +22 @@ codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive -futures = "0.3.21" +futures = { workspace = true } @@ -24,4 +24,4 @@ log = { workspace = true, default-features = true } -num-bigint = "0.4.3" -num-rational = "0.4.1" -num-traits = "0.2.17" -parking_lot = "0.12.1" +num-bigint = { workspace = true } +num-rational = { workspace = true } +num-traits = { workspace = true, default-features = true } +parking_lot = { workspace = true, default-features = true } @@ -29 +29 @@ thiserror = { workspace = true } -fork-tree = { path = "../../../utils/fork-tree" } +fork-tree = { workspace = true } @@ -32,3 +32,3 @@ sc-client-api = { path = "../../api" } -sc-consensus = { path = "../common" } -sc-consensus-epochs = { path = "../epochs" } -sc-consensus-slots = { path = "../slots" } +sc-consensus = { workspace = true } +sc-consensus-epochs = { workspace = true } +sc-consensus-slots = { workspace = true } @@ -37 +37 @@ sc-transaction-pool-api = { path = "../../transaction-pool/api" } -sp-api = { path = "../../../primitives/api" } +sp-api = { workspace = true, default-features = true } @@ -40 +40 @@ sp-block-builder = { path = "../../../primitives/block-builder" } -sp-blockchain = { path = "../../../primitives/blockchain" } +sp-blockchain = { workspace = true } @@ -43 +43 @@ sp-consensus-babe = { path = "../../../primitives/consensus/babe" } -sp-consensus-slots = { path = "../../../primitives/consensus/slots" } +sp-consensus-slots = { workspace = true, default-features = true } @@ -45 +45 @@ sp-core = { path = "../../../primitives/core" } -sp-crypto-hashing = { path = "../../../primitives/crypto/hashing" } +sp-crypto-hashing = { workspace = true, default-features = true } @@ -47 +47 @@ sp-inherents = { path = "../../../primitives/inherents" } -sp-keystore = { path = "../../../primitives/keystore" } +sp-keystore = { workspace = true, default-features = true } @@ -51 +51 @@ sp-runtime = { path = "../../../primitives/runtime" } -sc-block-builder = { path = "../../block-builder" } +sc-block-builder = { workspace = true } @@ -53,5 +53,5 @@ sp-keyring = { path = "../../../primitives/keyring" } -sc-network-test = { path = "../../network/test" } -sp-timestamp = { path = "../../../primitives/timestamp" } -sp-tracing = { path = "../../../primitives/tracing" } -substrate-test-runtime-client = { path = "../../../test-utils/runtime/client" } -tokio = "1.22.0" +sc-network-test = { workspace = true } +sp-timestamp = { workspace = true, default-features = true } +sp-tracing = { workspace = true, default-features = true } +substrate-test-runtime-client = { workspace = true } +tokio = { workspace = true, default-features = true } diff --git substrate/client/consensus/babe/rpc/Cargo.toml substrate/client/consensus/babe/rpc/Cargo.toml index 043b566673..97390f1a66 100644 --- substrate/client/consensus/babe/rpc/Cargo.toml +++ substrate/client/consensus/babe/rpc/Cargo.toml @@ -19,2 +19,2 @@ targets = ["x86_64-unknown-linux-gnu"] -jsonrpsee = { version = "0.22", features = ["client-core", "macros", "server"] } -futures = "0.3.21" +jsonrpsee = { features = ["client-core", "macros", "server"] , workspace = true } +futures = { workspace = true } @@ -24,3 +24,3 @@ sc-consensus-babe = { path = ".." } -sc-consensus-epochs = { path = "../../epochs" } -sc-rpc-api = { path = "../../../rpc-api" } -sp-api = { path = "../../../../primitives/api" } +sc-consensus-epochs = { workspace = true } +sc-rpc-api = { workspace = true } +sp-api = { workspace = true, default-features = true } @@ -28 +28 @@ sp-application-crypto = { path = "../../../../primitives/application-crypto" } -sp-blockchain = { path = "../../../../primitives/blockchain" } +sp-blockchain = { workspace = true } @@ -32 +32 @@ sp-core = { path = "../../../../primitives/core" } -sp-keystore = { path = "../../../../primitives/keystore" } +sp-keystore = { workspace = true, default-features = true } @@ -37,3 +37,3 @@ serde_json = { workspace = true, default-features = true } -tokio = "1.22.0" -sc-consensus = { path = "../../common" } -sc-keystore = { path = "../../../keystore" } +tokio = { workspace = true, default-features = true } +sc-consensus = { workspace = true } +sc-keystore = { workspace = true, default-features = true } @@ -42 +42 @@ sp-keyring = { path = "../../../../primitives/keyring" } -substrate-test-runtime-client = { path = "../../../../test-utils/runtime/client" } +substrate-test-runtime-client = { workspace = true } diff --git substrate/client/consensus/beefy/Cargo.toml substrate/client/consensus/beefy/Cargo.toml index 8552a49002..0a4268b60c 100644 --- substrate/client/consensus/beefy/Cargo.toml +++ substrate/client/consensus/beefy/Cargo.toml @@ -15,3 +15,3 @@ workspace = true -array-bytes = "6.1" -async-channel = "1.8.0" -async-trait = "0.1.74" +array-bytes = { workspace = true, default-features = true } +async-channel = { workspace = true } +async-trait = { workspace = true } @@ -19,2 +19,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive -fnv = "1.0.6" -futures = "0.3" +fnv = { workspace = true } +futures = { workspace = true } @@ -22 +22 @@ log = { workspace = true, default-features = true } -parking_lot = "0.12.1" +parking_lot = { workspace = true, default-features = true } @@ -24 +24 @@ thiserror = { workspace = true } -wasm-timer = "0.2.5" +wasm-timer = { workspace = true } @@ -27,6 +27,6 @@ sc-client-api = { path = "../../api" } -sc-consensus = { path = "../common" } -sc-network = { path = "../../network" } -sc-network-gossip = { path = "../../network-gossip" } -sc-network-sync = { path = "../../network/sync" } -sc-utils = { path = "../../utils" } -sp-api = { path = "../../../primitives/api" } +sc-consensus = { workspace = true } +sc-network = { workspace = true } +sc-network-gossip = { workspace = true } +sc-network-sync = { workspace = true } +sc-utils = { workspace = true } +sp-api = { workspace = true, default-features = true } @@ -34,2 +34,2 @@ sp-application-crypto = { path = "../../../primitives/application-crypto" } -sp-arithmetic = { path = "../../../primitives/arithmetic" } -sp-blockchain = { path = "../../../primitives/blockchain" } +sp-arithmetic = { workspace = true, default-features = true } +sp-blockchain = { workspace = true } @@ -39,3 +39,3 @@ sp-core = { path = "../../../primitives/core" } -sp-crypto-hashing = { path = "../../../primitives/crypto/hashing" } -sp-keystore = { path = "../../../primitives/keystore" } -sp-mmr-primitives = { path = "../../../primitives/merkle-mountain-range" } +sp-crypto-hashing = { workspace = true, default-features = true } +sp-keystore = { workspace = true, default-features = true } +sp-mmr-primitives = { workspace = true, default-features = true } @@ -43 +43 @@ sp-runtime = { path = "../../../primitives/runtime" } -tokio = "1.22.0" +tokio = { workspace = true, default-features = true } @@ -48,3 +48,3 @@ serde = { workspace = true, default-features = true } -tempfile = "3.1.0" -sc-block-builder = { path = "../../block-builder" } -sc-network-test = { path = "../../network/test" } +tempfile = { workspace = true } +sc-block-builder = { workspace = true } +sc-network-test = { workspace = true } @@ -53,2 +53,2 @@ sp-keyring = { path = "../../../primitives/keyring" } -sp-tracing = { path = "../../../primitives/tracing" } -substrate-test-runtime-client = { path = "../../../test-utils/runtime/client" } +sp-tracing = { workspace = true, default-features = true } +substrate-test-runtime-client = { workspace = true } diff --git substrate/client/consensus/beefy/rpc/Cargo.toml substrate/client/consensus/beefy/rpc/Cargo.toml index bb2ae4a089..7a69221621 100644 --- substrate/client/consensus/beefy/rpc/Cargo.toml +++ substrate/client/consensus/beefy/rpc/Cargo.toml @@ -16,2 +16,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive -futures = "0.3.21" -jsonrpsee = { version = "0.22", features = ["client-core", "macros", "server"] } +futures = { workspace = true } +jsonrpsee = { features = ["client-core", "macros", "server"] , workspace = true } @@ -19 +19 @@ log = { workspace = true, default-features = true } -parking_lot = "0.12.1" +parking_lot = { workspace = true, default-features = true } @@ -24 +24 @@ sp-consensus-beefy = { path = "../../../../primitives/consensus/beefy" } -sc-rpc = { path = "../../../rpc" } +sc-rpc = { workspace = true } @@ -30,3 +30,3 @@ serde_json = { workspace = true, default-features = true } -sc-rpc = { path = "../../../rpc", features = ["test-helpers"] } -substrate-test-runtime-client = { path = "../../../../test-utils/runtime/client" } -tokio = { version = "1.22.0", features = ["macros"] } +sc-rpc = { features = ["test-helpers"] , workspace = true } +substrate-test-runtime-client = { workspace = true } +tokio = { features = ["macros"] , workspace = true, default-features = true } diff --git substrate/client/consensus/common/Cargo.toml substrate/client/consensus/common/Cargo.toml index 7f36dfc09e..4567fcb6b7 100644 --- substrate/client/consensus/common/Cargo.toml +++ substrate/client/consensus/common/Cargo.toml @@ -19,4 +19,4 @@ targets = ["x86_64-unknown-linux-gnu"] -async-trait = "0.1.74" -futures = { version = "0.3.21", features = ["thread-pool"] } -futures-timer = "3.0.1" -libp2p-identity = { version = "0.1.3", features = ["ed25519", "peerid"] } +async-trait = { workspace = true } +futures = { features = ["thread-pool"] , workspace = true } +futures-timer = { workspace = true } +libp2p-identity = { features = ["ed25519", "peerid"] , workspace = true } @@ -24,2 +24,2 @@ log = { workspace = true, default-features = true } -mockall = "0.11.3" -parking_lot = "0.12.1" +mockall = { workspace = true } +parking_lot = { workspace = true, default-features = true } @@ -30,3 +30,3 @@ sc-client-api = { path = "../../api" } -sc-utils = { path = "../../utils" } -sp-api = { path = "../../../primitives/api" } -sp-blockchain = { path = "../../../primitives/blockchain" } +sc-utils = { workspace = true } +sp-api = { workspace = true, default-features = true } +sp-blockchain = { workspace = true } @@ -36 +36 @@ sp-runtime = { path = "../../../primitives/runtime" } -sp-state-machine = { path = "../../../primitives/state-machine" } +sp-state-machine = { workspace = true, default-features = true } @@ -39 +39 @@ sp-state-machine = { path = "../../../primitives/state-machine" } -sp-test-primitives = { path = "../../../primitives/test-primitives" } +sp-test-primitives = { workspace = true } diff --git substrate/client/consensus/epochs/Cargo.toml substrate/client/consensus/epochs/Cargo.toml index ff6bf86a6a..7019cc88fb 100644 --- substrate/client/consensus/epochs/Cargo.toml +++ substrate/client/consensus/epochs/Cargo.toml @@ -20 +20 @@ codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive -fork-tree = { path = "../../../utils/fork-tree" } +fork-tree = { workspace = true } @@ -22,2 +22,2 @@ sc-client-api = { path = "../../api" } -sc-consensus = { path = "../common" } -sp-blockchain = { path = "../../../primitives/blockchain" } +sc-consensus = { workspace = true } +sp-blockchain = { workspace = true } diff --git substrate/client/consensus/grandpa/Cargo.toml substrate/client/consensus/grandpa/Cargo.toml index 1ab9535252..fbe9ef2dd5 100644 --- substrate/client/consensus/grandpa/Cargo.toml +++ substrate/client/consensus/grandpa/Cargo.toml @@ -20,4 +20,4 @@ targets = ["x86_64-unknown-linux-gnu"] -ahash = "0.8.2" -array-bytes = "6.1" -async-trait = "0.1.74" -dyn-clone = "1.0" +ahash = { workspace = true } +array-bytes = { workspace = true, default-features = true } +async-trait = { workspace = true } +dyn-clone = { workspace = true } @@ -25,2 +25,2 @@ finality-grandpa = { version = "0.16.2", features = ["derive-codec"] } -futures = "0.3.21" -futures-timer = "3.0.1" +futures = { workspace = true } +futures-timer = { workspace = true } @@ -29,2 +29,2 @@ parity-scale-codec = { version = "3.6.1", features = ["derive"] } -parking_lot = "0.12.1" -rand = "0.8.5" +parking_lot = { workspace = true, default-features = true } +rand = { workspace = true, default-features = true } @@ -33 +33 @@ thiserror = { workspace = true } -fork-tree = { path = "../../../utils/fork-tree" } +fork-tree = { workspace = true } @@ -35,2 +35,2 @@ prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../.. -sc-block-builder = { path = "../../block-builder" } -sc-chain-spec = { path = "../../chain-spec" } +sc-block-builder = { workspace = true } +sc-chain-spec = { workspace = true } @@ -39,5 +39,5 @@ sc-transaction-pool-api = { path = "../../transaction-pool/api" } -sc-consensus = { path = "../common" } -sc-network = { path = "../../network" } -sc-network-gossip = { path = "../../network-gossip" } -sc-network-common = { path = "../../network/common" } -sc-network-sync = { path = "../../network/sync" } +sc-consensus = { workspace = true } +sc-network = { workspace = true } +sc-network-gossip = { workspace = true } +sc-network-common = { workspace = true } +sc-network-sync = { workspace = true } @@ -45,2 +45,2 @@ sc-telemetry = { path = "../../telemetry" } -sc-utils = { path = "../../utils" } -sp-api = { path = "../../../primitives/api" } +sc-utils = { workspace = true } +sp-api = { workspace = true, default-features = true } @@ -48,2 +48,2 @@ sp-application-crypto = { path = "../../../primitives/application-crypto" } -sp-arithmetic = { path = "../../../primitives/arithmetic" } -sp-blockchain = { path = "../../../primitives/blockchain" } +sp-arithmetic = { workspace = true, default-features = true } +sp-blockchain = { workspace = true } @@ -52 +52 @@ sp-core = { path = "../../../primitives/core" } -sp-crypto-hashing = { path = "../../../primitives/crypto/hashing" } +sp-crypto-hashing = { workspace = true, default-features = true } @@ -54 +54 @@ sp-consensus-grandpa = { path = "../../../primitives/consensus/grandpa" } -sp-keystore = { path = "../../../primitives/keystore" } +sp-keystore = { workspace = true, default-features = true } @@ -58 +58 @@ sp-runtime = { path = "../../../primitives/runtime" } -assert_matches = "1.3.0" +assert_matches = { workspace = true } @@ -61,3 +61,3 @@ serde = { workspace = true, default-features = true } -tokio = "1.22.0" -sc-network = { path = "../../network" } -sc-network-test = { path = "../../network/test" } +tokio = { workspace = true, default-features = true } +sc-network = { workspace = true } +sc-network-test = { workspace = true } @@ -65,2 +65,2 @@ sp-keyring = { path = "../../../primitives/keyring" } -sp-tracing = { path = "../../../primitives/tracing" } -substrate-test-runtime-client = { path = "../../../test-utils/runtime/client" } +sp-tracing = { workspace = true, default-features = true } +substrate-test-runtime-client = { workspace = true } diff --git substrate/client/consensus/grandpa/rpc/Cargo.toml substrate/client/consensus/grandpa/rpc/Cargo.toml index f7e8741544..a3ae6824d7 100644 --- substrate/client/consensus/grandpa/rpc/Cargo.toml +++ substrate/client/consensus/grandpa/rpc/Cargo.toml @@ -17,2 +17,2 @@ finality-grandpa = { version = "0.16.2", features = ["derive-codec"] } -futures = "0.3.16" -jsonrpsee = { version = "0.22", features = ["client-core", "macros", "server"] } +futures = { workspace = true } +jsonrpsee = { features = ["client-core", "macros", "server"] , workspace = true } @@ -25,2 +25,2 @@ sc-consensus-grandpa = { path = ".." } -sc-rpc = { path = "../../../rpc" } -sp-blockchain = { path = "../../../../primitives/blockchain" } +sc-rpc = { workspace = true } +sp-blockchain = { workspace = true } @@ -31,2 +31,2 @@ sp-runtime = { path = "../../../../primitives/runtime" } -sc-block-builder = { path = "../../../block-builder" } -sc-rpc = { path = "../../../rpc", features = ["test-helpers"] } +sc-block-builder = { workspace = true } +sc-rpc = { features = ["test-helpers"] , workspace = true } @@ -36,2 +36,2 @@ sp-keyring = { path = "../../../../primitives/keyring" } -substrate-test-runtime-client = { path = "../../../../test-utils/runtime/client" } -tokio = { version = "1.22.0", features = ["macros"] } +substrate-test-runtime-client = { workspace = true } +tokio = { features = ["macros"] , workspace = true, default-features = true } diff --git substrate/client/consensus/manual-seal/Cargo.toml substrate/client/consensus/manual-seal/Cargo.toml index ac32fed722..1a1914eb23 100644 --- substrate/client/consensus/manual-seal/Cargo.toml +++ substrate/client/consensus/manual-seal/Cargo.toml @@ -19,3 +19,3 @@ targets = ["x86_64-unknown-linux-gnu"] -jsonrpsee = { version = "0.22", features = ["client-core", "macros", "server"] } -assert_matches = "1.3.0" -async-trait = "0.1.74" +jsonrpsee = { features = ["client-core", "macros", "server"] , workspace = true } +assert_matches = { workspace = true } +async-trait = { workspace = true } @@ -23,2 +23,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1" } -futures = "0.3.21" -futures-timer = "3.0.1" +futures = { workspace = true } +futures-timer = { workspace = true } @@ -30,2 +30,2 @@ sc-client-api = { path = "../../api" } -sc-consensus = { path = "../common" } -sc-consensus-aura = { path = "../aura" } +sc-consensus = { workspace = true } +sc-consensus-aura = { workspace = true } @@ -33,2 +33,2 @@ sc-consensus-babe = { path = "../babe" } -sc-consensus-epochs = { path = "../epochs" } -sc-transaction-pool = { path = "../../transaction-pool" } +sc-consensus-epochs = { workspace = true } +sc-transaction-pool = { workspace = true } @@ -36,2 +36,2 @@ sc-transaction-pool-api = { path = "../../transaction-pool/api" } -sp-api = { path = "../../../primitives/api" } -sp-blockchain = { path = "../../../primitives/blockchain" } +sp-api = { workspace = true, default-features = true } +sp-blockchain = { workspace = true } @@ -39 +39 @@ sp-consensus = { path = "../../../primitives/consensus/common" } -sp-consensus-aura = { path = "../../../primitives/consensus/aura" } +sp-consensus-aura = { workspace = true, default-features = true } @@ -41 +41 @@ sp-consensus-babe = { path = "../../../primitives/consensus/babe" } -sp-consensus-slots = { path = "../../../primitives/consensus/slots" } +sp-consensus-slots = { workspace = true, default-features = true } @@ -44 +44 @@ sp-inherents = { path = "../../../primitives/inherents" } -sp-keystore = { path = "../../../primitives/keystore" } +sp-keystore = { workspace = true, default-features = true } @@ -46 +46 @@ sp-runtime = { path = "../../../primitives/runtime" } -sp-timestamp = { path = "../../../primitives/timestamp" } +sp-timestamp = { workspace = true, default-features = true } @@ -49,4 +49,4 @@ sp-timestamp = { path = "../../../primitives/timestamp" } -tokio = { version = "1.22.0", features = ["macros", "rt-multi-thread"] } -sc-basic-authorship = { path = "../../basic-authorship" } -substrate-test-runtime-client = { path = "../../../test-utils/runtime/client" } -substrate-test-runtime-transaction-pool = { path = "../../../test-utils/runtime/transaction-pool" } +tokio = { features = ["macros", "rt-multi-thread"] , workspace = true, default-features = true } +sc-basic-authorship = { workspace = true } +substrate-test-runtime-client = { workspace = true } +substrate-test-runtime-transaction-pool = { workspace = true } diff --git substrate/client/consensus/pow/Cargo.toml substrate/client/consensus/pow/Cargo.toml index 0791514035..2d4515a5a1 100644 --- substrate/client/consensus/pow/Cargo.toml +++ substrate/client/consensus/pow/Cargo.toml @@ -19 +19 @@ targets = ["x86_64-unknown-linux-gnu"] -async-trait = "0.1.74" +async-trait = { workspace = true } @@ -21,2 +21,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive -futures = "0.3.21" -futures-timer = "3.0.1" +futures = { workspace = true } +futures-timer = { workspace = true } @@ -24 +24 @@ log = { workspace = true, default-features = true } -parking_lot = "0.12.1" +parking_lot = { workspace = true, default-features = true } @@ -28,2 +28,2 @@ sc-client-api = { path = "../../api" } -sc-consensus = { path = "../common" } -sp-api = { path = "../../../primitives/api" } +sc-consensus = { workspace = true } +sp-api = { workspace = true, default-features = true } @@ -31 +31 @@ sp-block-builder = { path = "../../../primitives/block-builder" } -sp-blockchain = { path = "../../../primitives/blockchain" } +sp-blockchain = { workspace = true } @@ -33 +33 @@ sp-consensus = { path = "../../../primitives/consensus/common" } -sp-consensus-pow = { path = "../../../primitives/consensus/pow" } +sp-consensus-pow = { workspace = true } diff --git substrate/client/consensus/slots/Cargo.toml substrate/client/consensus/slots/Cargo.toml index 75f8b29a2f..88ba8098e5 100644 --- substrate/client/consensus/slots/Cargo.toml +++ substrate/client/consensus/slots/Cargo.toml @@ -20 +20 @@ targets = ["x86_64-unknown-linux-gnu"] -async-trait = "0.1.74" +async-trait = { workspace = true } @@ -22,2 +22,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1" } -futures = "0.3.21" -futures-timer = "3.0.1" +futures = { workspace = true } +futures-timer = { workspace = true } @@ -26 +26 @@ sc-client-api = { path = "../../api" } -sc-consensus = { path = "../common" } +sc-consensus = { workspace = true } @@ -28,2 +28,2 @@ sc-telemetry = { path = "../../telemetry" } -sp-arithmetic = { path = "../../../primitives/arithmetic" } -sp-blockchain = { path = "../../../primitives/blockchain" } +sp-arithmetic = { workspace = true, default-features = true } +sp-blockchain = { workspace = true } @@ -31 +31 @@ sp-consensus = { path = "../../../primitives/consensus/common" } -sp-consensus-slots = { path = "../../../primitives/consensus/slots" } +sp-consensus-slots = { workspace = true, default-features = true } @@ -35 +35 @@ sp-runtime = { path = "../../../primitives/runtime" } -sp-state-machine = { path = "../../../primitives/state-machine" } +sp-state-machine = { workspace = true, default-features = true } @@ -38 +38 @@ sp-state-machine = { path = "../../../primitives/state-machine" } -substrate-test-runtime-client = { path = "../../../test-utils/runtime/client" } +substrate-test-runtime-client = { workspace = true } diff --git substrate/client/db/Cargo.toml substrate/client/db/Cargo.toml index 57ee1a8ad3..8b0e0dc108 100644 --- substrate/client/db/Cargo.toml +++ substrate/client/db/Cargo.toml @@ -22,5 +22,5 @@ codec = { package = "parity-scale-codec", version = "3.6.1", features = [ -hash-db = "0.16.0" -kvdb = "0.13.0" -kvdb-memorydb = "0.13.0" -kvdb-rocksdb = { version = "0.19.0", optional = true } -linked-hash-map = "0.5.4" +hash-db = { workspace = true, default-features = true } +kvdb = { workspace = true } +kvdb-memorydb = { workspace = true } +kvdb-rocksdb = { optional = true , workspace = true } +linked-hash-map = { workspace = true } @@ -28,2 +28,2 @@ log = { workspace = true, default-features = true } -parity-db = "0.4.12" -parking_lot = "0.12.1" +parity-db = { workspace = true } +parking_lot = { workspace = true, default-features = true } @@ -31,4 +31,4 @@ sc-client-api = { path = "../api" } -sc-state-db = { path = "../state-db" } -schnellru = "0.2.1" -sp-arithmetic = { path = "../../primitives/arithmetic" } -sp-blockchain = { path = "../../primitives/blockchain" } +sc-state-db = { workspace = true } +schnellru = { workspace = true } +sp-arithmetic = { workspace = true, default-features = true } +sp-blockchain = { workspace = true } @@ -36 +36 @@ sp-core = { path = "../../primitives/core" } -sp-database = { path = "../../primitives/database" } +sp-database = { workspace = true } @@ -38,2 +38,2 @@ sp-runtime = { path = "../../primitives/runtime" } -sp-state-machine = { path = "../../primitives/state-machine" } -sp-trie = { path = "../../primitives/trie" } +sp-state-machine = { workspace = true, default-features = true } +sp-trie = { workspace = true, default-features = true } @@ -42,9 +42,9 @@ sp-trie = { path = "../../primitives/trie" } -criterion = "0.4.0" -kvdb-rocksdb = "0.19.0" -rand = "0.8.5" -tempfile = "3.1.0" -quickcheck = { version = "1.0.3", default-features = false } -kitchensink-runtime = { path = "../../bin/node/runtime" } -sp-tracing = { path = "../../primitives/tracing" } -substrate-test-runtime-client = { path = "../../test-utils/runtime/client" } -array-bytes = "6.1" +criterion = { workspace = true, default-features = true } +kvdb-rocksdb = { workspace = true } +rand = { workspace = true, default-features = true } +tempfile = { workspace = true } +quickcheck = { workspace = true } +kitchensink-runtime = { workspace = true } +sp-tracing = { workspace = true, default-features = true } +substrate-test-runtime-client = { workspace = true } +array-bytes = { workspace = true, default-features = true } diff --git substrate/client/executor/Cargo.toml substrate/client/executor/Cargo.toml index 4e36de3c4f..6224d0f04c 100644 --- substrate/client/executor/Cargo.toml +++ substrate/client/executor/Cargo.toml @@ -20,3 +20,3 @@ targets = ["x86_64-unknown-linux-gnu"] -parking_lot = "0.12.1" -schnellru = "0.2.1" -tracing = "0.1.29" +parking_lot = { workspace = true, default-features = true } +schnellru = { workspace = true } +tracing = { workspace = true, default-features = true } @@ -25,3 +25,3 @@ codec = { package = "parity-scale-codec", version = "3.6.1" } -sc-executor-common = { path = "common" } -sc-executor-wasmtime = { path = "wasmtime" } -sp-api = { path = "../../primitives/api" } +sc-executor-common = { workspace = true } +sc-executor-wasmtime = { workspace = true } +sp-api = { workspace = true, default-features = true } @@ -29,7 +29,7 @@ sp-core = { path = "../../primitives/core" } -sp-externalities = { path = "../../primitives/externalities" } -sp-io = { path = "../../primitives/io" } -sp-panic-handler = { path = "../../primitives/panic-handler" } -sp-runtime-interface = { path = "../../primitives/runtime-interface" } -sp-trie = { path = "../../primitives/trie" } -sp-version = { path = "../../primitives/version" } -sp-wasm-interface = { path = "../../primitives/wasm-interface" } +sp-externalities = { workspace = true, default-features = true } +sp-io = { workspace = true, default-features = true } +sp-panic-handler = { workspace = true } +sp-runtime-interface = { workspace = true, default-features = true } +sp-trie = { workspace = true, default-features = true } +sp-version = { workspace = true, default-features = true } +sp-wasm-interface = { workspace = true, default-features = true } @@ -38,7 +38,7 @@ sp-wasm-interface = { path = "../../primitives/wasm-interface" } -array-bytes = "6.1" -assert_matches = "1.3.0" -wat = "1.0" -sc-runtime-test = { path = "runtime-test" } -substrate-test-runtime = { path = "../../test-utils/runtime" } -sp-crypto-hashing = { path = "../../primitives/crypto/hashing" } -sp-state-machine = { path = "../../primitives/state-machine" } +array-bytes = { workspace = true, default-features = true } +assert_matches = { workspace = true } +wat = { workspace = true } +sc-runtime-test = { workspace = true } +substrate-test-runtime = { workspace = true } +sp-crypto-hashing = { workspace = true, default-features = true } +sp-state-machine = { workspace = true, default-features = true } @@ -46,10 +46,10 @@ sp-runtime = { path = "../../primitives/runtime" } -sp-maybe-compressed-blob = { path = "../../primitives/maybe-compressed-blob" } -sc-tracing = { path = "../tracing" } -sp-tracing = { path = "../../primitives/tracing" } -tracing-subscriber = "0.2.19" -paste = "1.0" -regex = "1.6.0" -criterion = "0.4.0" -env_logger = "0.9" -num_cpus = "1.13.1" -tempfile = "3.3.0" +sp-maybe-compressed-blob = { workspace = true } +sc-tracing = { workspace = true } +sp-tracing = { workspace = true, default-features = true } +tracing-subscriber = { workspace = true } +paste = { workspace = true, default-features = true } +regex = { workspace = true } +criterion = { workspace = true, default-features = true } +env_logger = { workspace = true } +num_cpus = { workspace = true } +tempfile = { workspace = true } diff --git substrate/client/executor/common/Cargo.toml substrate/client/executor/common/Cargo.toml index bfd1fa6b74..899d92cfe3 100644 --- substrate/client/executor/common/Cargo.toml +++ substrate/client/executor/common/Cargo.toml @@ -21,4 +21,4 @@ thiserror = { workspace = true } -wasm-instrument = "0.4" -sc-allocator = { path = "../../allocator" } -sp-maybe-compressed-blob = { path = "../../../primitives/maybe-compressed-blob" } -sp-wasm-interface = { path = "../../../primitives/wasm-interface" } +wasm-instrument = { workspace = true, default-features = true } +sc-allocator = { workspace = true } +sp-maybe-compressed-blob = { workspace = true } +sp-wasm-interface = { workspace = true, default-features = true } diff --git substrate/client/executor/runtime-test/Cargo.toml substrate/client/executor/runtime-test/Cargo.toml index 82610c4f50..7ffe15f377 100644 --- substrate/client/executor/runtime-test/Cargo.toml +++ substrate/client/executor/runtime-test/Cargo.toml @@ -20 +20 @@ sp-core = { path = "../../../primitives/core", default-features = false } -sp-io = { path = "../../../primitives/io", default-features = false, features = ["improved_panic_error_reporting"] } +sp-io = { features = ["improved_panic_error_reporting"] , workspace = true } @@ -22,2 +22,2 @@ sp-runtime = { path = "../../../primitives/runtime", default-features = false } -sp-runtime-interface = { path = "../../../primitives/runtime-interface", default-features = false } -sp-std = { path = "../../../primitives/std", default-features = false } +sp-runtime-interface = { workspace = true } +sp-std = { workspace = true } @@ -26 +26 @@ sp-std = { path = "../../../primitives/std", default-features = false } -substrate-wasm-builder = { path = "../../../utils/wasm-builder", optional = true } +substrate-wasm-builder = { optional = true , workspace = true } diff --git substrate/client/executor/wasmtime/Cargo.toml substrate/client/executor/wasmtime/Cargo.toml index 75cc76a235..fb4671a419 100644 --- substrate/client/executor/wasmtime/Cargo.toml +++ substrate/client/executor/wasmtime/Cargo.toml @@ -20,3 +20,3 @@ log = { workspace = true, default-features = true } -cfg-if = "1.0" -libc = "0.2.152" -parking_lot = "0.12.1" +cfg-if = { workspace = true } +libc = { workspace = true } +parking_lot = { workspace = true, default-features = true } @@ -26 +26 @@ parking_lot = "0.12.1" -wasmtime = { version = "8.0.1", default-features = false, features = [ +wasmtime = { features = [ @@ -32,6 +32,6 @@ wasmtime = { version = "8.0.1", default-features = false, features = [ -] } -anyhow = "1.0.68" -sc-allocator = { path = "../../allocator" } -sc-executor-common = { path = "../common" } -sp-runtime-interface = { path = "../../../primitives/runtime-interface" } -sp-wasm-interface = { path = "../../../primitives/wasm-interface", features = ["wasmtime"] } +] , workspace = true } +anyhow = { workspace = true } +sc-allocator = { workspace = true } +sc-executor-common = { workspace = true } +sp-runtime-interface = { workspace = true, default-features = true } +sp-wasm-interface = { features = ["wasmtime"] , workspace = true, default-features = true } @@ -45 +45 @@ sp-wasm-interface = { path = "../../../primitives/wasm-interface", features = [" -rustix = { version = "0.36.7", default-features = false, features = ["fs", "mm", "param", "std", "use-libc"] } +rustix = { features = ["fs", "mm", "param", "std", "use-libc"] , workspace = true } @@ -48,5 +48,5 @@ rustix = { version = "0.36.7", default-features = false, features = ["fs", "mm", -wat = "1.0" -sc-runtime-test = { path = "../runtime-test" } -sp-io = { path = "../../../primitives/io" } -tempfile = "3.3.0" -paste = "1.0" +wat = { workspace = true } +sc-runtime-test = { workspace = true } +sp-io = { workspace = true, default-features = true } +tempfile = { workspace = true } +paste = { workspace = true, default-features = true } @@ -54 +54 @@ codec = { package = "parity-scale-codec", version = "3.6.1" } -cargo_metadata = "0.15.4" +cargo_metadata = { workspace = true } diff --git substrate/client/informant/Cargo.toml substrate/client/informant/Cargo.toml index bd15e94eba..47ea0a927e 100644 --- substrate/client/informant/Cargo.toml +++ substrate/client/informant/Cargo.toml @@ -19,3 +19,3 @@ targets = ["x86_64-unknown-linux-gnu"] -ansi_term = "0.12.1" -futures = "0.3.21" -futures-timer = "3.0.1" +ansi_term = { workspace = true } +futures = { workspace = true } +futures-timer = { workspace = true } @@ -24,4 +24,4 @@ sc-client-api = { path = "../api" } -sc-network-common = { path = "../network/common" } -sc-network-sync = { path = "../network/sync" } -sc-network = { path = "../network" } -sp-blockchain = { path = "../../primitives/blockchain" } +sc-network-common = { workspace = true } +sc-network-sync = { workspace = true } +sc-network = { workspace = true } +sp-blockchain = { workspace = true } diff --git substrate/client/keystore/Cargo.toml substrate/client/keystore/Cargo.toml index 908e0aa8f3..333a900fa3 100644 --- substrate/client/keystore/Cargo.toml +++ substrate/client/keystore/Cargo.toml @@ -20,2 +20,2 @@ targets = ["x86_64-unknown-linux-gnu"] -array-bytes = "6.1" -parking_lot = "0.12.1" +array-bytes = { workspace = true, default-features = true } +parking_lot = { workspace = true, default-features = true } @@ -26 +26 @@ sp-core = { path = "../../primitives/core" } -sp-keystore = { path = "../../primitives/keystore" } +sp-keystore = { workspace = true, default-features = true } @@ -29 +29 @@ sp-keystore = { path = "../../primitives/keystore" } -tempfile = "3.1.0" +tempfile = { workspace = true } diff --git substrate/client/merkle-mountain-range/Cargo.toml substrate/client/merkle-mountain-range/Cargo.toml index 60232bccb0..8a47f7391d 100644 --- substrate/client/merkle-mountain-range/Cargo.toml +++ substrate/client/merkle-mountain-range/Cargo.toml @@ -18 +18 @@ codec = { package = "parity-scale-codec", version = "3.6.1" } -futures = "0.3" +futures = { workspace = true } @@ -20,2 +20,2 @@ log = { workspace = true, default-features = true } -sp-api = { path = "../../primitives/api" } -sp-blockchain = { path = "../../primitives/blockchain" } +sp-api = { workspace = true, default-features = true } +sp-blockchain = { workspace = true } @@ -26,2 +26,2 @@ sp-core = { path = "../../primitives/core" } -sp-mmr-primitives = { path = "../../primitives/merkle-mountain-range" } -sc-offchain = { path = "../offchain" } +sp-mmr-primitives = { workspace = true, default-features = true } +sc-offchain = { workspace = true } @@ -31,5 +31,5 @@ sp-runtime = { path = "../../primitives/runtime" } -parking_lot = "0.12.1" -sc-block-builder = { path = "../block-builder" } -sp-tracing = { path = "../../primitives/tracing" } -substrate-test-runtime-client = { path = "../../test-utils/runtime/client" } -tokio = "1.17.0" +parking_lot = { workspace = true, default-features = true } +sc-block-builder = { workspace = true } +sp-tracing = { workspace = true, default-features = true } +substrate-test-runtime-client = { workspace = true } +tokio = { workspace = true, default-features = true } diff --git substrate/client/merkle-mountain-range/rpc/Cargo.toml substrate/client/merkle-mountain-range/rpc/Cargo.toml index 9b391b76ea..bf8630c11b 100644 --- substrate/client/merkle-mountain-range/rpc/Cargo.toml +++ substrate/client/merkle-mountain-range/rpc/Cargo.toml @@ -19 +19 @@ codec = { package = "parity-scale-codec", version = "3.6.1" } -jsonrpsee = { version = "0.22", features = ["client-core", "macros", "server"] } +jsonrpsee = { features = ["client-core", "macros", "server"] , workspace = true } @@ -21,2 +21,2 @@ serde = { features = ["derive"], workspace = true, default-features = true } -sp-api = { path = "../../../primitives/api" } -sp-blockchain = { path = "../../../primitives/blockchain" } +sp-api = { workspace = true, default-features = true } +sp-blockchain = { workspace = true } @@ -24 +24 @@ sp-core = { path = "../../../primitives/core" } -sp-mmr-primitives = { path = "../../../primitives/merkle-mountain-range" } +sp-mmr-primitives = { workspace = true, default-features = true } diff --git substrate/client/mixnet/Cargo.toml substrate/client/mixnet/Cargo.toml index 736184f466..dfd493c9f0 100644 --- substrate/client/mixnet/Cargo.toml +++ substrate/client/mixnet/Cargo.toml @@ -19,4 +19,4 @@ targets = ["x86_64-unknown-linux-gnu"] -array-bytes = "4.1" -arrayvec = "0.7.2" -blake2 = "0.10.4" -bytes = "1" +array-bytes = { workspace = true, default-features = true } +arrayvec = { workspace = true } +blake2 = { workspace = true, default-features = true } +bytes = { workspace = true, default-features = true } @@ -24,3 +24,3 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -futures = "0.3.25" -futures-timer = "3.0.2" -libp2p-identity = { version = "0.1.3", features = ["peerid"] } +futures = { workspace = true } +futures-timer = { workspace = true } +libp2p-identity = { features = ["peerid"] , workspace = true } @@ -28,3 +28,3 @@ log = { workspace = true, default-features = true } -mixnet = "0.7.0" -multiaddr = "0.17.1" -parking_lot = "0.12.1" +mixnet = { workspace = true } +multiaddr = { workspace = true } +parking_lot = { workspace = true, default-features = true } @@ -32 +32 @@ sc-client-api = { path = "../api" } -sc-network = { path = "../network" } +sc-network = { workspace = true } @@ -34 +34 @@ sc-transaction-pool-api = { path = "../transaction-pool/api" } -sp-api = { path = "../../primitives/api" } +sp-api = { workspace = true, default-features = true } @@ -37,2 +37,2 @@ sp-core = { path = "../../primitives/core" } -sp-keystore = { path = "../../primitives/keystore" } -sp-mixnet = { path = "../../primitives/mixnet" } +sp-keystore = { workspace = true, default-features = true } +sp-mixnet = { workspace = true, default-features = true } diff --git substrate/client/network-gossip/Cargo.toml substrate/client/network-gossip/Cargo.toml index a14761c0d6..242a633416 100644 --- substrate/client/network-gossip/Cargo.toml +++ substrate/client/network-gossip/Cargo.toml @@ -20,4 +20,4 @@ targets = ["x86_64-unknown-linux-gnu"] -ahash = "0.8.2" -futures = "0.3.21" -futures-timer = "3.0.1" -libp2p = "0.51.4" +ahash = { workspace = true } +futures = { workspace = true } +futures-timer = { workspace = true } +libp2p = { workspace = true } @@ -25,2 +25,2 @@ log = { workspace = true, default-features = true } -schnellru = "0.2.1" -tracing = "0.1.29" +schnellru = { workspace = true } +tracing = { workspace = true, default-features = true } @@ -28,3 +28,3 @@ prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../.. -sc-network = { path = "../network" } -sc-network-common = { path = "../network/common" } -sc-network-sync = { path = "../network/sync" } +sc-network = { workspace = true } +sc-network-common = { workspace = true } +sc-network-sync = { workspace = true } @@ -34,2 +34,2 @@ sp-runtime = { path = "../../primitives/runtime" } -tokio = "1.22.0" -async-trait = "0.1.74" +tokio = { workspace = true, default-features = true } +async-trait = { workspace = true } @@ -37,2 +37,2 @@ codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive -quickcheck = { version = "1.0.3", default-features = false } -substrate-test-runtime-client = { path = "../../test-utils/runtime/client" } +quickcheck = { workspace = true } +substrate-test-runtime-client = { workspace = true } diff --git substrate/client/network/Cargo.toml substrate/client/network/Cargo.toml index cbf74440dc..441420c774 100644 --- substrate/client/network/Cargo.toml +++ substrate/client/network/Cargo.toml @@ -20,5 +20,5 @@ targets = ["x86_64-unknown-linux-gnu"] -array-bytes = "6.1" -async-channel = "1.8.0" -async-trait = "0.1" -asynchronous-codec = "0.6" -bytes = "1" +array-bytes = { workspace = true, default-features = true } +async-channel = { workspace = true } +async-trait = { workspace = true } +asynchronous-codec = { workspace = true } +bytes = { workspace = true, default-features = true } @@ -26,7 +26,7 @@ codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive -either = "1.5.3" -fnv = "1.0.6" -futures = "0.3.21" -futures-timer = "3.0.2" -ip_network = "0.4.1" -libp2p = { version = "0.51.4", features = ["dns", "identify", "kad", "macros", "mdns", "noise", "ping", "request-response", "tcp", "tokio", "websocket", "yamux"] } -linked_hash_set = "0.1.3" +either = { workspace = true, default-features = true } +fnv = { workspace = true } +futures = { workspace = true } +futures-timer = { workspace = true } +ip_network = { workspace = true } +libp2p = { features = ["dns", "identify", "kad", "macros", "mdns", "noise", "ping", "request-response", "tcp", "tokio", "websocket", "yamux"] , workspace = true } +linked_hash_set = { workspace = true } @@ -34,5 +34,5 @@ log = { workspace = true, default-features = true } -mockall = "0.11.3" -parking_lot = "0.12.1" -partial_sort = "0.2.0" -pin-project = "1.0.12" -rand = "0.8.5" +mockall = { workspace = true } +parking_lot = { workspace = true, default-features = true } +partial_sort = { workspace = true } +pin-project = { workspace = true } +rand = { workspace = true, default-features = true } @@ -41 +41 @@ serde_json = { workspace = true, default-features = true } -smallvec = "1.11.0" +smallvec = { workspace = true, default-features = true } @@ -43,4 +43,4 @@ thiserror = { workspace = true } -tokio = { version = "1.22.0", features = ["macros", "sync"] } -tokio-stream = "0.1.7" -unsigned-varint = { version = "0.7.1", features = ["asynchronous_codec", "futures"] } -zeroize = "1.4.3" +tokio = { features = ["macros", "sync"] , workspace = true, default-features = true } +tokio-stream = { workspace = true } +unsigned-varint = { features = ["asynchronous_codec", "futures"] , workspace = true } +zeroize = { workspace = true, default-features = true } @@ -49,4 +49,4 @@ sc-client-api = { path = "../api" } -sc-network-common = { path = "common" } -sc-utils = { path = "../utils" } -sp-arithmetic = { path = "../../primitives/arithmetic" } -sp-blockchain = { path = "../../primitives/blockchain" } +sc-network-common = { workspace = true } +sc-utils = { workspace = true } +sp-arithmetic = { workspace = true, default-features = true } +sp-blockchain = { workspace = true } @@ -55 +55 @@ sp-runtime = { path = "../../primitives/runtime" } -wasm-timer = "0.2" +wasm-timer = { workspace = true } @@ -58,14 +58,14 @@ wasm-timer = "0.2" -assert_matches = "1.3" -mockall = "0.11.3" -multistream-select = "0.12.1" -rand = "0.8.5" -tempfile = "3.1.0" -tokio = { version = "1.22.0", features = ["macros"] } -tokio-util = { version = "0.7.4", features = ["compat"] } -tokio-test = "0.4.2" -sc-network-light = { path = "light" } -sc-network-sync = { path = "sync" } -sp-test-primitives = { path = "../../primitives/test-primitives" } -sp-tracing = { path = "../../primitives/tracing" } -substrate-test-runtime = { path = "../../test-utils/runtime" } -substrate-test-runtime-client = { path = "../../test-utils/runtime/client" } +assert_matches = { workspace = true } +mockall = { workspace = true } +multistream-select = { workspace = true } +rand = { workspace = true, default-features = true } +tempfile = { workspace = true } +tokio = { features = ["macros"] , workspace = true, default-features = true } +tokio-util = { features = ["compat"] , workspace = true } +tokio-test = { workspace = true } +sc-network-light = { workspace = true } +sc-network-sync = { workspace = true } +sp-test-primitives = { workspace = true } +sp-tracing = { workspace = true, default-features = true } +substrate-test-runtime = { workspace = true } +substrate-test-runtime-client = { workspace = true } diff --git substrate/client/network/bitswap/Cargo.toml substrate/client/network/bitswap/Cargo.toml index 7ef3ea2124..8db9a79f60 100644 --- substrate/client/network/bitswap/Cargo.toml +++ substrate/client/network/bitswap/Cargo.toml @@ -19 +19 @@ targets = ["x86_64-unknown-linux-gnu"] -prost-build = "0.11" +prost-build = { workspace = true } @@ -22,4 +22,4 @@ prost-build = "0.11" -async-channel = "1.8.0" -cid = "0.9.0" -futures = "0.3.21" -libp2p-identity = { version = "0.1.3", features = ["peerid"] } +async-channel = { workspace = true } +cid = { workspace = true } +futures = { workspace = true } +libp2p-identity = { features = ["peerid"] , workspace = true } @@ -27 +27 @@ log = { workspace = true, default-features = true } -prost = "0.12" +prost = { workspace = true } @@ -29 +29 @@ thiserror = { workspace = true } -unsigned-varint = { version = "0.7.1", features = ["asynchronous_codec", "futures"] } +unsigned-varint = { features = ["asynchronous_codec", "futures"] , workspace = true } @@ -31,2 +31,2 @@ sc-client-api = { path = "../../api" } -sc-network = { path = ".." } -sp-blockchain = { path = "../../../primitives/blockchain" } +sc-network = { workspace = true } +sp-blockchain = { workspace = true } @@ -36,4 +36,4 @@ sp-runtime = { path = "../../../primitives/runtime" } -tokio = { version = "1.22.0", features = ["full"] } -sc-block-builder = { path = "../../block-builder" } -sc-consensus = { path = "../../consensus/common" } -sp-crypto-hashing = { path = "../../../primitives/crypto/hashing" } +tokio = { features = ["full"] , workspace = true, default-features = true } +sc-block-builder = { workspace = true } +sc-consensus = { workspace = true } +sp-crypto-hashing = { workspace = true, default-features = true } @@ -41,2 +41,2 @@ sp-consensus = { path = "../../../primitives/consensus/common" } -substrate-test-runtime = { path = "../../../test-utils/runtime" } -substrate-test-runtime-client = { path = "../../../test-utils/runtime/client" } +substrate-test-runtime = { workspace = true } +substrate-test-runtime-client = { workspace = true } diff --git substrate/client/network/common/Cargo.toml substrate/client/network/common/Cargo.toml index 7a6d904b74..96db675802 100644 --- substrate/client/network/common/Cargo.toml +++ substrate/client/network/common/Cargo.toml @@ -19 +19 @@ targets = ["x86_64-unknown-linux-gnu"] -prost-build = "0.11" +prost-build = { workspace = true } @@ -22,2 +22,2 @@ prost-build = "0.11" -async-trait = "0.1.74" -bitflags = "1.3.2" +async-trait = { workspace = true } +bitflags = { workspace = true } @@ -27,3 +27,3 @@ codec = { package = "parity-scale-codec", version = "3.6.1", features = [ -futures = "0.3.21" -libp2p-identity = { version = "0.1.3", features = ["peerid"] } -sc-consensus = { path = "../../consensus/common" } +futures = { workspace = true } +libp2p-identity = { features = ["peerid"] , workspace = true } +sc-consensus = { workspace = true } @@ -35 +35 @@ sp-runtime = { path = "../../../primitives/runtime" } -tempfile = "3.1.0" +tempfile = { workspace = true } diff --git substrate/client/network/light/Cargo.toml substrate/client/network/light/Cargo.toml index c757f727fb..d9fb91bdb8 100644 --- substrate/client/network/light/Cargo.toml +++ substrate/client/network/light/Cargo.toml @@ -19 +19 @@ targets = ["x86_64-unknown-linux-gnu"] -prost-build = "0.11" +prost-build = { workspace = true } @@ -22,2 +22,2 @@ prost-build = "0.11" -async-channel = "1.8.0" -array-bytes = "6.1" +async-channel = { workspace = true } +array-bytes = { workspace = true, default-features = true } @@ -27,2 +27,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", features = [ -futures = "0.3.21" -libp2p-identity = { version = "0.1.3", features = ["peerid"] } +futures = { workspace = true } +libp2p-identity = { features = ["peerid"] , workspace = true } @@ -30,2 +30,2 @@ log = { workspace = true, default-features = true } -prost = "0.12" -sp-blockchain = { path = "../../../primitives/blockchain" } +prost = { workspace = true } +sp-blockchain = { workspace = true } @@ -33 +33 @@ sc-client-api = { path = "../../api" } -sc-network = { path = ".." } +sc-network = { workspace = true } diff --git substrate/client/network/statement/Cargo.toml substrate/client/network/statement/Cargo.toml index b6efee5d9d..a4a6b1aef6 100644 --- substrate/client/network/statement/Cargo.toml +++ substrate/client/network/statement/Cargo.toml @@ -19,2 +19,2 @@ targets = ["x86_64-unknown-linux-gnu"] -array-bytes = "6.1" -async-channel = "1.8.0" +array-bytes = { workspace = true, default-features = true } +async-channel = { workspace = true } @@ -22,2 +22,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive -futures = "0.3.21" -libp2p = "0.51.4" +futures = { workspace = true } +libp2p = { workspace = true } @@ -26,3 +26,3 @@ prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../.. -sc-network-common = { path = "../common" } -sc-network-sync = { path = "../sync" } -sc-network = { path = ".." } +sc-network-common = { workspace = true } +sc-network-sync = { workspace = true } +sc-network = { workspace = true } @@ -30 +30 @@ sp-consensus = { path = "../../../primitives/consensus/common" } -sp-statement-store = { path = "../../../primitives/statement-store" } +sp-statement-store = { workspace = true, default-features = true } diff --git substrate/client/network/sync/Cargo.toml substrate/client/network/sync/Cargo.toml index 32ba3b6356..cac10a280f 100644 --- substrate/client/network/sync/Cargo.toml +++ substrate/client/network/sync/Cargo.toml @@ -19 +19 @@ targets = ["x86_64-unknown-linux-gnu"] -prost-build = "0.11" +prost-build = { workspace = true } @@ -22,3 +22,3 @@ prost-build = "0.11" -array-bytes = "6.1" -async-channel = "1.8.0" -async-trait = "0.1.74" +array-bytes = { workspace = true, default-features = true } +async-channel = { workspace = true } +async-trait = { workspace = true } @@ -26,3 +26,3 @@ codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive -futures = "0.3.21" -futures-timer = "3.0.2" -libp2p = "0.51.4" +futures = { workspace = true } +futures-timer = { workspace = true } +libp2p = { workspace = true } @@ -30,4 +30,4 @@ log = { workspace = true, default-features = true } -mockall = "0.11.3" -prost = "0.12" -schnellru = "0.2.1" -smallvec = "1.11.0" +mockall = { workspace = true } +prost = { workspace = true } +schnellru = { workspace = true } +smallvec = { workspace = true, default-features = true } @@ -35,3 +35,3 @@ thiserror = { workspace = true } -tokio-stream = "0.1.14" -tokio = { version = "1.32.0", features = ["macros", "time"] } -fork-tree = { path = "../../../utils/fork-tree" } +tokio-stream = { workspace = true } +tokio = { features = ["macros", "time"] , workspace = true, default-features = true } +fork-tree = { workspace = true } @@ -40,6 +40,6 @@ sc-client-api = { path = "../../api" } -sc-consensus = { path = "../../consensus/common" } -sc-network = { path = ".." } -sc-network-common = { path = "../common" } -sc-utils = { path = "../../utils" } -sp-arithmetic = { path = "../../../primitives/arithmetic" } -sp-blockchain = { path = "../../../primitives/blockchain" } +sc-consensus = { workspace = true } +sc-network = { workspace = true } +sc-network-common = { workspace = true } +sc-utils = { workspace = true } +sp-arithmetic = { workspace = true, default-features = true } +sp-blockchain = { workspace = true } @@ -52,6 +52,6 @@ sp-runtime = { path = "../../../primitives/runtime" } -mockall = "0.11.3" -quickcheck = { version = "1.0.3", default-features = false } -sc-block-builder = { path = "../../block-builder" } -sp-test-primitives = { path = "../../../primitives/test-primitives" } -sp-tracing = { path = "../../../primitives/tracing" } -substrate-test-runtime-client = { path = "../../../test-utils/runtime/client" } +mockall = { workspace = true } +quickcheck = { workspace = true } +sc-block-builder = { workspace = true } +sp-test-primitives = { workspace = true } +sp-tracing = { workspace = true, default-features = true } +substrate-test-runtime-client = { workspace = true } diff --git substrate/client/network/test/Cargo.toml substrate/client/network/test/Cargo.toml index 4f57287a39..167d780e8a 100644 --- substrate/client/network/test/Cargo.toml +++ substrate/client/network/test/Cargo.toml @@ -19,5 +19,5 @@ targets = ["x86_64-unknown-linux-gnu"] -tokio = "1.22.0" -async-trait = "0.1.74" -futures = "0.3.21" -futures-timer = "3.0.1" -libp2p = "0.51.4" +tokio = { workspace = true, default-features = true } +async-trait = { workspace = true } +futures = { workspace = true } +futures-timer = { workspace = true } +libp2p = { workspace = true } @@ -25,3 +25,3 @@ log = { workspace = true, default-features = true } -parking_lot = "0.12.1" -rand = "0.8.5" -sc-block-builder = { path = "../../block-builder" } +parking_lot = { workspace = true, default-features = true } +rand = { workspace = true, default-features = true } +sc-block-builder = { workspace = true } @@ -29,6 +29,6 @@ sc-client-api = { path = "../../api" } -sc-consensus = { path = "../../consensus/common" } -sc-network = { path = ".." } -sc-network-common = { path = "../common" } -sc-utils = { path = "../../utils" } -sc-network-light = { path = "../light" } -sc-network-sync = { path = "../sync" } +sc-consensus = { workspace = true } +sc-network = { workspace = true } +sc-network-common = { workspace = true } +sc-utils = { workspace = true } +sc-network-light = { workspace = true } +sc-network-sync = { workspace = true } @@ -36 +36 @@ sc-service = { path = "../../service", default-features = false, features = ["te -sp-blockchain = { path = "../../../primitives/blockchain" } +sp-blockchain = { workspace = true } @@ -40,3 +40,3 @@ sp-runtime = { path = "../../../primitives/runtime" } -sp-tracing = { path = "../../../primitives/tracing" } -substrate-test-runtime = { path = "../../../test-utils/runtime" } -substrate-test-runtime-client = { path = "../../../test-utils/runtime/client" } +sp-tracing = { workspace = true, default-features = true } +substrate-test-runtime = { workspace = true } +substrate-test-runtime-client = { workspace = true } diff --git substrate/client/network/transactions/Cargo.toml substrate/client/network/transactions/Cargo.toml index 01c8ac8814..f050041eeb 100644 --- substrate/client/network/transactions/Cargo.toml +++ substrate/client/network/transactions/Cargo.toml @@ -19 +19 @@ targets = ["x86_64-unknown-linux-gnu"] -array-bytes = "6.1" +array-bytes = { workspace = true, default-features = true } @@ -21,2 +21,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive -futures = "0.3.21" -libp2p = "0.51.4" +futures = { workspace = true } +libp2p = { workspace = true } @@ -25,4 +25,4 @@ prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../.. -sc-network = { path = ".." } -sc-network-common = { path = "../common" } -sc-network-sync = { path = "../sync" } -sc-utils = { path = "../../utils" } +sc-network = { workspace = true } +sc-network-common = { workspace = true } +sc-network-sync = { workspace = true } +sc-utils = { workspace = true } diff --git substrate/client/offchain/Cargo.toml substrate/client/offchain/Cargo.toml index caa4bb03f4..2c4cb11d93 100644 --- substrate/client/offchain/Cargo.toml +++ substrate/client/offchain/Cargo.toml @@ -19,2 +19,2 @@ targets = ["x86_64-unknown-linux-gnu"] -array-bytes = "6.1" -bytes = "1.1" +array-bytes = { workspace = true, default-features = true } +bytes = { workspace = true, default-features = true } @@ -22,12 +22,12 @@ codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive -fnv = "1.0.6" -futures = "0.3.21" -futures-timer = "3.0.2" -hyper = { version = "0.14.16", features = ["http2", "stream"] } -hyper-rustls = { version = "0.24.0", features = ["http2"] } -libp2p = "0.51.4" -num_cpus = "1.13" -once_cell = "1.19" -parking_lot = "0.12.1" -rand = "0.8.5" -threadpool = "1.7" -tracing = "0.1.29" +fnv = { workspace = true } +futures = { workspace = true } +futures-timer = { workspace = true } +hyper = { features = ["http2", "stream"] , workspace = true, default-features = true } +hyper-rustls = { features = ["http2"] , workspace = true } +libp2p = { workspace = true } +num_cpus = { workspace = true } +once_cell = { workspace = true } +parking_lot = { workspace = true, default-features = true } +rand = { workspace = true, default-features = true } +threadpool = { workspace = true } +tracing = { workspace = true, default-features = true } @@ -35,2 +35,2 @@ sc-client-api = { path = "../api" } -sc-network = { path = "../network" } -sc-network-common = { path = "../network/common" } +sc-network = { workspace = true } +sc-network-common = { workspace = true } @@ -38,2 +38,2 @@ sc-transaction-pool-api = { path = "../transaction-pool/api" } -sc-utils = { path = "../utils" } -sp-api = { path = "../../primitives/api" } +sc-utils = { workspace = true } +sp-api = { workspace = true, default-features = true } @@ -43,2 +43,2 @@ sp-runtime = { path = "../../primitives/runtime" } -sp-keystore = { path = "../../primitives/keystore" } -sp-externalities = { path = "../../primitives/externalities" } +sp-keystore = { workspace = true, default-features = true } +sp-externalities = { workspace = true, default-features = true } @@ -48,5 +48,5 @@ log = { workspace = true, default-features = true } -lazy_static = "1.4.0" -tokio = "1.22.0" -sc-block-builder = { path = "../block-builder" } -sc-client-db = { path = "../db", default-features = true } -sc-transaction-pool = { path = "../transaction-pool" } +lazy_static = { workspace = true } +tokio = { workspace = true, default-features = true } +sc-block-builder = { workspace = true } +sc-client-db = { default-features = true, workspace = true } +sc-transaction-pool = { workspace = true } @@ -55,2 +55,2 @@ sp-consensus = { path = "../../primitives/consensus/common" } -sp-tracing = { path = "../../primitives/tracing" } -substrate-test-runtime-client = { path = "../../test-utils/runtime/client" } +sp-tracing = { workspace = true, default-features = true } +substrate-test-runtime-client = { workspace = true } diff --git substrate/client/rpc-api/Cargo.toml substrate/client/rpc-api/Cargo.toml index 1b7af6a4a5..a8aa5e9d3f 100644 --- substrate/client/rpc-api/Cargo.toml +++ substrate/client/rpc-api/Cargo.toml @@ -20 +20 @@ codec = { package = "parity-scale-codec", version = "3.6.1" } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -24,2 +24,2 @@ thiserror = { workspace = true } -sc-chain-spec = { path = "../chain-spec" } -sc-mixnet = { path = "../mixnet" } +sc-chain-spec = { workspace = true } +sc-mixnet = { workspace = true } @@ -28 +28 @@ sp-core = { path = "../../primitives/core" } -sp-rpc = { path = "../../primitives/rpc" } +sp-rpc = { workspace = true } @@ -30,2 +30,2 @@ sp-runtime = { path = "../../primitives/runtime" } -sp-version = { path = "../../primitives/version" } -jsonrpsee = { version = "0.22", features = ["client-core", "macros", "server"] } +sp-version = { workspace = true, default-features = true } +jsonrpsee = { features = ["client-core", "macros", "server"] , workspace = true } diff --git substrate/client/rpc-servers/Cargo.toml substrate/client/rpc-servers/Cargo.toml index 7f7a86799e..0038766bee 100644 --- substrate/client/rpc-servers/Cargo.toml +++ substrate/client/rpc-servers/Cargo.toml @@ -19 +19 @@ targets = ["x86_64-unknown-linux-gnu"] -jsonrpsee = { version = "0.22", features = ["server"] } +jsonrpsee = { features = ["server"] , workspace = true } @@ -22 +22 @@ serde_json = { workspace = true, default-features = true } -tokio = { version = "1.22.0", features = ["parking_lot"] } +tokio = { features = ["parking_lot"] , workspace = true, default-features = true } @@ -24,7 +24,7 @@ prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../.. -tower-http = { version = "0.4.0", features = ["cors"] } -tower = { version = "0.4.13", features = ["util"] } -http = "0.2.8" -hyper = "0.14.27" -futures = "0.3.29" -pin-project = "1.1.3" -governor = "0.6.0" +tower-http = { features = ["cors"] , workspace = true } +tower = { features = ["util"] , workspace = true } +http = { workspace = true } +hyper = { workspace = true, default-features = true } +futures = { workspace = true } +pin-project = { workspace = true } +governor = { workspace = true } diff --git substrate/client/rpc-spec-v2/Cargo.toml substrate/client/rpc-spec-v2/Cargo.toml index c62b3e789d..f963bafb67 100644 --- substrate/client/rpc-spec-v2/Cargo.toml +++ substrate/client/rpc-spec-v2/Cargo.toml @@ -19 +19 @@ targets = ["x86_64-unknown-linux-gnu"] -jsonrpsee = { version = "0.22", features = ["client-core", "macros", "server"] } +jsonrpsee = { features = ["client-core", "macros", "server"] , workspace = true } @@ -21 +21 @@ jsonrpsee = { version = "0.22", features = ["client-core", "macros", "server"] } -sc-chain-spec = { path = "../chain-spec" } +sc-chain-spec = { workspace = true } @@ -26,4 +26,4 @@ sp-runtime = { path = "../../primitives/runtime" } -sp-api = { path = "../../primitives/api" } -sp-rpc = { path = "../../primitives/rpc" } -sp-blockchain = { path = "../../primitives/blockchain" } -sp-version = { path = "../../primitives/version" } +sp-api = { workspace = true, default-features = true } +sp-rpc = { workspace = true } +sp-blockchain = { workspace = true } +sp-version = { workspace = true, default-features = true } @@ -31,2 +31,2 @@ sc-client-api = { path = "../api" } -sc-utils = { path = "../utils" } -sc-rpc = { path = "../rpc" } +sc-utils = { workspace = true } +sc-rpc = { workspace = true } @@ -36,6 +36,6 @@ serde = { workspace = true, default-features = true } -hex = "0.4" -futures = "0.3.21" -parking_lot = "0.12.1" -tokio-stream = { version = "0.1.14", features = ["sync"] } -tokio = { version = "1.22.0", features = ["sync"] } -array-bytes = "6.1" +hex = { workspace = true, default-features = true } +futures = { workspace = true } +parking_lot = { workspace = true, default-features = true } +tokio-stream = { features = ["sync"] , workspace = true } +tokio = { features = ["sync"] , workspace = true, default-features = true } +array-bytes = { workspace = true, default-features = true } @@ -43,2 +43,2 @@ log = { workspace = true, default-features = true } -futures-util = { version = "0.3.30", default-features = false } -rand = "0.8.5" +futures-util = { workspace = true } +rand = { workspace = true, default-features = true } @@ -48,4 +48,4 @@ serde_json = { workspace = true, default-features = true } -tokio = { version = "1.22.0", features = ["macros"] } -substrate-test-runtime-client = { path = "../../test-utils/runtime/client" } -substrate-test-runtime = { path = "../../test-utils/runtime" } -substrate-test-runtime-transaction-pool = { path = "../../test-utils/runtime/transaction-pool" } +tokio = { features = ["macros"] , workspace = true, default-features = true } +substrate-test-runtime-client = { workspace = true } +substrate-test-runtime = { workspace = true } +substrate-test-runtime-transaction-pool = { workspace = true } @@ -53,3 +53,3 @@ sp-consensus = { path = "../../primitives/consensus/common" } -sp-externalities = { path = "../../primitives/externalities" } -sp-maybe-compressed-blob = { path = "../../primitives/maybe-compressed-blob" } -sc-block-builder = { path = "../block-builder" } +sp-externalities = { workspace = true, default-features = true } +sp-maybe-compressed-blob = { workspace = true } +sc-block-builder = { workspace = true } @@ -57,3 +57,3 @@ sc-service = { path = "../service", features = ["test-helpers"] } -assert_matches = "1.3.0" -pretty_assertions = "1.2.1" -sc-transaction-pool = { path = "../transaction-pool" } +assert_matches = { workspace = true } +pretty_assertions = { workspace = true } +sc-transaction-pool = { workspace = true } diff --git substrate/client/rpc/Cargo.toml substrate/client/rpc/Cargo.toml index f65e6c9a59..9dfaa47ca7 100644 --- substrate/client/rpc/Cargo.toml +++ substrate/client/rpc/Cargo.toml @@ -20,2 +20,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1" } -futures = "0.3.21" -jsonrpsee = { version = "0.22", features = ["server"] } +futures = { workspace = true } +jsonrpsee = { features = ["server"] , workspace = true } @@ -23 +23 @@ log = { workspace = true, default-features = true } -parking_lot = "0.12.1" +parking_lot = { workspace = true, default-features = true } @@ -25,2 +25,2 @@ serde_json = { workspace = true, default-features = true } -sc-block-builder = { path = "../block-builder" } -sc-chain-spec = { path = "../chain-spec" } +sc-block-builder = { workspace = true } +sc-chain-spec = { workspace = true } @@ -28,3 +28,3 @@ sc-client-api = { path = "../api" } -sc-mixnet = { path = "../mixnet" } -sc-rpc-api = { path = "../rpc-api" } -sc-tracing = { path = "../tracing" } +sc-mixnet = { workspace = true } +sc-rpc-api = { workspace = true } +sc-tracing = { workspace = true } @@ -32,3 +32,3 @@ sc-transaction-pool-api = { path = "../transaction-pool/api" } -sc-utils = { path = "../utils" } -sp-api = { path = "../../primitives/api" } -sp-blockchain = { path = "../../primitives/blockchain" } +sc-utils = { workspace = true } +sp-api = { workspace = true, default-features = true } +sp-blockchain = { workspace = true } @@ -36 +36 @@ sp-core = { path = "../../primitives/core" } -sp-keystore = { path = "../../primitives/keystore" } +sp-keystore = { workspace = true, default-features = true } @@ -38 +38 @@ sp-offchain = { path = "../../primitives/offchain" } -sp-rpc = { path = "../../primitives/rpc" } +sp-rpc = { workspace = true } @@ -40,4 +40,4 @@ sp-runtime = { path = "../../primitives/runtime" } -sp-session = { path = "../../primitives/session" } -sp-version = { path = "../../primitives/version" } -sp-statement-store = { path = "../../primitives/statement-store" } -tokio = "1.22.0" +sp-session = { workspace = true, default-features = true } +sp-version = { workspace = true, default-features = true } +sp-statement-store = { workspace = true, default-features = true } +tokio = { workspace = true, default-features = true } @@ -46,6 +46,6 @@ tokio = "1.22.0" -env_logger = "0.9" -assert_matches = "1.3.0" -sc-block-builder = { path = "../block-builder" } -sc-network = { path = "../network" } -sc-network-common = { path = "../network/common" } -sc-transaction-pool = { path = "../transaction-pool" } +env_logger = { workspace = true } +assert_matches = { workspace = true } +sc-block-builder = { workspace = true } +sc-network = { workspace = true } +sc-network-common = { workspace = true } +sc-transaction-pool = { workspace = true } @@ -53,6 +53,6 @@ sp-consensus = { path = "../../primitives/consensus/common" } -sp-crypto-hashing = { path = "../../primitives/crypto/hashing" } -tokio = "1.22.0" -sp-io = { path = "../../primitives/io" } -substrate-test-runtime-client = { path = "../../test-utils/runtime/client" } -pretty_assertions = "1.2.1" -tracing-subscriber = { version = "0.3", features = ["env-filter"] } +sp-crypto-hashing = { workspace = true, default-features = true } +tokio = { workspace = true, default-features = true } +sp-io = { workspace = true, default-features = true } +substrate-test-runtime-client = { workspace = true } +pretty_assertions = { workspace = true } +tracing-subscriber = { features = ["env-filter"] , workspace = true } diff --git substrate/client/service/Cargo.toml substrate/client/service/Cargo.toml index 73edceb2ef..3d54c90b6f 100644 --- substrate/client/service/Cargo.toml +++ substrate/client/service/Cargo.toml @@ -31 +31 @@ runtime-benchmarks = [ -jsonrpsee = { version = "0.22", features = ["server"] } +jsonrpsee = { features = ["server"] , workspace = true } @@ -33,3 +33,3 @@ thiserror = { workspace = true } -futures = "0.3.21" -rand = "0.8.5" -parking_lot = "0.12.1" +futures = { workspace = true } +rand = { workspace = true, default-features = true } +parking_lot = { workspace = true, default-features = true } @@ -37,3 +37,3 @@ log = { workspace = true, default-features = true } -futures-timer = "3.0.1" -exit-future = "0.2.0" -pin-project = "1.0.12" +futures-timer = { workspace = true } +exit-future = { workspace = true } +pin-project = { workspace = true } @@ -42 +42 @@ serde_json = { workspace = true, default-features = true } -sc-keystore = { path = "../keystore" } +sc-keystore = { workspace = true, default-features = true } @@ -44,5 +44,5 @@ sp-runtime = { path = "../../primitives/runtime" } -sp-trie = { path = "../../primitives/trie" } -sp-externalities = { path = "../../primitives/externalities" } -sc-utils = { path = "../utils" } -sp-version = { path = "../../primitives/version" } -sp-blockchain = { path = "../../primitives/blockchain" } +sp-trie = { workspace = true, default-features = true } +sp-externalities = { workspace = true, default-features = true } +sc-utils = { workspace = true } +sp-version = { workspace = true, default-features = true } +sp-blockchain = { workspace = true } @@ -50,3 +50,3 @@ sp-core = { path = "../../primitives/core" } -sp-keystore = { path = "../../primitives/keystore" } -sp-session = { path = "../../primitives/session" } -sp-state-machine = { path = "../../primitives/state-machine" } +sp-keystore = { workspace = true, default-features = true } +sp-session = { workspace = true, default-features = true } +sp-state-machine = { workspace = true, default-features = true } @@ -54,9 +54,9 @@ sp-consensus = { path = "../../primitives/consensus/common" } -sc-consensus = { path = "../consensus/common" } -sp-storage = { path = "../../primitives/storage" } -sc-network = { path = "../network" } -sc-network-bitswap = { path = "../network/bitswap" } -sc-network-common = { path = "../network/common" } -sc-network-light = { path = "../network/light" } -sc-network-sync = { path = "../network/sync" } -sc-network-transactions = { path = "../network/transactions" } -sc-chain-spec = { path = "../chain-spec" } +sc-consensus = { workspace = true } +sp-storage = { workspace = true, default-features = true } +sc-network = { workspace = true } +sc-network-bitswap = { workspace = true } +sc-network-common = { workspace = true } +sc-network-light = { workspace = true } +sc-network-sync = { workspace = true } +sc-network-transactions = { workspace = true } +sc-chain-spec = { workspace = true } @@ -64,2 +64,2 @@ sc-client-api = { path = "../api" } -sp-api = { path = "../../primitives/api" } -sc-client-db = { path = "../db", default-features = false } +sp-api = { workspace = true, default-features = true } +sc-client-db = { workspace = true } @@ -67,2 +67,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1" } -sc-executor = { path = "../executor" } -sc-transaction-pool = { path = "../transaction-pool" } +sc-executor = { workspace = true } +sc-transaction-pool = { workspace = true } @@ -71,5 +71,5 @@ sc-transaction-pool-api = { path = "../transaction-pool/api" } -sp-transaction-storage-proof = { path = "../../primitives/transaction-storage-proof" } -sc-rpc-server = { path = "../rpc-servers" } -sc-rpc = { path = "../rpc" } -sc-rpc-spec-v2 = { path = "../rpc-spec-v2" } -sc-informant = { path = "../informant" } +sp-transaction-storage-proof = { workspace = true, default-features = true } +sc-rpc-server = { workspace = true } +sc-rpc = { workspace = true } +sc-rpc-spec-v2 = { workspace = true } +sc-informant = { workspace = true } @@ -78,9 +78,9 @@ prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../.. -sc-tracing = { path = "../tracing" } -sc-sysinfo = { path = "../sysinfo" } -tracing = "0.1.29" -tracing-futures = { version = "0.2.4" } -async-trait = "0.1.74" -tokio = { version = "1.22.0", features = ["parking_lot", "rt-multi-thread", "time"] } -tempfile = "3.1.0" -directories = "5.0.1" -static_init = "1.0.3" +sc-tracing = { workspace = true } +sc-sysinfo = { workspace = true } +tracing = { workspace = true, default-features = true } +tracing-futures = { workspace = true } +async-trait = { workspace = true } +tokio = { features = ["parking_lot", "rt-multi-thread", "time"] , workspace = true, default-features = true } +tempfile = { workspace = true } +directories = { workspace = true } +static_init = { workspace = true } @@ -89,2 +89,2 @@ static_init = "1.0.3" -substrate-test-runtime-client = { path = "../../test-utils/runtime/client" } -substrate-test-runtime = { path = "../../test-utils/runtime" } +substrate-test-runtime-client = { workspace = true } +substrate-test-runtime = { workspace = true } diff --git substrate/client/service/test/Cargo.toml substrate/client/service/test/Cargo.toml index ee7e60f601..02c162af82 100644 --- substrate/client/service/test/Cargo.toml +++ substrate/client/service/test/Cargo.toml @@ -18,4 +18,4 @@ targets = ["x86_64-unknown-linux-gnu"] -async-channel = "1.8.0" -array-bytes = "6.1" -fdlimit = "0.3.0" -futures = "0.3.21" +async-channel = { workspace = true } +array-bytes = { workspace = true, default-features = true } +fdlimit = { workspace = true } +futures = { workspace = true } @@ -24,4 +24,4 @@ parity-scale-codec = "3.6.1" -parking_lot = "0.12.1" -tempfile = "3.1.0" -tokio = { version = "1.22.0", features = ["time"] } -sc-block-builder = { path = "../../block-builder" } +parking_lot = { workspace = true, default-features = true } +tempfile = { workspace = true } +tokio = { features = ["time"] , workspace = true, default-features = true } +sc-block-builder = { workspace = true } @@ -29,5 +29,5 @@ sc-client-api = { path = "../../api" } -sc-client-db = { path = "../../db", default-features = false } -sc-consensus = { path = "../../consensus/common" } -sc-executor = { path = "../../executor" } -sc-network = { path = "../../network" } -sc-network-sync = { path = "../../network/sync" } +sc-client-db = { workspace = true } +sc-consensus = { workspace = true } +sc-executor = { workspace = true } +sc-network = { workspace = true } +sc-network-sync = { workspace = true } @@ -36,2 +36,2 @@ sc-transaction-pool-api = { path = "../../transaction-pool/api" } -sp-api = { path = "../../../primitives/api" } -sp-blockchain = { path = "../../../primitives/blockchain" } +sp-api = { workspace = true, default-features = true } +sp-blockchain = { workspace = true } @@ -41,7 +41,7 @@ sp-runtime = { path = "../../../primitives/runtime" } -sp-state-machine = { path = "../../../primitives/state-machine" } -sp-storage = { path = "../../../primitives/storage" } -sp-tracing = { path = "../../../primitives/tracing" } -sp-trie = { path = "../../../primitives/trie" } -sp-io = { path = "../../../primitives/io" } -substrate-test-runtime = { path = "../../../test-utils/runtime" } -substrate-test-runtime-client = { path = "../../../test-utils/runtime/client" } +sp-state-machine = { workspace = true, default-features = true } +sp-storage = { workspace = true, default-features = true } +sp-tracing = { workspace = true, default-features = true } +sp-trie = { workspace = true, default-features = true } +sp-io = { workspace = true, default-features = true } +substrate-test-runtime = { workspace = true } +substrate-test-runtime-client = { workspace = true } diff --git substrate/client/state-db/Cargo.toml substrate/client/state-db/Cargo.toml index 400dda20c2..a14b53ec43 100644 --- substrate/client/state-db/Cargo.toml +++ substrate/client/state-db/Cargo.toml @@ -21 +21 @@ log = { workspace = true, default-features = true } -parking_lot = "0.12.1" +parking_lot = { workspace = true, default-features = true } diff --git substrate/client/statement-store/Cargo.toml substrate/client/statement-store/Cargo.toml index 676f6cb36f..095df5a743 100644 --- substrate/client/statement-store/Cargo.toml +++ substrate/client/statement-store/Cargo.toml @@ -20,4 +20,4 @@ log = { workspace = true, default-features = true } -parking_lot = "0.12.1" -parity-db = "0.4.12" -tokio = { version = "1.22.0", features = ["time"] } -sp-statement-store = { path = "../../primitives/statement-store" } +parking_lot = { workspace = true, default-features = true } +parity-db = { workspace = true } +tokio = { features = ["time"] , workspace = true, default-features = true } +sp-statement-store = { workspace = true, default-features = true } @@ -25,2 +25,2 @@ prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../.. -sp-api = { path = "../../primitives/api" } -sp-blockchain = { path = "../../primitives/blockchain" } +sp-api = { workspace = true, default-features = true } +sp-blockchain = { workspace = true } @@ -30 +30 @@ sc-client-api = { path = "../api" } -sc-keystore = { path = "../keystore" } +sc-keystore = { workspace = true, default-features = true } @@ -33,2 +33,2 @@ sc-keystore = { path = "../keystore" } -tempfile = "3.1.0" -env_logger = "0.9" +tempfile = { workspace = true } +env_logger = { workspace = true } diff --git substrate/client/storage-monitor/Cargo.toml substrate/client/storage-monitor/Cargo.toml index b2120b3efc..b08b939b8c 100644 --- substrate/client/storage-monitor/Cargo.toml +++ substrate/client/storage-monitor/Cargo.toml @@ -15 +15 @@ workspace = true -clap = { version = "4.5.1", features = ["derive", "string"] } +clap = { features = ["derive", "string"] , workspace = true } @@ -17 +17 @@ log = { workspace = true, default-features = true } -fs4 = "0.7.0" +fs4 = { workspace = true } @@ -19 +19 @@ sp-core = { path = "../../primitives/core" } -tokio = { version = "1.22.0", features = ["time"] } +tokio = { features = ["time"] , workspace = true, default-features = true } diff --git substrate/client/sync-state-rpc/Cargo.toml substrate/client/sync-state-rpc/Cargo.toml index 09dc611caa..bd499c5e50 100644 --- substrate/client/sync-state-rpc/Cargo.toml +++ substrate/client/sync-state-rpc/Cargo.toml @@ -19 +19 @@ codec = { package = "parity-scale-codec", version = "3.6.1" } -jsonrpsee = { version = "0.22", features = ["client-core", "macros", "server"] } +jsonrpsee = { features = ["client-core", "macros", "server"] , workspace = true } @@ -23 +23 @@ thiserror = { workspace = true } -sc-chain-spec = { path = "../chain-spec" } +sc-chain-spec = { workspace = true } @@ -26 +26 @@ sc-consensus-babe = { path = "../consensus/babe" } -sc-consensus-epochs = { path = "../consensus/epochs" } +sc-consensus-epochs = { workspace = true } @@ -28 +28 @@ sc-consensus-grandpa = { path = "../consensus/grandpa" } -sp-blockchain = { path = "../../primitives/blockchain" } +sp-blockchain = { workspace = true } diff --git substrate/client/sysinfo/Cargo.toml substrate/client/sysinfo/Cargo.toml index ba58452ffb..2699197516 100644 --- substrate/client/sysinfo/Cargo.toml +++ substrate/client/sysinfo/Cargo.toml @@ -20,2 +20,2 @@ targets = ["x86_64-unknown-linux-gnu"] -futures = "0.3.19" -libc = "0.2" +futures = { workspace = true } +libc = { workspace = true } @@ -23,4 +23,4 @@ log = { workspace = true, default-features = true } -rand = "0.8.5" -rand_pcg = "0.3.1" -derive_more = "0.99" -regex = "1" +rand = { workspace = true, default-features = true } +rand_pcg = { workspace = true } +derive_more = { workspace = true, default-features = true } +regex = { workspace = true } @@ -31,3 +31,3 @@ sp-core = { path = "../../primitives/core" } -sp-crypto-hashing = { path = "../../primitives/crypto/hashing" } -sp-io = { path = "../../primitives/io" } -sp-std = { path = "../../primitives/std" } +sp-crypto-hashing = { workspace = true, default-features = true } +sp-io = { workspace = true, default-features = true } +sp-std = { workspace = true, default-features = true } diff --git substrate/client/telemetry/Cargo.toml substrate/client/telemetry/Cargo.toml index 8ab00202f0..3a1ab18e13 100644 --- substrate/client/telemetry/Cargo.toml +++ substrate/client/telemetry/Cargo.toml @@ -20,3 +20,3 @@ targets = ["x86_64-unknown-linux-gnu"] -chrono = "0.4.31" -futures = "0.3.21" -libp2p = { version = "0.51.4", features = ["dns", "tcp", "tokio", "wasm-ext", "websocket"] } +chrono = { workspace = true } +futures = { workspace = true } +libp2p = { features = ["dns", "tcp", "tokio", "wasm-ext", "websocket"] , workspace = true } @@ -24,4 +24,4 @@ log = { workspace = true, default-features = true } -parking_lot = "0.12.1" -pin-project = "1.0.12" -sc-utils = { path = "../utils" } -rand = "0.8.5" +parking_lot = { workspace = true, default-features = true } +pin-project = { workspace = true } +sc-utils = { workspace = true } +rand = { workspace = true, default-features = true } @@ -31 +31 @@ thiserror = { workspace = true } -wasm-timer = "0.2.5" +wasm-timer = { workspace = true } diff --git substrate/client/tracing/Cargo.toml substrate/client/tracing/Cargo.toml index 61e6f7d0ba..16c76d7d0f 100644 --- substrate/client/tracing/Cargo.toml +++ substrate/client/tracing/Cargo.toml @@ -19,3 +19,3 @@ targets = ["x86_64-unknown-linux-gnu"] -ansi_term = "0.12.1" -is-terminal = "0.4.9" -chrono = "0.4.31" +ansi_term = { workspace = true } +is-terminal = { workspace = true } +chrono = { workspace = true } @@ -23,2 +23,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1" } -lazy_static = "1.4.0" -libc = "0.2.152" +lazy_static = { workspace = true } +libc = { workspace = true } @@ -26,3 +26,3 @@ log = { workspace = true, default-features = true } -parking_lot = "0.12.1" -regex = "1.6.0" -rustc-hash = "1.1.0" +parking_lot = { workspace = true, default-features = true } +regex = { workspace = true } +rustc-hash = { workspace = true } @@ -31,3 +31,3 @@ thiserror = { workspace = true } -tracing = "0.1.29" -tracing-log = "0.1.3" -tracing-subscriber = { version = "0.2.25", features = ["parking_lot"] } +tracing = { workspace = true, default-features = true } +tracing-log = { workspace = true } +tracing-subscriber = { features = ["parking_lot"] , workspace = true } @@ -35,3 +35,3 @@ sc-client-api = { path = "../api" } -sc-tracing-proc-macro = { path = "proc-macro" } -sp-api = { path = "../../primitives/api" } -sp-blockchain = { path = "../../primitives/blockchain" } +sc-tracing-proc-macro = { workspace = true } +sp-api = { workspace = true, default-features = true } +sp-blockchain = { workspace = true } @@ -39 +39 @@ sp-core = { path = "../../primitives/core" } -sp-rpc = { path = "../../primitives/rpc" } +sp-rpc = { workspace = true } @@ -41 +41 @@ sp-runtime = { path = "../../primitives/runtime" } -sp-tracing = { path = "../../primitives/tracing" } +sp-tracing = { workspace = true, default-features = true } @@ -44 +44 @@ sp-tracing = { path = "../../primitives/tracing" } -criterion = "0.4.0" +criterion = { workspace = true, default-features = true } diff --git substrate/client/tracing/proc-macro/Cargo.toml substrate/client/tracing/proc-macro/Cargo.toml index fec34aa0bc..9162bdc1ad 100644 --- substrate/client/tracing/proc-macro/Cargo.toml +++ substrate/client/tracing/proc-macro/Cargo.toml @@ -21,2 +21,2 @@ proc-macro = true -proc-macro-crate = "3.0.0" -proc-macro2 = "1.0.56" +proc-macro-crate = { workspace = true } +proc-macro2 = { workspace = true } diff --git substrate/client/transaction-pool/Cargo.toml substrate/client/transaction-pool/Cargo.toml index 2ca37afd61..03d844bcc4 100644 --- substrate/client/transaction-pool/Cargo.toml +++ substrate/client/transaction-pool/Cargo.toml @@ -19 +19 @@ targets = ["x86_64-unknown-linux-gnu"] -async-trait = "0.1.74" +async-trait = { workspace = true } @@ -21,3 +21,3 @@ codec = { package = "parity-scale-codec", version = "3.6.1" } -futures = "0.3.21" -futures-timer = "3.0.2" -linked-hash-map = "0.5.4" +futures = { workspace = true } +futures-timer = { workspace = true } +linked-hash-map = { workspace = true } @@ -25 +25 @@ log = { workspace = true, default-features = true } -parking_lot = "0.12.1" +parking_lot = { workspace = true, default-features = true } @@ -31,3 +31,3 @@ sc-transaction-pool-api = { path = "api" } -sc-utils = { path = "../utils" } -sp-api = { path = "../../primitives/api" } -sp-blockchain = { path = "../../primitives/blockchain" } +sc-utils = { workspace = true } +sp-api = { workspace = true, default-features = true } +sp-blockchain = { workspace = true } @@ -35 +35 @@ sp-core = { path = "../../primitives/core" } -sp-crypto-hashing = { path = "../../primitives/crypto/hashing" } +sp-crypto-hashing = { workspace = true, default-features = true } @@ -37 +37 @@ sp-runtime = { path = "../../primitives/runtime" } -sp-tracing = { path = "../../primitives/tracing" } +sp-tracing = { workspace = true, default-features = true } @@ -41,4 +41,4 @@ sp-transaction-pool = { path = "../../primitives/transaction-pool" } -array-bytes = "6.1" -assert_matches = "1.3.0" -criterion = "0.4.0" -sc-block-builder = { path = "../block-builder" } +array-bytes = { workspace = true, default-features = true } +assert_matches = { workspace = true } +criterion = { workspace = true, default-features = true } +sc-block-builder = { workspace = true } @@ -46,3 +46,3 @@ sp-consensus = { path = "../../primitives/consensus/common" } -substrate-test-runtime = { path = "../../test-utils/runtime" } -substrate-test-runtime-client = { path = "../../test-utils/runtime/client" } -substrate-test-runtime-transaction-pool = { path = "../../test-utils/runtime/transaction-pool" } +substrate-test-runtime = { workspace = true } +substrate-test-runtime-client = { workspace = true } +substrate-test-runtime-transaction-pool = { workspace = true } diff --git substrate/client/transaction-pool/api/Cargo.toml substrate/client/transaction-pool/api/Cargo.toml index d52e4783fa..7f0fa404ee 100644 --- substrate/client/transaction-pool/api/Cargo.toml +++ substrate/client/transaction-pool/api/Cargo.toml @@ -15 +15 @@ workspace = true -async-trait = "0.1.74" +async-trait = { workspace = true } @@ -17 +17 @@ codec = { package = "parity-scale-codec", version = "3.6.1" } -futures = "0.3.21" +futures = { workspace = true } @@ -21 +21 @@ thiserror = { workspace = true } -sp-blockchain = { path = "../../../primitives/blockchain" } +sp-blockchain = { workspace = true } diff --git substrate/client/utils/Cargo.toml substrate/client/utils/Cargo.toml index 7f604219bc..4053d77a13 100644 --- substrate/client/utils/Cargo.toml +++ substrate/client/utils/Cargo.toml @@ -16,4 +16,4 @@ workspace = true -async-channel = "1.8.0" -futures = "0.3.21" -futures-timer = "3.0.2" -lazy_static = "1.4.0" +async-channel = { workspace = true } +futures = { workspace = true } +futures-timer = { workspace = true } +lazy_static = { workspace = true } @@ -21,3 +21,3 @@ log = { workspace = true, default-features = true } -parking_lot = "0.12.1" -prometheus = { version = "0.13.0", default-features = false } -sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false } +parking_lot = { workspace = true, default-features = true } +prometheus = { workspace = true } +sp-arithmetic = { workspace = true } @@ -30 +30 @@ metered = [] -tokio-test = "0.4.2" +tokio-test = { workspace = true } diff --git substrate/deprecated/hashing/Cargo.toml substrate/deprecated/hashing/Cargo.toml index 8695ccc8fc..9db6cb6405 100644 --- substrate/deprecated/hashing/Cargo.toml +++ substrate/deprecated/hashing/Cargo.toml @@ -19 +19 @@ targets = ["x86_64-unknown-linux-gnu"] -sp-crypto-hashing = { path = "../../primitives/crypto/hashing" } +sp-crypto-hashing = { workspace = true, default-features = true } diff --git substrate/deprecated/hashing/proc-macro/Cargo.toml substrate/deprecated/hashing/proc-macro/Cargo.toml index aa78809241..676436a1a9 100644 --- substrate/deprecated/hashing/proc-macro/Cargo.toml +++ substrate/deprecated/hashing/proc-macro/Cargo.toml @@ -19 +19 @@ targets = ["x86_64-unknown-linux-gnu"] -sp-crypto-hashing-proc-macro = { path = "../../../primitives/crypto/hashing/proc-macro" } +sp-crypto-hashing-proc-macro = { workspace = true } diff --git substrate/frame/Cargo.toml substrate/frame/Cargo.toml index 3f148bf4c8..90ad807ec5 100644 --- substrate/frame/Cargo.toml +++ substrate/frame/Cargo.toml @@ -23 +23 @@ parity-scale-codec = { version = "3.2.2", default-features = false, features = [ -scale-info = { version = "2.6.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -27,2 +27,2 @@ sp-runtime = { default-features = false, path = "../primitives/runtime" } -sp-std = { default-features = false, path = "../primitives/std" } -sp-io = { default-features = false, path = "../primitives/io" } +sp-std = { workspace = true } +sp-io = { workspace = true } @@ -30 +30 @@ sp-core = { default-features = false, path = "../primitives/core" } -sp-arithmetic = { default-features = false, path = "../primitives/arithmetic" } +sp-arithmetic = { workspace = true } @@ -37,2 +37,2 @@ frame-system = { default-features = false, path = "system" } -sp-version = { default-features = false, path = "../primitives/version", optional = true } -sp-api = { default-features = false, path = "../primitives/api", optional = true } +sp-version = { optional = true , workspace = true } +sp-api = { optional = true , workspace = true } @@ -42,2 +42,2 @@ sp-offchain = { default-features = false, path = "../primitives/offchain", optio -sp-session = { default-features = false, path = "../primitives/session", optional = true } -sp-consensus-aura = { default-features = false, path = "../primitives/consensus/aura", optional = true } +sp-session = { optional = true , workspace = true } +sp-consensus-aura = { optional = true , workspace = true } @@ -47,2 +47,2 @@ sp-inherents = { default-features = false, path = "../primitives/inherents", opt -frame-executive = { default-features = false, path = "../frame/executive", optional = true } -frame-system-rpc-runtime-api = { default-features = false, path = "../frame/system/rpc/runtime-api", optional = true } +frame-executive = { optional = true , workspace = true } +frame-system-rpc-runtime-api = { optional = true , workspace = true } @@ -50 +50 @@ frame-system-rpc-runtime-api = { default-features = false, path = "../frame/syst -docify = "0.2.7" +docify = { workspace = true } @@ -54 +54 @@ log = { workspace = true } -pallet-examples = { path = "./examples" } +pallet-examples = { workspace = true } diff --git substrate/frame/alliance/Cargo.toml substrate/frame/alliance/Cargo.toml index bc873ad69c..d50e245029 100644 --- substrate/frame/alliance/Cargo.toml +++ substrate/frame/alliance/Cargo.toml @@ -19 +19 @@ targets = ["x86_64-unknown-linux-gnu"] -array-bytes = { version = "6.1", optional = true } +array-bytes = { optional = true , workspace = true, default-features = true } @@ -23 +23 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -25 +25 @@ scale-info = { version = "2.10.0", default-features = false, features = ["derive -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -27,2 +27,2 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-crypto-hashing = { path = "../../primitives/crypto/hashing", default-features = false, optional = true } -sp-io = { path = "../../primitives/io", default-features = false } +sp-crypto-hashing = { optional = true , workspace = true } +sp-io = { workspace = true } @@ -31 +31 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } @@ -35,2 +35,2 @@ frame-system = { path = "../system", default-features = false } -pallet-identity = { path = "../identity", default-features = false } -pallet-collective = { path = "../collective", default-features = false, optional = true } +pallet-identity = { workspace = true } +pallet-collective = { optional = true , workspace = true } @@ -39,4 +39,4 @@ pallet-collective = { path = "../collective", default-features = false, optional -array-bytes = "6.1" -sp-crypto-hashing = { path = "../../primitives/crypto/hashing", default-features = false } -pallet-balances = { path = "../balances" } -pallet-collective = { path = "../collective" } +array-bytes = { workspace = true, default-features = true } +sp-crypto-hashing = { workspace = true } +pallet-balances = { workspace = true, default-features = true } +pallet-collective = { workspace = true, default-features = true } diff --git substrate/frame/asset-conversion/Cargo.toml substrate/frame/asset-conversion/Cargo.toml index 1f2db14dac..24f26fb293 100644 --- substrate/frame/asset-conversion/Cargo.toml +++ substrate/frame/asset-conversion/Cargo.toml @@ -22,3 +22,3 @@ frame-system = { path = "../system", default-features = false } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -sp-api = { path = "../../primitives/api", default-features = false } +frame-benchmarking = { optional = true , workspace = true } +scale-info = { features = ["derive"] , workspace = true } +sp-api = { workspace = true } @@ -26,2 +26,2 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-io = { workspace = true } +sp-std = { workspace = true } @@ -29 +29 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false } +sp-arithmetic = { workspace = true } @@ -32,3 +32,3 @@ sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false -pallet-balances = { path = "../balances" } -pallet-assets = { path = "../assets" } -primitive-types = { version = "0.12.0", default-features = false, features = ["codec", "num-traits", "scale-info"] } +pallet-balances = { workspace = true, default-features = true } +pallet-assets = { workspace = true, default-features = true } +primitive-types = { features = ["codec", "num-traits", "scale-info"] , workspace = true } diff --git substrate/frame/asset-rate/Cargo.toml substrate/frame/asset-rate/Cargo.toml index 6e7bbf29fc..e01e08a113 100644 --- substrate/frame/asset-rate/Cargo.toml +++ substrate/frame/asset-rate/Cargo.toml @@ -21,2 +21,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +scale-info = { features = ["derive"] , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -26 +26 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -30,2 +30,2 @@ sp-core = { path = "../../primitives/core", default-features = false, optional = -pallet-balances = { path = "../balances" } -sp-io = { path = "../../primitives/io" } +pallet-balances = { workspace = true, default-features = true } +sp-io = { workspace = true, default-features = true } diff --git substrate/frame/assets/Cargo.toml substrate/frame/assets/Cargo.toml index 2efc96348c..4538491861 100644 --- substrate/frame/assets/Cargo.toml +++ substrate/frame/assets/Cargo.toml @@ -21,2 +21,2 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -sp-std = { path = "../../primitives/std", default-features = false } +scale-info = { features = ["derive"] , workspace = true } +sp-std = { workspace = true } @@ -29 +29 @@ frame-system = { path = "../system", default-features = false } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } @@ -33,3 +33,3 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-std = { path = "../../primitives/std" } -sp-io = { path = "../../primitives/io" } -pallet-balances = { path = "../balances" } +sp-std = { workspace = true, default-features = true } +sp-io = { workspace = true, default-features = true } +pallet-balances = { workspace = true, default-features = true } diff --git substrate/frame/atomic-swap/Cargo.toml substrate/frame/atomic-swap/Cargo.toml index 0283af1d1b..9aae7e4563 100644 --- substrate/frame/atomic-swap/Cargo.toml +++ substrate/frame/atomic-swap/Cargo.toml @@ -20 +20 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -24 +24 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -26 +26 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -29 +29 @@ sp-std = { path = "../../primitives/std", default-features = false } -pallet-balances = { path = "../balances" } +pallet-balances = { workspace = true, default-features = true } diff --git substrate/frame/aura/Cargo.toml substrate/frame/aura/Cargo.toml index de698487ef..9bb3224985 100644 --- substrate/frame/aura/Cargo.toml +++ substrate/frame/aura/Cargo.toml @@ -21 +21 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -24 +24 @@ frame-system = { path = "../system", default-features = false } -pallet-timestamp = { path = "../timestamp", default-features = false } +pallet-timestamp = { workspace = true } @@ -26 +26 @@ sp-application-crypto = { path = "../../primitives/application-crypto", default- -sp-consensus-aura = { path = "../../primitives/consensus/aura", default-features = false } +sp-consensus-aura = { workspace = true } @@ -28 +28 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -32 +32 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-io = { path = "../../primitives/io" } +sp-io = { workspace = true, default-features = true } diff --git substrate/frame/authority-discovery/Cargo.toml substrate/frame/authority-discovery/Cargo.toml index 0922007e57..3cd68e3702 100644 --- substrate/frame/authority-discovery/Cargo.toml +++ substrate/frame/authority-discovery/Cargo.toml @@ -22 +22 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -25 +25 @@ frame-system = { path = "../system", default-features = false } -pallet-session = { path = "../session", default-features = false, features = [ +pallet-session = { features = [ @@ -27 +27 @@ pallet-session = { path = "../session", default-features = false, features = [ -] } +] , workspace = true } @@ -31 +31 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -35 +35 @@ sp-core = { path = "../../primitives/core" } -sp-io = { path = "../../primitives/io" } +sp-io = { workspace = true, default-features = true } diff --git substrate/frame/authorship/Cargo.toml substrate/frame/authorship/Cargo.toml index 4b318f1251..bcd44d33c5 100644 --- substrate/frame/authorship/Cargo.toml +++ substrate/frame/authorship/Cargo.toml @@ -22,2 +22,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -impl-trait-for-tuples = "0.2.2" -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +impl-trait-for-tuples = { workspace = true } +scale-info = { features = ["derive"] , workspace = true } @@ -27 +27 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -31 +31 @@ sp-core = { path = "../../primitives/core" } -sp-io = { path = "../../primitives/io" } +sp-io = { workspace = true, default-features = true } diff --git substrate/frame/babe/Cargo.toml substrate/frame/babe/Cargo.toml index fc7385efa1..f7cff0ac5d 100644 --- substrate/frame/babe/Cargo.toml +++ substrate/frame/babe/Cargo.toml @@ -21,2 +21,2 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive", "serde"] } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +scale-info = { features = ["derive", "serde"] , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -25,3 +25,3 @@ frame-system = { path = "../system", default-features = false } -pallet-authorship = { path = "../authorship", default-features = false } -pallet-session = { path = "../session", default-features = false } -pallet-timestamp = { path = "../timestamp", default-features = false } +pallet-authorship = { workspace = true } +pallet-session = { workspace = true } +pallet-timestamp = { workspace = true } @@ -31 +31 @@ sp-core = { path = "../../primitives/core", default-features = false, features = -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -33,3 +33,3 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false, feat -sp-session = { path = "../../primitives/session", default-features = false } -sp-staking = { path = "../../primitives/staking", default-features = false, features = ["serde"] } -sp-std = { path = "../../primitives/std", default-features = false } +sp-session = { workspace = true } +sp-staking = { features = ["serde"] , workspace = true } +sp-std = { workspace = true } @@ -38,5 +38,5 @@ sp-std = { path = "../../primitives/std", default-features = false } -frame-election-provider-support = { path = "../election-provider-support" } -pallet-balances = { path = "../balances" } -pallet-offences = { path = "../offences" } -pallet-staking = { path = "../staking" } -pallet-staking-reward-curve = { path = "../staking/reward-curve" } +frame-election-provider-support = { workspace = true, default-features = true } +pallet-balances = { workspace = true, default-features = true } +pallet-offences = { workspace = true, default-features = true } +pallet-staking = { workspace = true, default-features = true } +pallet-staking-reward-curve = { workspace = true, default-features = true } diff --git substrate/frame/bags-list/Cargo.toml substrate/frame/bags-list/Cargo.toml index f9ae462e16..b4f0d56303 100644 --- substrate/frame/bags-list/Cargo.toml +++ substrate/frame/bags-list/Cargo.toml @@ -22 +22 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = [ +scale-info = { features = [ @@ -24 +24 @@ scale-info = { version = "2.10.0", default-features = false, features = [ -] } +] , workspace = true } @@ -28 +28 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -33 +33 @@ frame-system = { path = "../system", default-features = false } -frame-election-provider-support = { path = "../election-provider-support", default-features = false } +frame-election-provider-support = { workspace = true } @@ -37,2 +37,2 @@ log = { workspace = true } -docify = "0.2.7" -aquamarine = { version = "0.5.0" } +docify = { workspace = true } +aquamarine = { workspace = true } @@ -41,2 +41,2 @@ aquamarine = { version = "0.5.0" } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } -pallet-balances = { path = "../balances", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } +pallet-balances = { optional = true , workspace = true } @@ -44,2 +44,2 @@ sp-core = { path = "../../primitives/core", default-features = false, optional = -sp-io = { path = "../../primitives/io", default-features = false, optional = true } -sp-tracing = { path = "../../primitives/tracing", default-features = false, optional = true } +sp-io = { optional = true , workspace = true } +sp-tracing = { optional = true , workspace = true } @@ -49,5 +49,5 @@ sp-core = { path = "../../primitives/core" } -sp-io = { path = "../../primitives/io" } -sp-tracing = { path = "../../primitives/tracing" } -pallet-balances = { path = "../balances" } -frame-election-provider-support = { path = "../election-provider-support" } -frame-benchmarking = { path = "../benchmarking" } +sp-io = { workspace = true, default-features = true } +sp-tracing = { workspace = true, default-features = true } +pallet-balances = { workspace = true, default-features = true } +frame-election-provider-support = { workspace = true, default-features = true } +frame-benchmarking = { workspace = true, default-features = true } diff --git substrate/frame/bags-list/fuzzer/Cargo.toml substrate/frame/bags-list/fuzzer/Cargo.toml index 20760141b2..03249f6462 100644 --- substrate/frame/bags-list/fuzzer/Cargo.toml +++ substrate/frame/bags-list/fuzzer/Cargo.toml @@ -16,4 +16,4 @@ workspace = true -honggfuzz = "0.5" -rand = { version = "0.8", features = ["small_rng", "std"] } -frame-election-provider-support = { path = "../../election-provider-support", features = ["fuzz"] } -pallet-bags-list = { path = "..", features = ["fuzz"] } +honggfuzz = { workspace = true } +rand = { features = ["small_rng", "std"] , workspace = true, default-features = true } +frame-election-provider-support = { features = ["fuzz"] , workspace = true, default-features = true } +pallet-bags-list = { features = ["fuzz"] , workspace = true, default-features = true } diff --git substrate/frame/bags-list/remote-tests/Cargo.toml substrate/frame/bags-list/remote-tests/Cargo.toml index 266355f5ca..704da4d03d 100644 --- substrate/frame/bags-list/remote-tests/Cargo.toml +++ substrate/frame/bags-list/remote-tests/Cargo.toml @@ -20,3 +20,3 @@ targets = ["x86_64-unknown-linux-gnu"] -pallet-staking = { path = "../../staking" } -pallet-bags-list = { path = "..", features = ["fuzz"] } -frame-election-provider-support = { path = "../../election-provider-support" } +pallet-staking = { workspace = true, default-features = true } +pallet-bags-list = { features = ["fuzz"] , workspace = true, default-features = true } +frame-election-provider-support = { workspace = true, default-features = true } @@ -27 +27 @@ frame-support = { path = "../../support" } -sp-storage = { path = "../../../primitives/storage" } +sp-storage = { workspace = true, default-features = true } @@ -29 +29 @@ sp-core = { path = "../../../primitives/core" } -sp-tracing = { path = "../../../primitives/tracing" } +sp-tracing = { workspace = true, default-features = true } @@ -31 +31 @@ sp-runtime = { path = "../../../primitives/runtime" } -sp-std = { path = "../../../primitives/std" } +sp-std = { workspace = true, default-features = true } @@ -34 +34 @@ sp-std = { path = "../../../primitives/std" } -remote-externalities = { package = "frame-remote-externalities", path = "../../../utils/frame/remote-externalities" } +remote-externalities = { workspace = true } diff --git substrate/frame/balances/Cargo.toml substrate/frame/balances/Cargo.toml index 64ae90c675..bca2aab1af 100644 --- substrate/frame/balances/Cargo.toml +++ substrate/frame/balances/Cargo.toml @@ -21,2 +21,2 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +scale-info = { features = ["derive"] , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -26,2 +26,2 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } -docify = "0.2.6" +sp-std = { workspace = true } +docify = { workspace = true } @@ -30 +30 @@ docify = "0.2.6" -pallet-transaction-payment = { path = "../transaction-payment" } +pallet-transaction-payment = { workspace = true, default-features = true } @@ -32,2 +32,2 @@ sp-core = { path = "../../primitives/core" } -sp-io = { path = "../../primitives/io" } -paste = "1.0.12" +sp-io = { workspace = true, default-features = true } +paste = { workspace = true, default-features = true } diff --git substrate/frame/beefy-mmr/Cargo.toml substrate/frame/beefy-mmr/Cargo.toml index 1770773177..996cd46c1a 100644 --- substrate/frame/beefy-mmr/Cargo.toml +++ substrate/frame/beefy-mmr/Cargo.toml @@ -15 +15 @@ workspace = true -array-bytes = { version = "6.1", optional = true } +array-bytes = { optional = true , workspace = true, default-features = true } @@ -18 +18 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -20 +20 @@ serde = { optional = true, workspace = true, default-features = true } -binary-merkle-tree = { path = "../../utils/binary-merkle-tree", default-features = false } +binary-merkle-tree = { workspace = true } @@ -23,3 +23,3 @@ frame-system = { path = "../system", default-features = false } -pallet-beefy = { path = "../beefy", default-features = false } -pallet-mmr = { path = "../merkle-mountain-range", default-features = false } -pallet-session = { path = "../session", default-features = false } +pallet-beefy = { workspace = true } +pallet-mmr = { workspace = true } +pallet-session = { workspace = true } @@ -28 +28 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -30,3 +30,3 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } -sp-api = { path = "../../primitives/api", default-features = false } -sp-state-machine = { path = "../../primitives/state-machine", default-features = false } +sp-std = { workspace = true } +sp-api = { workspace = true } +sp-state-machine = { workspace = true } @@ -35,2 +35,2 @@ sp-state-machine = { path = "../../primitives/state-machine", default-features = -array-bytes = "6.1" -sp-staking = { path = "../../primitives/staking" } +array-bytes = { workspace = true, default-features = true } +sp-staking = { workspace = true, default-features = true } diff --git substrate/frame/beefy/Cargo.toml substrate/frame/beefy/Cargo.toml index e38eaa6fb0..4014dd29d8 100644 --- substrate/frame/beefy/Cargo.toml +++ substrate/frame/beefy/Cargo.toml @@ -17 +17 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive", "serde"] } +scale-info = { features = ["derive", "serde"] , workspace = true } @@ -21,2 +21,2 @@ frame-system = { path = "../system", default-features = false } -pallet-authorship = { path = "../authorship", default-features = false } -pallet-session = { path = "../session", default-features = false } +pallet-authorship = { workspace = true } +pallet-session = { workspace = true } @@ -25,3 +25,3 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false, feat -sp-session = { path = "../../primitives/session", default-features = false } -sp-staking = { path = "../../primitives/staking", default-features = false, features = ["serde"] } -sp-std = { path = "../../primitives/std", default-features = false } +sp-session = { workspace = true } +sp-staking = { features = ["serde"] , workspace = true } +sp-std = { workspace = true } @@ -30,6 +30,6 @@ sp-std = { path = "../../primitives/std", default-features = false } -frame-election-provider-support = { path = "../election-provider-support" } -pallet-balances = { path = "../balances" } -pallet-offences = { path = "../offences" } -pallet-staking = { path = "../staking" } -pallet-staking-reward-curve = { path = "../staking/reward-curve" } -pallet-timestamp = { path = "../timestamp" } +frame-election-provider-support = { workspace = true, default-features = true } +pallet-balances = { workspace = true, default-features = true } +pallet-offences = { workspace = true, default-features = true } +pallet-staking = { workspace = true, default-features = true } +pallet-staking-reward-curve = { workspace = true, default-features = true } +pallet-timestamp = { workspace = true, default-features = true } @@ -37,3 +37,3 @@ sp-core = { path = "../../primitives/core" } -sp-io = { path = "../../primitives/io" } -sp-staking = { path = "../../primitives/staking" } -sp-state-machine = { path = "../../primitives/state-machine", default-features = false } +sp-io = { workspace = true, default-features = true } +sp-staking = { workspace = true, default-features = true } +sp-state-machine = { workspace = true } diff --git substrate/frame/benchmarking/Cargo.toml substrate/frame/benchmarking/Cargo.toml index bf42aae979..eb02045fb0 100644 --- substrate/frame/benchmarking/Cargo.toml +++ substrate/frame/benchmarking/Cargo.toml @@ -20 +20 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -linregress = { version = "0.5.1", optional = true } +linregress = { optional = true , workspace = true } @@ -22,2 +22,2 @@ log = { workspace = true } -paste = "1.0" -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +paste = { workspace = true, default-features = true } +scale-info = { features = ["derive"] , workspace = true } @@ -26 +26 @@ frame-support = { path = "../support", default-features = false } -frame-support-procedural = { path = "../support/procedural", default-features = false } +frame-support-procedural = { workspace = true } @@ -28 +28 @@ frame-system = { path = "../system", default-features = false } -sp-api = { path = "../../primitives/api", default-features = false } +sp-api = { workspace = true } @@ -31 +31 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -33,4 +33,4 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-runtime-interface = { path = "../../primitives/runtime-interface", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } -sp-storage = { path = "../../primitives/storage", default-features = false } -static_assertions = "1.1.0" +sp-runtime-interface = { workspace = true } +sp-std = { workspace = true } +sp-storage = { workspace = true } +static_assertions = { workspace = true, default-features = true } @@ -39,3 +39,3 @@ static_assertions = "1.1.0" -array-bytes = "6.1" -rusty-fork = { version = "0.3.0", default-features = false } -sp-keystore = { path = "../../primitives/keystore" } +array-bytes = { workspace = true, default-features = true } +rusty-fork = { workspace = true } +sp-keystore = { workspace = true, default-features = true } diff --git substrate/frame/benchmarking/pov/Cargo.toml substrate/frame/benchmarking/pov/Cargo.toml index ce5daeb5b7..ea5704c6da 100644 --- substrate/frame/benchmarking/pov/Cargo.toml +++ substrate/frame/benchmarking/pov/Cargo.toml @@ -19,2 +19,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-benchmarking = { path = "..", default-features = false } +scale-info = { features = ["derive"] , workspace = true } +frame-benchmarking = { workspace = true } @@ -23 +23 @@ frame-system = { path = "../../system", default-features = false } -sp-io = { path = "../../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -25 +25 @@ sp-runtime = { path = "../../../primitives/runtime", default-features = false } -sp-std = { path = "../../../primitives/std", default-features = false } +sp-std = { workspace = true } diff --git substrate/frame/bounties/Cargo.toml substrate/frame/bounties/Cargo.toml index 191a38d20b..2f65f4e940 100644 --- substrate/frame/bounties/Cargo.toml +++ substrate/frame/bounties/Cargo.toml @@ -23,2 +23,2 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +scale-info = { features = ["derive"] , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -27 +27 @@ frame-system = { path = "../system", default-features = false } -pallet-treasury = { path = "../treasury", default-features = false } +pallet-treasury = { workspace = true } @@ -29 +29 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -31 +31 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -34 +34 @@ sp-std = { path = "../../primitives/std", default-features = false } -pallet-balances = { path = "../balances" } +pallet-balances = { workspace = true, default-features = true } diff --git substrate/frame/broker/Cargo.toml substrate/frame/broker/Cargo.toml index 31f9a6b631..32f05be6a9 100644 --- substrate/frame/broker/Cargo.toml +++ substrate/frame/broker/Cargo.toml @@ -19,4 +19,4 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -bitvec = { version = "1.0.0", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } -sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false } +scale-info = { features = ["derive"] , workspace = true } +bitvec = { workspace = true } +sp-std = { workspace = true } +sp-arithmetic = { workspace = true } @@ -25 +25 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } @@ -30 +30 @@ frame-system = { path = "../system", default-features = false } -sp-io = { path = "../../primitives/io" } +sp-io = { workspace = true, default-features = true } diff --git substrate/frame/child-bounties/Cargo.toml substrate/frame/child-bounties/Cargo.toml index 589ca95a75..4a39d9dc65 100644 --- substrate/frame/child-bounties/Cargo.toml +++ substrate/frame/child-bounties/Cargo.toml @@ -23,2 +23,2 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +scale-info = { features = ["derive"] , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -27,2 +27,2 @@ frame-system = { path = "../system", default-features = false } -pallet-bounties = { path = "../bounties", default-features = false } -pallet-treasury = { path = "../treasury", default-features = false } +pallet-bounties = { workspace = true } +pallet-treasury = { workspace = true } @@ -30 +30 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -32 +32 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -35 +35 @@ sp-std = { path = "../../primitives/std", default-features = false } -pallet-balances = { path = "../balances" } +pallet-balances = { workspace = true, default-features = true } diff --git substrate/frame/collective/Cargo.toml substrate/frame/collective/Cargo.toml index e19e1496e7..c401e0178b 100644 --- substrate/frame/collective/Cargo.toml +++ substrate/frame/collective/Cargo.toml @@ -21,2 +21,2 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +scale-info = { features = ["derive"] , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -26 +26 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -28 +28 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } diff --git substrate/frame/contracts/Cargo.toml substrate/frame/contracts/Cargo.toml index be3bafcd23..acbd4e6ce8 100644 --- substrate/frame/contracts/Cargo.toml +++ substrate/frame/contracts/Cargo.toml @@ -21 +21 @@ targets = ["x86_64-unknown-linux-gnu"] -bitflags = "1.3" +bitflags = { workspace = true } @@ -26 +26 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -29 +29 @@ serde = { optional = true, features = ["derive"], workspace = true, default-feat -smallvec = { version = "1", default-features = false, features = [ +smallvec = { features = [ @@ -31,3 +31,3 @@ smallvec = { version = "1", default-features = false, features = [ -] } -wasmi = { version = "0.31", default-features = false } -impl-trait-for-tuples = "0.2" +] , workspace = true } +wasmi = { workspace = true } +impl-trait-for-tuples = { workspace = true } @@ -36,3 +36,3 @@ impl-trait-for-tuples = "0.2" -wasm-instrument = { version = "0.4", optional = true, default-features = false } -rand = { version = "0.8", optional = true, default-features = false } -rand_pcg = { version = "0.3", optional = true } +wasm-instrument = { optional = true, workspace = true } +rand = { optional = true, workspace = true } +rand_pcg = { optional = true , workspace = true } @@ -41,2 +41,2 @@ rand_pcg = { version = "0.3", optional = true } -environmental = { version = "1.1.4", default-features = false } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +environmental = { workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -45,4 +45,4 @@ frame-system = { path = "../system", default-features = false } -pallet-balances = { path = "../balances", default-features = false, optional = true } -pallet-contracts-uapi = { path = "uapi" } -pallet-contracts-proc-macro = { path = "proc-macro" } -sp-api = { path = "../../primitives/api", default-features = false } +pallet-balances = { optional = true , workspace = true } +pallet-contracts-uapi = { workspace = true, default-features = true } +pallet-contracts-proc-macro = { workspace = true } +sp-api = { workspace = true } @@ -50 +50 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -52 +52 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -54,2 +54,2 @@ sp-std = { path = "../../primitives/std", default-features = false } -xcm = { package = "staging-xcm", path = "../../../polkadot/xcm", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../../../polkadot/xcm/xcm-builder", default-features = false } +xcm = { workspace = true } +xcm-builder = { workspace = true } @@ -58,6 +58,6 @@ xcm-builder = { package = "staging-xcm-builder", path = "../../../polkadot/xcm/x -array-bytes = "6.1" -assert_matches = "1" -env_logger = "0.9" -pretty_assertions = "1" -wat = "1" -pallet-contracts-fixtures = { path = "./fixtures" } +array-bytes = { workspace = true, default-features = true } +assert_matches = { workspace = true } +env_logger = { workspace = true } +pretty_assertions = { workspace = true } +wat = { workspace = true } +pallet-contracts-fixtures = { workspace = true } @@ -66 +66 @@ pallet-contracts-fixtures = { path = "./fixtures" } -xcm-builder = { package = "staging-xcm-builder", path = "../../../polkadot/xcm/xcm-builder" } +xcm-builder = { workspace = true, default-features = true } @@ -69,9 +69,9 @@ xcm-builder = { package = "staging-xcm-builder", path = "../../../polkadot/xcm/x -pallet-balances = { path = "../balances" } -pallet-timestamp = { path = "../timestamp" } -pallet-message-queue = { path = "../message-queue" } -pallet-insecure-randomness-collective-flip = { path = "../insecure-randomness-collective-flip" } -pallet-utility = { path = "../utility" } -pallet-assets = { path = "../assets" } -pallet-proxy = { path = "../proxy" } -sp-keystore = { path = "../../primitives/keystore" } -sp-tracing = { path = "../../primitives/tracing" } +pallet-balances = { workspace = true, default-features = true } +pallet-timestamp = { workspace = true, default-features = true } +pallet-message-queue = { workspace = true, default-features = true } +pallet-insecure-randomness-collective-flip = { workspace = true, default-features = true } +pallet-utility = { workspace = true, default-features = true } +pallet-assets = { workspace = true, default-features = true } +pallet-proxy = { workspace = true, default-features = true } +sp-keystore = { workspace = true, default-features = true } +sp-tracing = { workspace = true, default-features = true } diff --git substrate/frame/contracts/fixtures/Cargo.toml substrate/frame/contracts/fixtures/Cargo.toml index 7fdf56a91f..aa55e081f9 100644 --- substrate/frame/contracts/fixtures/Cargo.toml +++ substrate/frame/contracts/fixtures/Cargo.toml @@ -14 +14 @@ workspace = true -wat = "1" +wat = { workspace = true } @@ -17 +17 @@ sp-runtime = { path = "../../../primitives/runtime" } -anyhow = "1.0.0" +anyhow = { workspace = true } @@ -20,4 +20,4 @@ anyhow = "1.0.0" -parity-wasm = "0.45.0" -tempfile = "3.8.1" -toml = "0.8.2" -twox-hash = "1.6.3" +parity-wasm = { workspace = true } +tempfile = { workspace = true } +toml = { workspace = true } +twox-hash = { workspace = true, default-features = true } @@ -25 +25 @@ polkavm-linker = { version = "0.5.0", optional = true } -anyhow = "1.0.0" +anyhow = { workspace = true } diff --git substrate/frame/contracts/mock-network/Cargo.toml substrate/frame/contracts/mock-network/Cargo.toml index 0c4cd1356f..d7aa08839f 100644 --- substrate/frame/contracts/mock-network/Cargo.toml +++ substrate/frame/contracts/mock-network/Cargo.toml @@ -19,11 +19,11 @@ frame-system = { path = "../../system", default-features = false } -pallet-assets = { path = "../../assets" } -pallet-balances = { path = "../../balances" } -pallet-contracts = { path = ".." } -pallet-contracts-uapi = { path = "../uapi", default-features = false } -pallet-contracts-proc-macro = { path = "../proc-macro" } -pallet-insecure-randomness-collective-flip = { path = "../../insecure-randomness-collective-flip" } -pallet-message-queue = { path = "../../message-queue" } -pallet-proxy = { path = "../../proxy" } -pallet-timestamp = { path = "../../timestamp" } -pallet-utility = { path = "../../utility" } -pallet-xcm = { path = "../../../../polkadot/xcm/pallet-xcm", default-features = false } +pallet-assets = { workspace = true, default-features = true } +pallet-balances = { workspace = true, default-features = true } +pallet-contracts = { workspace = true, default-features = true } +pallet-contracts-uapi = { workspace = true } +pallet-contracts-proc-macro = { workspace = true } +pallet-insecure-randomness-collective-flip = { workspace = true, default-features = true } +pallet-message-queue = { workspace = true, default-features = true } +pallet-proxy = { workspace = true, default-features = true } +pallet-timestamp = { workspace = true, default-features = true } +pallet-utility = { workspace = true, default-features = true } +pallet-xcm = { workspace = true } @@ -33,2 +33,2 @@ polkadot-runtime-parachains = { path = "../../../../polkadot/runtime/parachains" -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -sp-api = { path = "../../../primitives/api", default-features = false } +scale-info = { features = ["derive"] , workspace = true } +sp-api = { workspace = true } @@ -36,2 +36,2 @@ sp-core = { path = "../../../primitives/core", default-features = false } -sp-io = { path = "../../../primitives/io", default-features = false } -sp-keystore = { path = "../../../primitives/keystore" } +sp-io = { workspace = true } +sp-keystore = { workspace = true, default-features = true } @@ -39,6 +39,6 @@ sp-runtime = { path = "../../../primitives/runtime", default-features = false } -sp-std = { path = "../../../primitives/std", default-features = false } -sp-tracing = { path = "../../../primitives/tracing" } -xcm = { package = "staging-xcm", path = "../../../../polkadot/xcm", default-features = false } -xcm-builder = { package = "staging-xcm-builder", path = "../../../../polkadot/xcm/xcm-builder" } -xcm-executor = { package = "staging-xcm-executor", path = "../../../../polkadot/xcm/xcm-executor", default-features = false } -xcm-simulator = { path = "../../../../polkadot/xcm/xcm-simulator" } +sp-std = { workspace = true } +sp-tracing = { workspace = true, default-features = true } +xcm = { workspace = true } +xcm-builder = { workspace = true, default-features = true } +xcm-executor = { workspace = true } +xcm-simulator = { workspace = true } @@ -47,3 +47,3 @@ xcm-simulator = { path = "../../../../polkadot/xcm/xcm-simulator" } -assert_matches = "1" -pretty_assertions = "1" -pallet-contracts-fixtures = { path = "../fixtures" } +assert_matches = { workspace = true } +pretty_assertions = { workspace = true } +pallet-contracts-fixtures = { workspace = true } diff --git substrate/frame/contracts/proc-macro/Cargo.toml substrate/frame/contracts/proc-macro/Cargo.toml index 4080cd0442..3651b172d7 100644 --- substrate/frame/contracts/proc-macro/Cargo.toml +++ substrate/frame/contracts/proc-macro/Cargo.toml @@ -21 +21 @@ proc-macro = true -proc-macro2 = "1.0.56" +proc-macro2 = { workspace = true } diff --git substrate/frame/contracts/uapi/Cargo.toml substrate/frame/contracts/uapi/Cargo.toml index a5081af2a2..d098f5ed00 100644 --- substrate/frame/contracts/uapi/Cargo.toml +++ substrate/frame/contracts/uapi/Cargo.toml @@ -15,3 +15,3 @@ workspace = true -paste = { version = "1.0", default-features = false } -bitflags = "1.0" -scale-info = { version = "2.10.0", default-features = false, features = ["derive"], optional = true } +paste = { workspace = true } +bitflags = { workspace = true } +scale-info = { features = ["derive"], optional = true , workspace = true } diff --git substrate/frame/conviction-voting/Cargo.toml substrate/frame/conviction-voting/Cargo.toml index ff5af99502..2e68429b3b 100644 --- substrate/frame/conviction-voting/Cargo.toml +++ substrate/frame/conviction-voting/Cargo.toml @@ -19 +19 @@ targets = ["x86_64-unknown-linux-gnu"] -assert_matches = "1.3.0" +assert_matches = { workspace = true } @@ -24 +24 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -26 +26 @@ serde = { features = ["derive"], optional = true, workspace = true, default-feat -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } @@ -29 +29 @@ frame-system = { path = "../system", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -31 +31 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -34,2 +34,2 @@ sp-std = { path = "../../primitives/std", default-features = false } -pallet-balances = { path = "../balances" } -pallet-scheduler = { path = "../scheduler" } +pallet-balances = { workspace = true, default-features = true } +pallet-scheduler = { workspace = true, default-features = true } diff --git substrate/frame/core-fellowship/Cargo.toml substrate/frame/core-fellowship/Cargo.toml index 3e678d3274..42d388b3da 100644 --- substrate/frame/core-fellowship/Cargo.toml +++ substrate/frame/core-fellowship/Cargo.toml @@ -21,2 +21,2 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +scale-info = { features = ["derive"] , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -25 +25 @@ frame-system = { path = "../system", default-features = false } -sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false } +sp-arithmetic = { workspace = true } @@ -27 +27 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -29,2 +29,2 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } -pallet-ranked-collective = { path = "../ranked-collective", default-features = false, optional = true } +sp-std = { workspace = true } +pallet-ranked-collective = { optional = true , workspace = true } diff --git substrate/frame/democracy/Cargo.toml substrate/frame/democracy/Cargo.toml index 9a55cda534..b685567713 100644 --- substrate/frame/democracy/Cargo.toml +++ substrate/frame/democracy/Cargo.toml @@ -22 +22 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -24 +24 @@ serde = { features = ["derive"], optional = true, workspace = true, default-feat -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } @@ -27 +27 @@ frame-system = { path = "../system", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -29 +29 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -34,3 +34,3 @@ log = { workspace = true } -pallet-balances = { path = "../balances" } -pallet-scheduler = { path = "../scheduler" } -pallet-preimage = { path = "../preimage" } +pallet-balances = { workspace = true, default-features = true } +pallet-scheduler = { workspace = true, default-features = true } +pallet-preimage = { workspace = true, default-features = true } diff --git substrate/frame/election-provider-multi-phase/Cargo.toml substrate/frame/election-provider-multi-phase/Cargo.toml index eadce8c1ff..c766d83d19 100644 --- substrate/frame/election-provider-multi-phase/Cargo.toml +++ substrate/frame/election-provider-multi-phase/Cargo.toml @@ -21 +21 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = [ +scale-info = { features = [ @@ -23 +23 @@ scale-info = { version = "2.10.0", default-features = false, features = [ -] } +] , workspace = true } @@ -29,2 +29,2 @@ frame-system = { path = "../system", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-io = { workspace = true } +sp-std = { workspace = true } @@ -33,3 +33,3 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-npos-elections = { path = "../../primitives/npos-elections", default-features = false } -sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false } -frame-election-provider-support = { path = "../election-provider-support", default-features = false } +sp-npos-elections = { workspace = true } +sp-arithmetic = { workspace = true } +frame-election-provider-support = { workspace = true } @@ -38,4 +38,4 @@ frame-election-provider-support = { path = "../election-provider-support", defau -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } -pallet-election-provider-support-benchmarking = { path = "../election-provider-support/benchmarking", default-features = false, optional = true } -rand = { version = "0.8.5", default-features = false, features = ["alloc", "small_rng"], optional = true } -strum = { version = "0.24.1", default-features = false, features = ["derive"], optional = true } +frame-benchmarking = { optional = true , workspace = true } +pallet-election-provider-support-benchmarking = { optional = true , workspace = true } +rand = { features = ["alloc", "small_rng"], optional = true , workspace = true } +strum = { features = ["derive"], optional = true , workspace = true } @@ -44,2 +44,2 @@ strum = { version = "0.24.1", default-features = false, features = ["derive"], o -parking_lot = "0.12.1" -rand = "0.8.5" +parking_lot = { workspace = true, default-features = true } +rand = { workspace = true, default-features = true } @@ -47,5 +47,5 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-io = { path = "../../primitives/io" } -sp-npos-elections = { path = "../../primitives/npos-elections", default-features = false } -sp-tracing = { path = "../../primitives/tracing" } -pallet-balances = { path = "../balances" } -frame-benchmarking = { path = "../benchmarking" } +sp-io = { workspace = true, default-features = true } +sp-npos-elections = { workspace = true } +sp-tracing = { workspace = true, default-features = true } +pallet-balances = { workspace = true, default-features = true } +frame-benchmarking = { workspace = true, default-features = true } diff --git substrate/frame/election-provider-multi-phase/test-staking-e2e/Cargo.toml substrate/frame/election-provider-multi-phase/test-staking-e2e/Cargo.toml index e6384450a6..8f64dda50e 100644 --- substrate/frame/election-provider-multi-phase/test-staking-e2e/Cargo.toml +++ substrate/frame/election-provider-multi-phase/test-staking-e2e/Cargo.toml @@ -19 +19 @@ targets = ["x86_64-unknown-linux-gnu"] -parking_lot = "0.12.1" +parking_lot = { workspace = true, default-features = true } @@ -21 +21 @@ codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive -scale-info = { version = "2.10.0", features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true, default-features = true } @@ -25,3 +25,3 @@ sp-runtime = { path = "../../../primitives/runtime" } -sp-io = { path = "../../../primitives/io" } -sp-std = { path = "../../../primitives/std" } -sp-staking = { path = "../../../primitives/staking" } +sp-io = { workspace = true, default-features = true } +sp-std = { workspace = true, default-features = true } +sp-staking = { workspace = true, default-features = true } @@ -29,2 +29,2 @@ sp-core = { path = "../../../primitives/core" } -sp-npos-elections = { path = "../../../primitives/npos-elections", default-features = false } -sp-tracing = { path = "../../../primitives/tracing" } +sp-npos-elections = { workspace = true } +sp-tracing = { workspace = true, default-features = true } @@ -34 +34 @@ frame-support = { path = "../../support" } -frame-election-provider-support = { path = "../../election-provider-support" } +frame-election-provider-support = { workspace = true, default-features = true } @@ -36,7 +36,7 @@ frame-election-provider-support = { path = "../../election-provider-support" } -pallet-election-provider-multi-phase = { path = ".." } -pallet-staking = { path = "../../staking" } -pallet-nomination-pools = { path = "../../nomination-pools" } -pallet-bags-list = { path = "../../bags-list" } -pallet-balances = { path = "../../balances" } -pallet-timestamp = { path = "../../timestamp" } -pallet-session = { path = "../../session" } +pallet-election-provider-multi-phase = { workspace = true, default-features = true } +pallet-staking = { workspace = true, default-features = true } +pallet-nomination-pools = { workspace = true, default-features = true } +pallet-bags-list = { workspace = true, default-features = true } +pallet-balances = { workspace = true, default-features = true } +pallet-timestamp = { workspace = true, default-features = true } +pallet-session = { workspace = true, default-features = true } diff --git substrate/frame/election-provider-support/Cargo.toml substrate/frame/election-provider-support/Cargo.toml index b182b831ea..f6a4916631 100644 --- substrate/frame/election-provider-support/Cargo.toml +++ substrate/frame/election-provider-support/Cargo.toml @@ -19,2 +19,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-election-provider-solution-type = { path = "solution-type" } +scale-info = { features = ["derive"] , workspace = true } +frame-election-provider-solution-type = { workspace = true } @@ -23,2 +23,2 @@ frame-system = { path = "../system", default-features = false } -sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false } -sp-npos-elections = { path = "../../primitives/npos-elections", default-features = false } +sp-arithmetic = { workspace = true } +sp-npos-elections = { workspace = true } @@ -26 +26 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -30,3 +30,3 @@ sp-core = { path = "../../primitives/core", default-features = false } -rand = { version = "0.8.5", features = ["small_rng"] } -sp-io = { path = "../../primitives/io" } -sp-npos-elections = { path = "../../primitives/npos-elections" } +rand = { features = ["small_rng"] , workspace = true, default-features = true } +sp-io = { workspace = true, default-features = true } +sp-npos-elections = { workspace = true, default-features = true } diff --git substrate/frame/election-provider-support/benchmarking/Cargo.toml substrate/frame/election-provider-support/benchmarking/Cargo.toml index 6e13f17bec..ecf6210823 100644 --- substrate/frame/election-provider-support/benchmarking/Cargo.toml +++ substrate/frame/election-provider-support/benchmarking/Cargo.toml @@ -21,2 +21,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -frame-benchmarking = { path = "../../benchmarking", default-features = false, optional = true } -frame-election-provider-support = { path = "..", default-features = false } +frame-benchmarking = { optional = true , workspace = true } +frame-election-provider-support = { workspace = true } @@ -24 +24 @@ frame-system = { path = "../../system", default-features = false } -sp-npos-elections = { path = "../../../primitives/npos-elections", default-features = false } +sp-npos-elections = { workspace = true } @@ -26 +26 @@ sp-runtime = { path = "../../../primitives/runtime", default-features = false } -sp-std = { path = "../../../primitives/std", default-features = false } +sp-std = { workspace = true } diff --git substrate/frame/election-provider-support/solution-type/Cargo.toml substrate/frame/election-provider-support/solution-type/Cargo.toml index 1bf1165229..82f140b4cf 100644 --- substrate/frame/election-provider-support/solution-type/Cargo.toml +++ substrate/frame/election-provider-support/solution-type/Cargo.toml @@ -23,2 +23,2 @@ quote = { workspace = true } -proc-macro2 = "1.0.56" -proc-macro-crate = "3.0.0" +proc-macro2 = { workspace = true } +proc-macro-crate = { workspace = true } @@ -28,2 +28,2 @@ parity-scale-codec = "3.6.1" -scale-info = "2.10.0" -sp-arithmetic = { path = "../../../primitives/arithmetic" } +scale-info = { workspace = true, default-features = true } +sp-arithmetic = { workspace = true, default-features = true } @@ -31 +31 @@ sp-arithmetic = { path = "../../../primitives/arithmetic" } -frame-election-provider-support = { path = ".." } +frame-election-provider-support = { workspace = true, default-features = true } @@ -33 +33 @@ frame-support = { path = "../../support" } -trybuild = "1.0.88" +trybuild = { workspace = true } diff --git substrate/frame/election-provider-support/solution-type/fuzzer/Cargo.toml substrate/frame/election-provider-support/solution-type/fuzzer/Cargo.toml index 8a73dd38fa..52992dfbe0 100644 --- substrate/frame/election-provider-support/solution-type/fuzzer/Cargo.toml +++ substrate/frame/election-provider-support/solution-type/fuzzer/Cargo.toml @@ -19,3 +19,3 @@ targets = ["x86_64-unknown-linux-gnu"] -clap = { version = "4.5.1", features = ["derive"] } -honggfuzz = "0.5" -rand = { version = "0.8", features = ["small_rng", "std"] } +clap = { features = ["derive"] , workspace = true } +honggfuzz = { workspace = true } +rand = { features = ["small_rng", "std"] , workspace = true, default-features = true } @@ -24,4 +24,4 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-election-provider-solution-type = { path = ".." } -frame-election-provider-support = { path = "../.." } -sp-arithmetic = { path = "../../../../primitives/arithmetic" } +scale-info = { features = ["derive"] , workspace = true } +frame-election-provider-solution-type = { workspace = true } +frame-election-provider-support = { workspace = true, default-features = true } +sp-arithmetic = { workspace = true, default-features = true } @@ -30 +30 @@ sp-runtime = { path = "../../../../primitives/runtime" } -sp-npos-elections = { path = "../../../../primitives/npos-elections", default-features = false } +sp-npos-elections = { workspace = true } diff --git substrate/frame/elections-phragmen/Cargo.toml substrate/frame/elections-phragmen/Cargo.toml index 4dc4a3454a..8abff499b3 100644 --- substrate/frame/elections-phragmen/Cargo.toml +++ substrate/frame/elections-phragmen/Cargo.toml @@ -23,2 +23,2 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +scale-info = { features = ["derive"] , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -28,2 +28,2 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } -sp-npos-elections = { path = "../../primitives/npos-elections", default-features = false } +sp-io = { workspace = true } +sp-npos-elections = { workspace = true } @@ -31,2 +31,2 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } -sp-staking = { path = "../../primitives/staking", default-features = false } +sp-std = { workspace = true } +sp-staking = { workspace = true } @@ -35 +35 @@ sp-staking = { path = "../../primitives/staking", default-features = false } -pallet-balances = { path = "../balances" } +pallet-balances = { workspace = true, default-features = true } @@ -37,2 +37,2 @@ sp-core = { path = "../../primitives/core" } -sp-tracing = { path = "../../primitives/tracing" } -substrate-test-utils = { path = "../../test-utils" } +sp-tracing = { workspace = true, default-features = true } +substrate-test-utils = { workspace = true } diff --git substrate/frame/examples/Cargo.toml substrate/frame/examples/Cargo.toml index eb6355edd3..237a664afa 100644 --- substrate/frame/examples/Cargo.toml +++ substrate/frame/examples/Cargo.toml @@ -19,8 +19,8 @@ targets = ["x86_64-unknown-linux-gnu"] -pallet-default-config-example = { path = "default-config", default-features = false } -pallet-dev-mode = { path = "dev-mode", default-features = false } -pallet-example-basic = { path = "basic", default-features = false } -pallet-example-frame-crate = { path = "frame-crate", default-features = false } -pallet-example-kitchensink = { path = "kitchensink", default-features = false } -pallet-example-offchain-worker = { path = "offchain-worker", default-features = false } -pallet-example-split = { path = "split", default-features = false } -pallet-example-tasks = { path = "tasks", default-features = false } +pallet-default-config-example = { workspace = true } +pallet-dev-mode = { workspace = true } +pallet-example-basic = { workspace = true } +pallet-example-frame-crate = { workspace = true } +pallet-example-kitchensink = { workspace = true } +pallet-example-offchain-worker = { workspace = true } +pallet-example-split = { workspace = true } +pallet-example-tasks = { workspace = true } diff --git substrate/frame/examples/basic/Cargo.toml substrate/frame/examples/basic/Cargo.toml index e4ab511220..2830e2facd 100644 --- substrate/frame/examples/basic/Cargo.toml +++ substrate/frame/examples/basic/Cargo.toml @@ -21,2 +21,2 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-benchmarking = { path = "../../benchmarking", default-features = false, optional = true } +scale-info = { features = ["derive"] , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -25,2 +25,2 @@ frame-system = { path = "../../system", default-features = false } -pallet-balances = { path = "../../balances", default-features = false } -sp-io = { path = "../../../primitives/io", default-features = false } +pallet-balances = { workspace = true } +sp-io = { workspace = true } @@ -28 +28 @@ sp-runtime = { path = "../../../primitives/runtime", default-features = false } -sp-std = { path = "../../../primitives/std", default-features = false } +sp-std = { workspace = true } diff --git substrate/frame/examples/default-config/Cargo.toml substrate/frame/examples/default-config/Cargo.toml index e40845a425..aea6dd41e7 100644 --- substrate/frame/examples/default-config/Cargo.toml +++ substrate/frame/examples/default-config/Cargo.toml @@ -21 +21 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -25 +25 @@ frame-system = { path = "../../system", default-features = false } -sp-io = { path = "../../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -27 +27 @@ sp-runtime = { path = "../../../primitives/runtime", default-features = false } -sp-std = { path = "../../../primitives/std", default-features = false } +sp-std = { workspace = true } diff --git substrate/frame/examples/dev-mode/Cargo.toml substrate/frame/examples/dev-mode/Cargo.toml index a9c4e3f3b1..fcca50de6d 100644 --- substrate/frame/examples/dev-mode/Cargo.toml +++ substrate/frame/examples/dev-mode/Cargo.toml @@ -21 +21 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -24,2 +24,2 @@ frame-system = { path = "../../system", default-features = false } -pallet-balances = { path = "../../balances", default-features = false } -sp-io = { path = "../../../primitives/io", default-features = false } +pallet-balances = { workspace = true } +sp-io = { workspace = true } @@ -27 +27 @@ sp-runtime = { path = "../../../primitives/runtime", default-features = false } -sp-std = { path = "../../../primitives/std", default-features = false } +sp-std = { workspace = true } diff --git substrate/frame/examples/frame-crate/Cargo.toml substrate/frame/examples/frame-crate/Cargo.toml index 93a46ba7b2..b27214a6da 100644 --- substrate/frame/examples/frame-crate/Cargo.toml +++ substrate/frame/examples/frame-crate/Cargo.toml @@ -20 +20 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -22 +22 @@ scale-info = { version = "2.5.0", default-features = false, features = ["derive" -frame = { path = "../..", default-features = false, features = ["experimental", "runtime"] } +frame = { features = ["experimental", "runtime"] , workspace = true } diff --git substrate/frame/examples/kitchensink/Cargo.toml substrate/frame/examples/kitchensink/Cargo.toml index 3738410753..f3d9618697 100644 --- substrate/frame/examples/kitchensink/Cargo.toml +++ substrate/frame/examples/kitchensink/Cargo.toml @@ -21 +21 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -26 +26 @@ frame-system = { path = "../../system", default-features = false } -sp-io = { path = "../../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -28 +28 @@ sp-runtime = { path = "../../../primitives/runtime", default-features = false } -sp-std = { path = "../../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -30 +30 @@ sp-std = { path = "../../../primitives/std", default-features = false } -frame-benchmarking = { path = "../../benchmarking", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } @@ -32 +32 @@ frame-benchmarking = { path = "../../benchmarking", default-features = false, op -pallet-balances = { path = "../../balances", default-features = false } +pallet-balances = { workspace = true } diff --git substrate/frame/examples/offchain-worker/Cargo.toml substrate/frame/examples/offchain-worker/Cargo.toml index fc5151ff29..d3d9c956fa 100644 --- substrate/frame/examples/offchain-worker/Cargo.toml +++ substrate/frame/examples/offchain-worker/Cargo.toml @@ -20 +20 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -lite-json = { version = "0.2.0", default-features = false } +lite-json = { workspace = true } @@ -22 +22 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -26,2 +26,2 @@ sp-core = { path = "../../../primitives/core", default-features = false } -sp-io = { path = "../../../primitives/io", default-features = false } -sp-keystore = { path = "../../../primitives/keystore", optional = true } +sp-io = { workspace = true } +sp-keystore = { optional = true , workspace = true, default-features = true } @@ -29 +29 @@ sp-runtime = { path = "../../../primitives/runtime", default-features = false } -sp-std = { path = "../../../primitives/std", default-features = false } +sp-std = { workspace = true } diff --git substrate/frame/examples/split/Cargo.toml substrate/frame/examples/split/Cargo.toml index d140fc3eef..9790af6979 100644 --- substrate/frame/examples/split/Cargo.toml +++ substrate/frame/examples/split/Cargo.toml @@ -21 +21 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -26,2 +26,2 @@ frame-system = { path = "../../system", default-features = false } -sp-io = { path = "../../../primitives/io", default-features = false } -sp-std = { path = "../../../primitives/std", default-features = false } +sp-io = { workspace = true } +sp-std = { workspace = true } @@ -29 +29 @@ sp-std = { path = "../../../primitives/std", default-features = false } -frame-benchmarking = { path = "../../benchmarking", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } diff --git substrate/frame/examples/tasks/Cargo.toml substrate/frame/examples/tasks/Cargo.toml index 4152111436..d291231a57 100644 --- substrate/frame/examples/tasks/Cargo.toml +++ substrate/frame/examples/tasks/Cargo.toml @@ -19 +19 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -24 +24 @@ frame-system = { path = "../../system", default-features = false } -sp-io = { path = "../../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -26 +26 @@ sp-runtime = { path = "../../../primitives/runtime", default-features = false } -sp-std = { path = "../../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -29 +29 @@ sp-core = { default-features = false, path = "../../../primitives/core" } -frame-benchmarking = { path = "../../benchmarking", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } diff --git substrate/frame/executive/Cargo.toml substrate/frame/executive/Cargo.toml index a4ca265f61..9fb7efd801 100644 --- substrate/frame/executive/Cargo.toml +++ substrate/frame/executive/Cargo.toml @@ -23 +23 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -26 +26 @@ frame-system = { path = "../system", default-features = false } -frame-try-runtime = { path = "../try-runtime", default-features = false, optional = true } +frame-try-runtime = { optional = true , workspace = true } @@ -28 +28 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -30,2 +30,2 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } -sp-tracing = { path = "../../primitives/tracing", default-features = false } +sp-std = { workspace = true } +sp-tracing = { workspace = true } @@ -34,3 +34,3 @@ sp-tracing = { path = "../../primitives/tracing", default-features = false } -array-bytes = "6.1" -pallet-balances = { path = "../balances" } -pallet-transaction-payment = { path = "../transaction-payment" } +array-bytes = { workspace = true, default-features = true } +pallet-balances = { workspace = true, default-features = true } +pallet-transaction-payment = { workspace = true, default-features = true } @@ -39,2 +39,2 @@ sp-inherents = { path = "../../primitives/inherents" } -sp-io = { path = "../../primitives/io" } -sp-version = { path = "../../primitives/version" } +sp-io = { workspace = true, default-features = true } +sp-version = { workspace = true, default-features = true } diff --git substrate/frame/fast-unstake/Cargo.toml substrate/frame/fast-unstake/Cargo.toml index eca8247845..2ec592b6e3 100644 --- substrate/frame/fast-unstake/Cargo.toml +++ substrate/frame/fast-unstake/Cargo.toml @@ -20 +20 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -25 +25 @@ frame-system = { path = "../system", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -27,3 +27,3 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } -sp-staking = { path = "../../primitives/staking", default-features = false } -frame-election-provider-support = { path = "../election-provider-support", default-features = false } +sp-std = { workspace = true } +sp-staking = { workspace = true } +frame-election-provider-support = { workspace = true } @@ -31 +31 @@ frame-election-provider-support = { path = "../election-provider-support", defau -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } @@ -33 +33 @@ frame-benchmarking = { path = "../benchmarking", default-features = false, optio -docify = "0.2.7" +docify = { workspace = true } @@ -36 +36 @@ docify = "0.2.7" -pallet-staking-reward-curve = { path = "../staking/reward-curve" } +pallet-staking-reward-curve = { workspace = true, default-features = true } @@ -38,5 +38,5 @@ sp-core = { path = "../../primitives/core", default-features = false } -substrate-test-utils = { path = "../../test-utils" } -sp-tracing = { path = "../../primitives/tracing" } -pallet-staking = { path = "../staking" } -pallet-balances = { path = "../balances" } -pallet-timestamp = { path = "../timestamp" } +substrate-test-utils = { workspace = true } +sp-tracing = { workspace = true, default-features = true } +pallet-staking = { workspace = true, default-features = true } +pallet-balances = { workspace = true, default-features = true } +pallet-timestamp = { workspace = true, default-features = true } diff --git substrate/frame/glutton/Cargo.toml substrate/frame/glutton/Cargo.toml index 7de18080b8..7835c7495f 100644 --- substrate/frame/glutton/Cargo.toml +++ substrate/frame/glutton/Cargo.toml @@ -19 +19 @@ targets = ["x86_64-unknown-linux-gnu"] -blake2 = { version = "0.10.4", default-features = false } +blake2 = { workspace = true } @@ -21 +21 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -23 +23 @@ log = { workspace = true } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } @@ -27 +27 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -29 +29 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -32 +32 @@ sp-std = { path = "../../primitives/std", default-features = false } -pallet-balances = { path = "../balances" } +pallet-balances = { workspace = true, default-features = true } diff --git substrate/frame/grandpa/Cargo.toml substrate/frame/grandpa/Cargo.toml index db540564fb..4d2e5b39bb 100644 --- substrate/frame/grandpa/Cargo.toml +++ substrate/frame/grandpa/Cargo.toml @@ -21,2 +21,2 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive", "serde"] } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +scale-info = { features = ["derive", "serde"] , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -25,2 +25,2 @@ frame-system = { path = "../system", default-features = false } -pallet-authorship = { path = "../authorship", default-features = false } -pallet-session = { path = "../session", default-features = false } +pallet-authorship = { workspace = true } +pallet-session = { workspace = true } @@ -30 +30 @@ sp-core = { path = "../../primitives/core", default-features = false, features = -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -32,3 +32,3 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false, feat -sp-session = { path = "../../primitives/session", default-features = false } -sp-staking = { path = "../../primitives/staking", default-features = false, features = ["serde"] } -sp-std = { path = "../../primitives/std", default-features = false } +sp-session = { workspace = true } +sp-staking = { features = ["serde"] , workspace = true } +sp-std = { workspace = true } @@ -38,7 +38,7 @@ grandpa = { package = "finality-grandpa", version = "0.16.2", features = ["deriv -frame-benchmarking = { path = "../benchmarking" } -frame-election-provider-support = { path = "../election-provider-support" } -pallet-balances = { path = "../balances" } -pallet-offences = { path = "../offences" } -pallet-staking = { path = "../staking" } -pallet-staking-reward-curve = { path = "../staking/reward-curve" } -pallet-timestamp = { path = "../timestamp" } +frame-benchmarking = { workspace = true, default-features = true } +frame-election-provider-support = { workspace = true, default-features = true } +pallet-balances = { workspace = true, default-features = true } +pallet-offences = { workspace = true, default-features = true } +pallet-staking = { workspace = true, default-features = true } +pallet-staking-reward-curve = { workspace = true, default-features = true } +pallet-timestamp = { workspace = true, default-features = true } diff --git substrate/frame/identity/Cargo.toml substrate/frame/identity/Cargo.toml index 912444bf60..5664289f30 100644 --- substrate/frame/identity/Cargo.toml +++ substrate/frame/identity/Cargo.toml @@ -20 +20 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -enumflags2 = { version = "0.7.7" } +enumflags2 = { workspace = true } @@ -22,2 +22,2 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +scale-info = { features = ["derive"] , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -26 +26 @@ frame-system = { path = "../system", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -28 +28 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -31 +31 @@ sp-std = { path = "../../primitives/std", default-features = false } -pallet-balances = { path = "../balances" } +pallet-balances = { workspace = true, default-features = true } @@ -33 +33 @@ sp-core = { path = "../../primitives/core" } -sp-keystore = { path = "../../primitives/keystore" } +sp-keystore = { workspace = true, default-features = true } diff --git substrate/frame/im-online/Cargo.toml substrate/frame/im-online/Cargo.toml index 038cbbcd67..7ec9c3b335 100644 --- substrate/frame/im-online/Cargo.toml +++ substrate/frame/im-online/Cargo.toml @@ -21,2 +21,2 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive", "serde"] } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +scale-info = { features = ["derive", "serde"] , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -25 +25 @@ frame-system = { path = "../system", default-features = false } -pallet-authorship = { path = "../authorship", default-features = false } +pallet-authorship = { workspace = true } @@ -28 +28 @@ sp-core = { path = "../../primitives/core", default-features = false, features = -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -30,2 +30,2 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false, feat -sp-staking = { path = "../../primitives/staking", default-features = false, features = ["serde"] } -sp-std = { path = "../../primitives/std", default-features = false } +sp-staking = { features = ["serde"] , workspace = true } +sp-std = { workspace = true } @@ -34 +34 @@ sp-std = { path = "../../primitives/std", default-features = false } -pallet-session = { path = "../session" } +pallet-session = { workspace = true, default-features = true } diff --git substrate/frame/indices/Cargo.toml substrate/frame/indices/Cargo.toml index f810ea36a7..2ccc99df3f 100644 --- substrate/frame/indices/Cargo.toml +++ substrate/frame/indices/Cargo.toml @@ -20,2 +20,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +scale-info = { features = ["derive"] , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -25 +25 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -28 +28 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -31 +31 @@ sp-std = { path = "../../primitives/std", default-features = false } -pallet-balances = { path = "../balances" } +pallet-balances = { workspace = true, default-features = true } diff --git substrate/frame/insecure-randomness-collective-flip/Cargo.toml substrate/frame/insecure-randomness-collective-flip/Cargo.toml index f26bfa95bf..43a9c5626e 100644 --- substrate/frame/insecure-randomness-collective-flip/Cargo.toml +++ substrate/frame/insecure-randomness-collective-flip/Cargo.toml @@ -20,2 +20,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -safe-mix = { version = "1.0", default-features = false } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +safe-mix = { workspace = true } +scale-info = { features = ["derive"] , workspace = true } @@ -25 +25 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -29 +29 @@ sp-core = { path = "../../primitives/core" } -sp-io = { path = "../../primitives/io" } +sp-io = { workspace = true, default-features = true } diff --git substrate/frame/lottery/Cargo.toml substrate/frame/lottery/Cargo.toml index 3930ff32fc..ce38eadd06 100644 --- substrate/frame/lottery/Cargo.toml +++ substrate/frame/lottery/Cargo.toml @@ -21,2 +21,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +scale-info = { features = ["derive"] , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -26 +26 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -29,2 +29,2 @@ sp-std = { path = "../../primitives/std", default-features = false } -frame-support-test = { path = "../support/test" } -pallet-balances = { path = "../balances" } +frame-support-test = { workspace = true } +pallet-balances = { workspace = true, default-features = true } @@ -32 +32 @@ sp-core = { path = "../../primitives/core" } -sp-io = { path = "../../primitives/io" } +sp-io = { workspace = true, default-features = true } diff --git substrate/frame/membership/Cargo.toml substrate/frame/membership/Cargo.toml index 6421467029..aa1dcece73 100644 --- substrate/frame/membership/Cargo.toml +++ substrate/frame/membership/Cargo.toml @@ -21,2 +21,2 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive", "serde"] } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +scale-info = { features = ["derive", "serde"] , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -26 +26 @@ sp-core = { path = "../../primitives/core", default-features = false, features = -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -28 +28 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false, feat -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } diff --git substrate/frame/merkle-mountain-range/Cargo.toml substrate/frame/merkle-mountain-range/Cargo.toml index d623e25cec..ad62e3b186 100644 --- substrate/frame/merkle-mountain-range/Cargo.toml +++ substrate/frame/merkle-mountain-range/Cargo.toml @@ -20,2 +20,2 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +scale-info = { features = ["derive"] , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -25,2 +25,2 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } -sp-mmr-primitives = { path = "../../primitives/merkle-mountain-range", default-features = false } +sp-io = { workspace = true } +sp-mmr-primitives = { workspace = true } @@ -28 +28 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -31,3 +31,3 @@ sp-std = { path = "../../primitives/std", default-features = false } -array-bytes = "6.1" -env_logger = "0.9" -itertools = "0.10.3" +array-bytes = { workspace = true, default-features = true } +env_logger = { workspace = true } +itertools = { workspace = true } diff --git substrate/frame/message-queue/Cargo.toml substrate/frame/message-queue/Cargo.toml index 8d9da7df39..627ca4c673 100644 --- substrate/frame/message-queue/Cargo.toml +++ substrate/frame/message-queue/Cargo.toml @@ -16 +16 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -19 +19 @@ log = { workspace = true } -environmental = { version = "1.1.4", default-features = false } +environmental = { workspace = true } @@ -22 +22 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -24,3 +24,3 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } -sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false } -sp-weights = { path = "../../primitives/weights", default-features = false } +sp-std = { workspace = true } +sp-arithmetic = { workspace = true } +sp-weights = { workspace = true } @@ -28 +28 @@ sp-weights = { path = "../../primitives/weights", default-features = false } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } @@ -33,4 +33,4 @@ frame-system = { path = "../system", default-features = false } -sp-crypto-hashing = { path = "../../primitives/crypto/hashing" } -sp-tracing = { path = "../../primitives/tracing" } -rand = "0.8.5" -rand_distr = "0.4.3" +sp-crypto-hashing = { workspace = true, default-features = true } +sp-tracing = { workspace = true, default-features = true } +rand = { workspace = true, default-features = true } +rand_distr = { workspace = true } diff --git substrate/frame/mixnet/Cargo.toml substrate/frame/mixnet/Cargo.toml index d1bb01dde1..5494e1ff16 100644 --- substrate/frame/mixnet/Cargo.toml +++ substrate/frame/mixnet/Cargo.toml @@ -20 +20 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -frame-benchmarking = { default-features = false, optional = true, path = "../benchmarking" } +frame-benchmarking = { optional = true, workspace = true } @@ -24 +24 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -27,3 +27,3 @@ sp-application-crypto = { default-features = false, path = "../../primitives/app -sp-arithmetic = { default-features = false, path = "../../primitives/arithmetic" } -sp-io = { default-features = false, path = "../../primitives/io" } -sp-mixnet = { default-features = false, path = "../../primitives/mixnet" } +sp-arithmetic = { workspace = true } +sp-io = { workspace = true } +sp-mixnet = { workspace = true } @@ -31 +31 @@ sp-runtime = { default-features = false, path = "../../primitives/runtime" } -sp-std = { default-features = false, path = "../../primitives/std" } +sp-std = { workspace = true } diff --git substrate/frame/multisig/Cargo.toml substrate/frame/multisig/Cargo.toml index 1d2a79bdc5..32f8b13f3b 100644 --- substrate/frame/multisig/Cargo.toml +++ substrate/frame/multisig/Cargo.toml @@ -20,2 +20,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +scale-info = { features = ["derive"] , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -24 +24 @@ frame-system = { path = "../system", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -26 +26 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -32 +32 @@ log = { workspace = true } -pallet-balances = { path = "../balances" } +pallet-balances = { workspace = true, default-features = true } diff --git substrate/frame/nft-fractionalization/Cargo.toml substrate/frame/nft-fractionalization/Cargo.toml index 8002b7e116..1d10076a54 100644 --- substrate/frame/nft-fractionalization/Cargo.toml +++ substrate/frame/nft-fractionalization/Cargo.toml @@ -21,2 +21,2 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +scale-info = { features = ["derive"] , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -25,2 +25,2 @@ frame-system = { path = "../system", default-features = false } -pallet-assets = { path = "../assets", default-features = false } -pallet-nfts = { path = "../nfts", default-features = false } +pallet-assets = { workspace = true } +pallet-nfts = { workspace = true } @@ -28 +28 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -31 +31 @@ sp-std = { path = "../../primitives/std", default-features = false } -pallet-balances = { path = "../balances" } +pallet-balances = { workspace = true, default-features = true } @@ -33,2 +33,2 @@ sp-core = { path = "../../primitives/core" } -sp-io = { path = "../../primitives/io" } -sp-std = { path = "../../primitives/std" } +sp-io = { workspace = true, default-features = true } +sp-std = { workspace = true, default-features = true } diff --git substrate/frame/nfts/Cargo.toml substrate/frame/nfts/Cargo.toml index 69e9ea170b..2752344e8e 100644 --- substrate/frame/nfts/Cargo.toml +++ substrate/frame/nfts/Cargo.toml @@ -20 +20 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -enumflags2 = { version = "0.7.7" } +enumflags2 = { workspace = true } @@ -22,2 +22,2 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +scale-info = { features = ["derive"] , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -27 +27 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -29 +29 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -32,2 +32,2 @@ sp-std = { path = "../../primitives/std", default-features = false } -pallet-balances = { path = "../balances" } -sp-keystore = { path = "../../primitives/keystore" } +pallet-balances = { workspace = true, default-features = true } +sp-keystore = { workspace = true, default-features = true } diff --git substrate/frame/nfts/runtime-api/Cargo.toml substrate/frame/nfts/runtime-api/Cargo.toml index 84cbd1f51c..90b12671d3 100644 --- substrate/frame/nfts/runtime-api/Cargo.toml +++ substrate/frame/nfts/runtime-api/Cargo.toml @@ -20,3 +20,3 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -pallet-nfts = { path = "..", default-features = false } -sp-api = { path = "../../../primitives/api", default-features = false } -sp-std = { path = "../../../primitives/std", default-features = false } +pallet-nfts = { workspace = true } +sp-api = { workspace = true } +sp-std = { workspace = true } diff --git substrate/frame/nis/Cargo.toml substrate/frame/nis/Cargo.toml index 025daa07b0..cbeb885f2b 100644 --- substrate/frame/nis/Cargo.toml +++ substrate/frame/nis/Cargo.toml @@ -20,2 +20,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +scale-info = { features = ["derive"] , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -24 +24 @@ frame-system = { path = "../system", default-features = false } -sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false } +sp-arithmetic = { workspace = true } @@ -27 +27 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -30,2 +30,2 @@ sp-std = { path = "../../primitives/std", default-features = false } -pallet-balances = { path = "../balances" } -sp-io = { path = "../../primitives/io" } +pallet-balances = { workspace = true, default-features = true } +sp-io = { workspace = true, default-features = true } diff --git substrate/frame/node-authorization/Cargo.toml substrate/frame/node-authorization/Cargo.toml index a39b0ec4ef..76b6d52bb7 100644 --- substrate/frame/node-authorization/Cargo.toml +++ substrate/frame/node-authorization/Cargo.toml @@ -20 +20 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -24 +24 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -26 +26 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } diff --git substrate/frame/nomination-pools/Cargo.toml substrate/frame/nomination-pools/Cargo.toml index 9830f31d5f..4d6994d968 100644 --- substrate/frame/nomination-pools/Cargo.toml +++ substrate/frame/nomination-pools/Cargo.toml @@ -22 +22 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = [ +scale-info = { features = [ @@ -24 +24 @@ scale-info = { version = "2.10.0", default-features = false, features = [ -] } +] , workspace = true } @@ -30,2 +30,2 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } -sp-staking = { path = "../../primitives/staking", default-features = false } +sp-std = { workspace = true } +sp-staking = { workspace = true } @@ -33 +33 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -37,2 +37,2 @@ log = { workspace = true } -pallet-balances = { path = "../balances", optional = true } -sp-tracing = { path = "../../primitives/tracing", optional = true } +pallet-balances = { optional = true , workspace = true, default-features = true } +sp-tracing = { optional = true , workspace = true, default-features = true } @@ -41,2 +41,2 @@ sp-tracing = { path = "../../primitives/tracing", optional = true } -pallet-balances = { path = "../balances" } -sp-tracing = { path = "../../primitives/tracing" } +pallet-balances = { workspace = true, default-features = true } +sp-tracing = { workspace = true, default-features = true } diff --git substrate/frame/nomination-pools/benchmarking/Cargo.toml substrate/frame/nomination-pools/benchmarking/Cargo.toml index 3693ad1866..95ac2897de 100644 --- substrate/frame/nomination-pools/benchmarking/Cargo.toml +++ substrate/frame/nomination-pools/benchmarking/Cargo.toml @@ -21 +21 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -24,2 +24,2 @@ scale-info = { version = "2.10.0", default-features = false, features = ["derive -frame-benchmarking = { path = "../../benchmarking", default-features = false } -frame-election-provider-support = { path = "../../election-provider-support", default-features = false } +frame-benchmarking = { workspace = true } +frame-election-provider-support = { workspace = true } @@ -28,3 +28,3 @@ frame-system = { path = "../../system", default-features = false } -pallet-bags-list = { path = "../../bags-list", default-features = false } -pallet-staking = { path = "../../staking", default-features = false } -pallet-nomination-pools = { path = "..", default-features = false } +pallet-bags-list = { workspace = true } +pallet-staking = { workspace = true } +pallet-nomination-pools = { workspace = true } @@ -34,3 +34,3 @@ sp-runtime = { path = "../../../primitives/runtime", default-features = false } -sp-runtime-interface = { path = "../../../primitives/runtime-interface", default-features = false } -sp-staking = { path = "../../../primitives/staking", default-features = false } -sp-std = { path = "../../../primitives/std", default-features = false } +sp-runtime-interface = { workspace = true } +sp-staking = { workspace = true } +sp-std = { workspace = true } @@ -39,3 +39,3 @@ sp-std = { path = "../../../primitives/std", default-features = false } -pallet-balances = { path = "../../balances", default-features = false } -pallet-timestamp = { path = "../../timestamp" } -pallet-staking-reward-curve = { path = "../../staking/reward-curve" } +pallet-balances = { workspace = true } +pallet-timestamp = { workspace = true, default-features = true } +pallet-staking-reward-curve = { workspace = true, default-features = true } @@ -43 +43 @@ sp-core = { path = "../../../primitives/core" } -sp-io = { path = "../../../primitives/io" } +sp-io = { workspace = true, default-features = true } diff --git substrate/frame/nomination-pools/fuzzer/Cargo.toml substrate/frame/nomination-pools/fuzzer/Cargo.toml index c0d63a2685..d5f1d1fdcf 100644 --- substrate/frame/nomination-pools/fuzzer/Cargo.toml +++ substrate/frame/nomination-pools/fuzzer/Cargo.toml @@ -20 +20 @@ targets = ["x86_64-unknown-linux-gnu"] -honggfuzz = "0.5.54" +honggfuzz = { workspace = true } @@ -22 +22 @@ honggfuzz = "0.5.54" -pallet-nomination-pools = { path = "..", features = ["fuzzing"] } +pallet-nomination-pools = { features = ["fuzzing"] , workspace = true, default-features = true } @@ -28,2 +28,2 @@ sp-runtime = { path = "../../../primitives/runtime" } -sp-io = { path = "../../../primitives/io" } -sp-tracing = { path = "../../../primitives/tracing" } +sp-io = { workspace = true, default-features = true } +sp-tracing = { workspace = true, default-features = true } @@ -31 +31 @@ sp-tracing = { path = "../../../primitives/tracing" } -rand = { version = "0.8.5", features = ["small_rng"] } +rand = { features = ["small_rng"] , workspace = true, default-features = true } diff --git substrate/frame/nomination-pools/runtime-api/Cargo.toml substrate/frame/nomination-pools/runtime-api/Cargo.toml index 7828f26fe6..963e302074 100644 --- substrate/frame/nomination-pools/runtime-api/Cargo.toml +++ substrate/frame/nomination-pools/runtime-api/Cargo.toml @@ -20,3 +20,3 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -sp-api = { path = "../../../primitives/api", default-features = false } -sp-std = { path = "../../../primitives/std", default-features = false } -pallet-nomination-pools = { path = "..", default-features = false } +sp-api = { workspace = true } +sp-std = { workspace = true } +pallet-nomination-pools = { workspace = true } diff --git substrate/frame/nomination-pools/test-staking/Cargo.toml substrate/frame/nomination-pools/test-staking/Cargo.toml index 9c7b12e4c6..e85b7f991d 100644 --- substrate/frame/nomination-pools/test-staking/Cargo.toml +++ substrate/frame/nomination-pools/test-staking/Cargo.toml @@ -20 +20 @@ codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive -scale-info = { version = "2.10.0", features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true, default-features = true } @@ -23,3 +23,3 @@ sp-runtime = { path = "../../../primitives/runtime" } -sp-io = { path = "../../../primitives/io" } -sp-std = { path = "../../../primitives/std" } -sp-staking = { path = "../../../primitives/staking" } +sp-io = { workspace = true, default-features = true } +sp-std = { workspace = true, default-features = true } +sp-staking = { workspace = true, default-features = true } @@ -30 +30 @@ frame-support = { path = "../../support" } -frame-election-provider-support = { path = "../../election-provider-support" } +frame-election-provider-support = { workspace = true, default-features = true } @@ -32,6 +32,6 @@ frame-election-provider-support = { path = "../../election-provider-support" } -pallet-timestamp = { path = "../../timestamp" } -pallet-balances = { path = "../../balances" } -pallet-staking = { path = "../../staking" } -pallet-bags-list = { path = "../../bags-list" } -pallet-staking-reward-curve = { path = "../../staking/reward-curve" } -pallet-nomination-pools = { path = ".." } +pallet-timestamp = { workspace = true, default-features = true } +pallet-balances = { workspace = true, default-features = true } +pallet-staking = { workspace = true, default-features = true } +pallet-bags-list = { workspace = true, default-features = true } +pallet-staking-reward-curve = { workspace = true, default-features = true } +pallet-nomination-pools = { workspace = true, default-features = true } @@ -39 +39 @@ pallet-nomination-pools = { path = ".." } -sp-tracing = { path = "../../../primitives/tracing" } +sp-tracing = { workspace = true, default-features = true } diff --git substrate/frame/offences/Cargo.toml substrate/frame/offences/Cargo.toml index b3ef4671ce..a40a2520e8 100644 --- substrate/frame/offences/Cargo.toml +++ substrate/frame/offences/Cargo.toml @@ -21 +21 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -25 +25 @@ frame-system = { path = "../system", default-features = false } -pallet-balances = { path = "../balances", default-features = false } +pallet-balances = { workspace = true } @@ -27,2 +27,2 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-staking = { path = "../../primitives/staking", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-staking = { workspace = true } +sp-std = { workspace = true } @@ -32 +32 @@ sp-core = { path = "../../primitives/core" } -sp-io = { path = "../../primitives/io" } +sp-io = { workspace = true, default-features = true } diff --git substrate/frame/offences/benchmarking/Cargo.toml substrate/frame/offences/benchmarking/Cargo.toml index 8dcce84d25..a95ee0cfa7 100644 --- substrate/frame/offences/benchmarking/Cargo.toml +++ substrate/frame/offences/benchmarking/Cargo.toml @@ -20,3 +20,3 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-benchmarking = { path = "../../benchmarking", default-features = false } -frame-election-provider-support = { path = "../../election-provider-support", default-features = false } +scale-info = { features = ["derive"] , workspace = true } +frame-benchmarking = { workspace = true } +frame-election-provider-support = { workspace = true } @@ -25,7 +25,7 @@ frame-system = { path = "../../system", default-features = false } -pallet-babe = { path = "../../babe", default-features = false } -pallet-balances = { path = "../../balances", default-features = false } -pallet-grandpa = { path = "../../grandpa", default-features = false } -pallet-im-online = { path = "../../im-online", default-features = false } -pallet-offences = { path = "..", default-features = false } -pallet-session = { path = "../../session", default-features = false } -pallet-staking = { path = "../../staking", default-features = false } +pallet-babe = { workspace = true } +pallet-balances = { workspace = true } +pallet-grandpa = { workspace = true } +pallet-im-online = { workspace = true } +pallet-offences = { workspace = true } +pallet-session = { workspace = true } +pallet-staking = { workspace = true } @@ -33,2 +33,2 @@ sp-runtime = { path = "../../../primitives/runtime", default-features = false } -sp-staking = { path = "../../../primitives/staking", default-features = false } -sp-std = { path = "../../../primitives/std", default-features = false } +sp-staking = { workspace = true } +sp-std = { workspace = true } @@ -38,2 +38,2 @@ log = { workspace = true } -pallet-staking-reward-curve = { path = "../../staking/reward-curve" } -pallet-timestamp = { path = "../../timestamp" } +pallet-staking-reward-curve = { workspace = true, default-features = true } +pallet-timestamp = { workspace = true, default-features = true } @@ -41 +41 @@ sp-core = { path = "../../../primitives/core" } -sp-io = { path = "../../../primitives/io" } +sp-io = { workspace = true, default-features = true } diff --git substrate/frame/paged-list/Cargo.toml substrate/frame/paged-list/Cargo.toml index 6a2af120f3..83592546a6 100644 --- substrate/frame/paged-list/Cargo.toml +++ substrate/frame/paged-list/Cargo.toml @@ -19,2 +19,2 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -docify = "0.2.7" -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +docify = { workspace = true } +scale-info = { features = ["derive"] , workspace = true } @@ -22 +22 @@ scale-info = { version = "2.10.0", default-features = false, features = ["derive -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } @@ -27 +27 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -29,2 +29,2 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } -sp-metadata-ir = { path = "../../primitives/metadata-ir", default-features = false, optional = true } +sp-io = { workspace = true } +sp-metadata-ir = { optional = true , workspace = true } diff --git substrate/frame/paged-list/fuzzer/Cargo.toml substrate/frame/paged-list/fuzzer/Cargo.toml index 6ff07ba1dd..e7fa05184b 100644 --- substrate/frame/paged-list/fuzzer/Cargo.toml +++ substrate/frame/paged-list/fuzzer/Cargo.toml @@ -20,2 +20,2 @@ path = "src/paged_list.rs" -arbitrary = "1.3.2" -honggfuzz = "0.5.49" +arbitrary = { workspace = true } +honggfuzz = { workspace = true } @@ -24,2 +24,2 @@ frame-support = { path = "../../support", default-features = false, features = [ -sp-io = { path = "../../../primitives/io", default-features = false, features = ["std"] } -pallet-paged-list = { path = "..", default-features = false, features = ["std"] } +sp-io = { features = ["std"] , workspace = true } +pallet-paged-list = { features = ["std"] , workspace = true } diff --git substrate/frame/parameters/Cargo.toml substrate/frame/parameters/Cargo.toml index 07ebeea52d..0fcba08d8c 100644 --- substrate/frame/parameters/Cargo.toml +++ substrate/frame/parameters/Cargo.toml @@ -12,2 +12,2 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = -scale-info = { version = "2.1.2", default-features = false, features = ["derive"] } -paste = { version = "1.0.14", default-features = false } +scale-info = { features = ["derive"] , workspace = true } +paste = { workspace = true } @@ -15 +15 @@ serde = { features = ["derive"], optional = true, workspace = true, default-feat -docify = "0.2.5" +docify = { workspace = true } @@ -21,2 +21,2 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +sp-std = { workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -26,3 +26,3 @@ sp-core = { path = "../../primitives/core", features = ["std"] } -sp-io = { path = "../../primitives/io", features = ["std"] } -pallet-example-basic = { path = "../examples/basic", features = ["std"] } -pallet-balances = { path = "../balances", features = ["std"] } +sp-io = { features = ["std"] , workspace = true, default-features = true } +pallet-example-basic = { features = ["std"] , workspace = true, default-features = true } +pallet-balances = { features = ["std"] , workspace = true, default-features = true } diff --git substrate/frame/preimage/Cargo.toml substrate/frame/preimage/Cargo.toml index 10a15f97bd..51ab22e7a6 100644 --- substrate/frame/preimage/Cargo.toml +++ substrate/frame/preimage/Cargo.toml @@ -16,2 +16,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +scale-info = { features = ["derive"] , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -21 +21 @@ sp-core = { path = "../../primitives/core", default-features = false, optional = -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -23 +23 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -27 +27 @@ log = { workspace = true } -pallet-balances = { path = "../balances" } +pallet-balances = { workspace = true, default-features = true } diff --git substrate/frame/proxy/Cargo.toml substrate/frame/proxy/Cargo.toml index 17930079af..d0a13fe2c3 100644 --- substrate/frame/proxy/Cargo.toml +++ substrate/frame/proxy/Cargo.toml @@ -20,2 +20,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +scale-info = { features = ["derive"] , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -24 +24 @@ frame-system = { path = "../system", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -26 +26 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -29,2 +29,2 @@ sp-std = { path = "../../primitives/std", default-features = false } -pallet-balances = { path = "../balances" } -pallet-utility = { path = "../utility" } +pallet-balances = { workspace = true, default-features = true } +pallet-utility = { workspace = true, default-features = true } diff --git substrate/frame/ranked-collective/Cargo.toml substrate/frame/ranked-collective/Cargo.toml index 54e84c0b55..7700e68f6b 100644 --- substrate/frame/ranked-collective/Cargo.toml +++ substrate/frame/ranked-collective/Cargo.toml @@ -21,2 +21,2 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +scale-info = { features = ["derive"] , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -25 +25 @@ frame-system = { path = "../system", default-features = false } -sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false } +sp-arithmetic = { workspace = true } @@ -27 +27 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -29,2 +29,2 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } -impl-trait-for-tuples = "0.2.2" +sp-std = { workspace = true } +impl-trait-for-tuples = { workspace = true } diff --git substrate/frame/recovery/Cargo.toml substrate/frame/recovery/Cargo.toml index 421c799513..571fc1645c 100644 --- substrate/frame/recovery/Cargo.toml +++ substrate/frame/recovery/Cargo.toml @@ -20,2 +20,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +scale-info = { features = ["derive"] , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -24 +24 @@ frame-system = { path = "../system", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -26 +26 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -29 +29 @@ sp-std = { path = "../../primitives/std", default-features = false } -pallet-balances = { path = "../balances" } +pallet-balances = { workspace = true, default-features = true } diff --git substrate/frame/referenda/Cargo.toml substrate/frame/referenda/Cargo.toml index 2dfb25a2fd..f435126da5 100644 --- substrate/frame/referenda/Cargo.toml +++ substrate/frame/referenda/Cargo.toml @@ -19 +19 @@ targets = ["x86_64-unknown-linux-gnu"] -assert_matches = { version = "1.5", optional = true } +assert_matches = { optional = true , workspace = true } @@ -23 +23 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -25,2 +25,2 @@ serde = { features = ["derive"], optional = true, workspace = true, default-feat -sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +sp-arithmetic = { workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -29 +29 @@ frame-system = { path = "../system", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -31 +31 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -35,4 +35,4 @@ log = { workspace = true } -assert_matches = { version = "1.5" } -pallet-balances = { path = "../balances" } -pallet-preimage = { path = "../preimage" } -pallet-scheduler = { path = "../scheduler" } +assert_matches = { workspace = true } +pallet-balances = { workspace = true, default-features = true } +pallet-preimage = { workspace = true, default-features = true } +pallet-scheduler = { workspace = true, default-features = true } diff --git substrate/frame/remark/Cargo.toml substrate/frame/remark/Cargo.toml index 45710f0539..e9452c208b 100644 --- substrate/frame/remark/Cargo.toml +++ substrate/frame/remark/Cargo.toml @@ -20 +20 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -22 +22 @@ serde = { optional = true, workspace = true, default-features = true } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } @@ -26 +26 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -28 +28 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } diff --git substrate/frame/root-offences/Cargo.toml substrate/frame/root-offences/Cargo.toml index 80b3309506..7337304611 100644 --- substrate/frame/root-offences/Cargo.toml +++ substrate/frame/root-offences/Cargo.toml @@ -20 +20 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -22,2 +22,2 @@ scale-info = { version = "2.10.0", default-features = false, features = ["derive -pallet-session = { path = "../session", default-features = false, features = ["historical"] } -pallet-staking = { path = "../staking", default-features = false } +pallet-session = { features = ["historical"] , workspace = true } +pallet-staking = { workspace = true } @@ -28 +28 @@ sp-runtime = { path = "../../primitives/runtime" } -sp-staking = { path = "../../primitives/staking", default-features = false } +sp-staking = { workspace = true } @@ -31,3 +31,3 @@ sp-staking = { path = "../../primitives/staking", default-features = false } -pallet-balances = { path = "../balances" } -pallet-timestamp = { path = "../timestamp" } -pallet-staking-reward-curve = { path = "../staking/reward-curve" } +pallet-balances = { workspace = true, default-features = true } +pallet-timestamp = { workspace = true, default-features = true } +pallet-staking-reward-curve = { workspace = true, default-features = true } @@ -36,2 +36,2 @@ sp-core = { path = "../../primitives/core" } -sp-io = { path = "../../primitives/io", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-io = { workspace = true } +sp-std = { workspace = true } @@ -39 +39 @@ sp-std = { path = "../../primitives/std", default-features = false } -frame-election-provider-support = { path = "../election-provider-support" } +frame-election-provider-support = { workspace = true, default-features = true } diff --git substrate/frame/root-testing/Cargo.toml substrate/frame/root-testing/Cargo.toml index 51b72665b8..41d4c46efc 100644 --- substrate/frame/root-testing/Cargo.toml +++ substrate/frame/root-testing/Cargo.toml @@ -20 +20 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -24 +24 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -26 +26 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } diff --git substrate/frame/safe-mode/Cargo.toml substrate/frame/safe-mode/Cargo.toml index 0c59740bef..912f1550a1 100644 --- substrate/frame/safe-mode/Cargo.toml +++ substrate/frame/safe-mode/Cargo.toml @@ -19,2 +19,2 @@ codec = { package = "parity-scale-codec", version = "3.2.2", default-features = -docify = "0.2.7" -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +docify = { workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -23,2 +23,2 @@ frame-system = { path = "../system", default-features = false } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false } +scale-info = { features = ["derive"] , workspace = true } +sp-arithmetic = { workspace = true } @@ -26,4 +26,4 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } -pallet-balances = { path = "../balances", default-features = false, optional = true } -pallet-utility = { path = "../utility", default-features = false, optional = true } -pallet-proxy = { path = "../proxy", default-features = false, optional = true } +sp-std = { workspace = true } +pallet-balances = { optional = true , workspace = true } +pallet-utility = { optional = true , workspace = true } +pallet-proxy = { optional = true , workspace = true } @@ -33,4 +33,4 @@ sp-core = { path = "../../primitives/core" } -sp-io = { path = "../../primitives/io" } -pallet-balances = { path = "../balances" } -pallet-utility = { path = "../utility" } -pallet-proxy = { path = "../proxy" } +sp-io = { workspace = true, default-features = true } +pallet-balances = { workspace = true, default-features = true } +pallet-utility = { workspace = true, default-features = true } +pallet-proxy = { workspace = true, default-features = true } diff --git substrate/frame/salary/Cargo.toml substrate/frame/salary/Cargo.toml index ba57fd46ee..7367c9bb46 100644 --- substrate/frame/salary/Cargo.toml +++ substrate/frame/salary/Cargo.toml @@ -21,2 +21,2 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +scale-info = { features = ["derive"] , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -25 +25 @@ frame-system = { path = "../system", default-features = false } -sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false } +sp-arithmetic = { workspace = true } @@ -27 +27 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -29,2 +29,2 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } -pallet-ranked-collective = { path = "../ranked-collective", default-features = false, optional = true } +sp-std = { workspace = true } +pallet-ranked-collective = { optional = true , workspace = true } diff --git substrate/frame/sassafras/Cargo.toml substrate/frame/sassafras/Cargo.toml index 325a39bf59..5970045dc1 100644 --- substrate/frame/sassafras/Cargo.toml +++ substrate/frame/sassafras/Cargo.toml @@ -21,2 +21,2 @@ scale-codec = { package = "parity-scale-codec", version = "3.6.1", default-featu -scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +scale-info = { features = ["derive"] , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -26,2 +26,2 @@ log = { workspace = true } -sp-consensus-sassafras = { path = "../../primitives/consensus/sassafras", default-features = false, features = ["serde"] } -sp-io = { path = "../../primitives/io", default-features = false } +sp-consensus-sassafras = { features = ["serde"] , workspace = true } +sp-io = { workspace = true } @@ -29 +29 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -32 +32 @@ sp-std = { path = "../../primitives/std", default-features = false } -array-bytes = "6.1" +array-bytes = { workspace = true, default-features = true } @@ -34 +34 @@ sp-core = { path = "../../primitives/core" } -sp-crypto-hashing = { path = "../../primitives/crypto/hashing" } +sp-crypto-hashing = { workspace = true, default-features = true } diff --git substrate/frame/scheduler/Cargo.toml substrate/frame/scheduler/Cargo.toml index f50f6afdc0..4a3f03a71f 100644 --- substrate/frame/scheduler/Cargo.toml +++ substrate/frame/scheduler/Cargo.toml @@ -18,2 +18,2 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +scale-info = { features = ["derive"] , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -22 +22 @@ frame-system = { path = "../system", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -24,3 +24,3 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } -sp-weights = { path = "../../primitives/weights", default-features = false } -docify = "0.2.7" +sp-std = { workspace = true } +sp-weights = { workspace = true } +docify = { workspace = true } @@ -29 +29 @@ docify = "0.2.7" -pallet-preimage = { path = "../preimage" } +pallet-preimage = { workspace = true, default-features = true } @@ -31 +31 @@ sp-core = { path = "../../primitives/core", default-features = false } -substrate-test-utils = { path = "../../test-utils" } +substrate-test-utils = { workspace = true } diff --git substrate/frame/scored-pool/Cargo.toml substrate/frame/scored-pool/Cargo.toml index ae6ade5189..9d7a5dc10e 100644 --- substrate/frame/scored-pool/Cargo.toml +++ substrate/frame/scored-pool/Cargo.toml @@ -20 +20 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -23 +23 @@ frame-system = { path = "../system", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -25 +25 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -28 +28 @@ sp-std = { path = "../../primitives/std", default-features = false } -pallet-balances = { path = "../balances" } +pallet-balances = { workspace = true, default-features = true } diff --git substrate/frame/session/Cargo.toml substrate/frame/session/Cargo.toml index de041307f7..9c96891696 100644 --- substrate/frame/session/Cargo.toml +++ substrate/frame/session/Cargo.toml @@ -20 +20 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -impl-trait-for-tuples = "0.2.2" +impl-trait-for-tuples = { workspace = true } @@ -22 +22 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive", "serde"] } +scale-info = { features = ["derive", "serde"] , workspace = true } @@ -25 +25 @@ frame-system = { path = "../system", default-features = false } -pallet-timestamp = { path = "../timestamp", default-features = false } +pallet-timestamp = { workspace = true } @@ -27 +27 @@ sp-core = { path = "../../primitives/core", default-features = false, features = -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -29,5 +29,5 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false, feat -sp-session = { path = "../../primitives/session", default-features = false } -sp-staking = { path = "../../primitives/staking", default-features = false, features = ["serde"] } -sp-std = { path = "../../primitives/std", default-features = false } -sp-trie = { path = "../../primitives/trie", default-features = false, optional = true } -sp-state-machine = { path = "../../primitives/state-machine", default-features = false } +sp-session = { workspace = true } +sp-staking = { features = ["serde"] , workspace = true } +sp-std = { workspace = true } +sp-trie = { optional = true , workspace = true } +sp-state-machine = { workspace = true } diff --git substrate/frame/session/benchmarking/Cargo.toml substrate/frame/session/benchmarking/Cargo.toml index 291fda3c4c..7ca5e3aee6 100644 --- substrate/frame/session/benchmarking/Cargo.toml +++ substrate/frame/session/benchmarking/Cargo.toml @@ -20,2 +20,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -rand = { version = "0.8.5", default-features = false, features = ["std_rng"] } -frame-benchmarking = { path = "../../benchmarking", default-features = false } +rand = { features = ["std_rng"] , workspace = true } +frame-benchmarking = { workspace = true } @@ -24,2 +24,2 @@ frame-system = { path = "../../system", default-features = false } -pallet-session = { path = "..", default-features = false } -pallet-staking = { path = "../../staking", default-features = false } +pallet-session = { workspace = true } +pallet-staking = { workspace = true } @@ -27,2 +27,2 @@ sp-runtime = { path = "../../../primitives/runtime", default-features = false } -sp-session = { path = "../../../primitives/session", default-features = false } -sp-std = { path = "../../../primitives/std", default-features = false } +sp-session = { workspace = true } +sp-std = { workspace = true } @@ -32,5 +32,5 @@ codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive -scale-info = "2.10.0" -frame-election-provider-support = { path = "../../election-provider-support" } -pallet-balances = { path = "../../balances" } -pallet-staking-reward-curve = { path = "../../staking/reward-curve" } -pallet-timestamp = { path = "../../timestamp" } +scale-info = { workspace = true, default-features = true } +frame-election-provider-support = { workspace = true, default-features = true } +pallet-balances = { workspace = true, default-features = true } +pallet-staking-reward-curve = { workspace = true, default-features = true } +pallet-timestamp = { workspace = true, default-features = true } @@ -38 +38 @@ sp-core = { path = "../../../primitives/core" } -sp-io = { path = "../../../primitives/io" } +sp-io = { workspace = true, default-features = true } diff --git substrate/frame/society/Cargo.toml substrate/frame/society/Cargo.toml index 3dab082b39..673e320c54 100644 --- substrate/frame/society/Cargo.toml +++ substrate/frame/society/Cargo.toml @@ -20,2 +20,2 @@ log = { workspace = true } -rand_chacha = { version = "0.2", default-features = false } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +rand_chacha = { workspace = true } +scale-info = { features = ["derive"] , workspace = true } @@ -24,3 +24,3 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -sp-std = { path = "../../primitives/std", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } -sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false } +sp-std = { workspace = true } +sp-io = { workspace = true } +sp-arithmetic = { workspace = true } @@ -28 +28 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } @@ -33,2 +33,2 @@ frame-system = { path = "../system", default-features = false } -frame-support-test = { path = "../support/test" } -pallet-balances = { path = "../balances" } +frame-support-test = { workspace = true } +pallet-balances = { workspace = true, default-features = true } @@ -36,2 +36,2 @@ sp-core = { path = "../../primitives/core" } -sp-crypto-hashing = { path = "../../primitives/crypto/hashing" } -sp-io = { path = "../../primitives/io" } +sp-crypto-hashing = { workspace = true, default-features = true } +sp-io = { workspace = true, default-features = true } diff --git substrate/frame/staking/Cargo.toml substrate/frame/staking/Cargo.toml index d2a4614693..6256df89f3 100644 --- substrate/frame/staking/Cargo.toml +++ substrate/frame/staking/Cargo.toml @@ -23,2 +23,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive", "serde"] } -sp-io = { path = "../../primitives/io", default-features = false } +scale-info = { features = ["derive", "serde"] , workspace = true } +sp-io = { workspace = true } @@ -26,2 +26,2 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false, feat -sp-staking = { path = "../../primitives/staking", default-features = false, features = ["serde"] } -sp-std = { path = "../../primitives/std", default-features = false } +sp-staking = { features = ["serde"] , workspace = true } +sp-std = { workspace = true } @@ -30 +30 @@ frame-system = { path = "../system", default-features = false } -pallet-session = { path = "../session", default-features = false, features = [ +pallet-session = { features = [ @@ -32,2 +32,2 @@ pallet-session = { path = "../session", default-features = false, features = [ -] } -pallet-authorship = { path = "../authorship", default-features = false } +] , workspace = true } +pallet-authorship = { workspace = true } @@ -35 +35 @@ sp-application-crypto = { path = "../../primitives/application-crypto", default- -frame-election-provider-support = { path = "../election-provider-support", default-features = false } +frame-election-provider-support = { workspace = true } @@ -39,2 +39,2 @@ log = { workspace = true } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } -rand_chacha = { version = "0.2", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } +rand_chacha = { optional = true , workspace = true } @@ -43 +43 @@ rand_chacha = { version = "0.2", default-features = false, optional = true } -sp-tracing = { path = "../../primitives/tracing" } +sp-tracing = { workspace = true, default-features = true } @@ -45,9 +45,9 @@ sp-core = { path = "../../primitives/core" } -sp-npos-elections = { path = "../../primitives/npos-elections" } -pallet-balances = { path = "../balances" } -pallet-timestamp = { path = "../timestamp" } -pallet-staking-reward-curve = { path = "reward-curve" } -pallet-bags-list = { path = "../bags-list" } -substrate-test-utils = { path = "../../test-utils" } -frame-benchmarking = { path = "../benchmarking" } -frame-election-provider-support = { path = "../election-provider-support" } -rand_chacha = { version = "0.2" } +sp-npos-elections = { workspace = true, default-features = true } +pallet-balances = { workspace = true, default-features = true } +pallet-timestamp = { workspace = true, default-features = true } +pallet-staking-reward-curve = { workspace = true, default-features = true } +pallet-bags-list = { workspace = true, default-features = true } +substrate-test-utils = { workspace = true } +frame-benchmarking = { workspace = true, default-features = true } +frame-election-provider-support = { workspace = true, default-features = true } +rand_chacha = { workspace = true, default-features = true } diff --git substrate/frame/staking/reward-curve/Cargo.toml substrate/frame/staking/reward-curve/Cargo.toml index e2a2782db2..964d9c4dd6 100644 --- substrate/frame/staking/reward-curve/Cargo.toml +++ substrate/frame/staking/reward-curve/Cargo.toml @@ -21,2 +21,2 @@ proc-macro = true -proc-macro-crate = "3.0.0" -proc-macro2 = "1.0.56" +proc-macro-crate = { workspace = true } +proc-macro2 = { workspace = true } diff --git substrate/frame/staking/reward-fn/Cargo.toml substrate/frame/staking/reward-fn/Cargo.toml index 5169db5072..5adbb8382d 100644 --- substrate/frame/staking/reward-fn/Cargo.toml +++ substrate/frame/staking/reward-fn/Cargo.toml @@ -21 +21 @@ log = { workspace = true } -sp-arithmetic = { path = "../../../primitives/arithmetic", default-features = false } +sp-arithmetic = { workspace = true } diff --git substrate/frame/staking/runtime-api/Cargo.toml substrate/frame/staking/runtime-api/Cargo.toml index 50a19be92d..b4ba6554ff 100644 --- substrate/frame/staking/runtime-api/Cargo.toml +++ substrate/frame/staking/runtime-api/Cargo.toml @@ -20,2 +20,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -sp-api = { default-features = false, path = "../../../primitives/api" } -sp-staking = { default-features = false, path = "../../../primitives/staking" } +sp-api = { workspace = true } +sp-staking = { workspace = true } diff --git substrate/frame/state-trie-migration/Cargo.toml substrate/frame/state-trie-migration/Cargo.toml index e837956613..e346e7b410 100644 --- substrate/frame/state-trie-migration/Cargo.toml +++ substrate/frame/state-trie-migration/Cargo.toml @@ -20 +20 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -22,3 +22,3 @@ serde = { optional = true, workspace = true, default-features = true } -thousands = { version = "0.2.0", optional = true } -zstd = { version = "0.12.4", default-features = false, optional = true } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +thousands = { optional = true , workspace = true } +zstd = { optional = true , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -27 +27 @@ frame-system = { path = "../system", default-features = false } -remote-externalities = { package = "frame-remote-externalities", path = "../../utils/frame/remote-externalities", optional = true } +remote-externalities = { optional = true , workspace = true } @@ -29 +29 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -31,2 +31,2 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } -substrate-state-trie-migration-rpc = { path = "../../utils/frame/rpc/state-trie-migration-rpc", optional = true } +sp-std = { workspace = true } +substrate-state-trie-migration-rpc = { optional = true , workspace = true } @@ -35,4 +35,4 @@ substrate-state-trie-migration-rpc = { path = "../../utils/frame/rpc/state-trie- -parking_lot = "0.12.1" -tokio = { version = "1.22.0", features = ["macros"] } -pallet-balances = { path = "../balances" } -sp-tracing = { path = "../../primitives/tracing" } +parking_lot = { workspace = true, default-features = true } +tokio = { features = ["macros"] , workspace = true, default-features = true } +pallet-balances = { workspace = true, default-features = true } +sp-tracing = { workspace = true, default-features = true } diff --git substrate/frame/statement/Cargo.toml substrate/frame/statement/Cargo.toml index 6827dbda96..3d67d610a2 100644 --- substrate/frame/statement/Cargo.toml +++ substrate/frame/statement/Cargo.toml @@ -19 +19 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -22,2 +22,2 @@ frame-system = { path = "../system", default-features = false } -sp-statement-store = { path = "../../primitives/statement-store", default-features = false } -sp-api = { path = "../../primitives/api", default-features = false } +sp-statement-store = { workspace = true } +sp-api = { workspace = true } @@ -25,2 +25,2 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-std = { workspace = true } +sp-io = { workspace = true } @@ -31 +31 @@ log = { workspace = true } -pallet-balances = { path = "../balances" } +pallet-balances = { workspace = true, default-features = true } diff --git substrate/frame/sudo/Cargo.toml substrate/frame/sudo/Cargo.toml index 409104aeca..32a6b5dcad 100644 --- substrate/frame/sudo/Cargo.toml +++ substrate/frame/sudo/Cargo.toml @@ -20,2 +20,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +frame-benchmarking = { optional = true , workspace = true } +scale-info = { features = ["derive"] , workspace = true } @@ -24 +24 @@ frame-system = { path = "../system", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -26 +26 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -28 +28 @@ sp-std = { path = "../../primitives/std", default-features = false } -docify = "0.2.7" +docify = { workspace = true } diff --git substrate/frame/support/Cargo.toml substrate/frame/support/Cargo.toml index 72e2d0bfa5..c7d44c074a 100644 --- substrate/frame/support/Cargo.toml +++ substrate/frame/support/Cargo.toml @@ -19 +19 @@ targets = ["x86_64-unknown-linux-gnu"] -array-bytes = { version = "6.1", default-features = false } +array-bytes = { workspace = true } @@ -22,5 +22,5 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-metadata = { version = "16.0.0", default-features = false, features = ["current"] } -sp-api = { path = "../../primitives/api", default-features = false, features = ["frame-metadata"] } -sp-std = { path = "../../primitives/std", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +scale-info = { features = ["derive"] , workspace = true } +frame-metadata = { features = ["current"] , workspace = true } +sp-api = { features = ["frame-metadata"] , workspace = true } +sp-std = { workspace = true } +sp-io = { workspace = true } @@ -28 +28 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false, feat -sp-tracing = { path = "../../primitives/tracing", default-features = false } +sp-tracing = { workspace = true } @@ -30 +30 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false } +sp-arithmetic = { workspace = true } @@ -32,12 +32,12 @@ sp-inherents = { path = "../../primitives/inherents", default-features = false } -sp-staking = { path = "../../primitives/staking", default-features = false } -sp-weights = { path = "../../primitives/weights", default-features = false } -sp-debug-derive = { path = "../../primitives/debug-derive", default-features = false } -sp-metadata-ir = { path = "../../primitives/metadata-ir", default-features = false } -tt-call = "1.0.8" -macro_magic = "0.5.0" -frame-support-procedural = { path = "procedural", default-features = false } -paste = "1.0" -sp-state-machine = { path = "../../primitives/state-machine", default-features = false, optional = true } -bitflags = "1.3" -impl-trait-for-tuples = "0.2.2" -smallvec = "1.11.0" +sp-staking = { workspace = true } +sp-weights = { workspace = true } +sp-debug-derive = { workspace = true } +sp-metadata-ir = { workspace = true } +tt-call = { workspace = true } +macro_magic = { workspace = true } +frame-support-procedural = { workspace = true } +paste = { workspace = true, default-features = true } +sp-state-machine = { optional = true , workspace = true } +bitflags = { workspace = true } +impl-trait-for-tuples = { workspace = true } +smallvec = { workspace = true, default-features = true } @@ -45,4 +45,4 @@ log = { workspace = true } -sp-crypto-hashing-proc-macro = { path = "../../primitives/crypto/hashing/proc-macro" } -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 } +sp-crypto-hashing-proc-macro = { workspace = true } +k256 = { features = ["ecdsa"] , workspace = true } +environmental = { workspace = true } +sp-genesis-builder = { workspace = true } @@ -50,2 +50,2 @@ serde_json = { features = ["alloc"], workspace = true } -docify = "0.2.7" -static_assertions = "1.1.0" +docify = { workspace = true } +static_assertions = { workspace = true, default-features = true } @@ -53 +53 @@ static_assertions = "1.1.0" -aquamarine = { version = "0.5.0" } +aquamarine = { workspace = true } @@ -56,2 +56,2 @@ aquamarine = { version = "0.5.0" } -assert_matches = "1.3.0" -pretty_assertions = "1.2.1" +assert_matches = { workspace = true } +pretty_assertions = { workspace = true } @@ -59 +59 @@ frame-system = { path = "../system" } -sp-crypto-hashing = { path = "../../primitives/crypto/hashing" } +sp-crypto-hashing = { workspace = true, default-features = true } diff --git substrate/frame/support/procedural/Cargo.toml substrate/frame/support/procedural/Cargo.toml index 8594750380..b574dea41c 100644 --- substrate/frame/support/procedural/Cargo.toml +++ substrate/frame/support/procedural/Cargo.toml @@ -21,5 +21,5 @@ proc-macro = true -derive-syn-parse = "0.1.5" -Inflector = "0.11.4" -cfg-expr = "0.15.5" -itertools = "0.10.3" -proc-macro2 = "1.0.56" +derive-syn-parse = { workspace = true } +Inflector = { workspace = true } +cfg-expr = { workspace = true } +itertools = { workspace = true } +proc-macro2 = { workspace = true } @@ -28,5 +28,5 @@ 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 } -expander = "2.0.0" -sp-crypto-hashing = { path = "../../../primitives/crypto/hashing", default-features = false } +frame-support-procedural-tools = { workspace = true } +macro_magic = { features = ["proc_support"] , workspace = true } +proc-macro-warning = { workspace = true } +expander = { workspace = true } +sp-crypto-hashing = { workspace = true } @@ -35 +35 @@ sp-crypto-hashing = { path = "../../../primitives/crypto/hashing", default-featu -regex = "1" +regex = { workspace = true } diff --git substrate/frame/support/procedural/tools/Cargo.toml substrate/frame/support/procedural/tools/Cargo.toml index a75307aca7..f3a51f149a 100644 --- substrate/frame/support/procedural/tools/Cargo.toml +++ substrate/frame/support/procedural/tools/Cargo.toml @@ -18,2 +18,2 @@ targets = ["x86_64-unknown-linux-gnu"] -proc-macro-crate = "3.0.0" -proc-macro2 = "1.0.56" +proc-macro-crate = { workspace = true } +proc-macro2 = { workspace = true } @@ -22 +22 @@ syn = { features = ["extra-traits", "full", "visit"], workspace = true } -frame-support-procedural-tools-derive = { path = "derive" } +frame-support-procedural-tools-derive = { workspace = true } diff --git substrate/frame/support/procedural/tools/derive/Cargo.toml substrate/frame/support/procedural/tools/derive/Cargo.toml index b39d99a822..2292c2a7c7 100644 --- substrate/frame/support/procedural/tools/derive/Cargo.toml +++ substrate/frame/support/procedural/tools/derive/Cargo.toml @@ -21 +21 @@ proc-macro = true -proc-macro2 = "1.0.56" +proc-macro2 = { workspace = true } diff --git substrate/frame/support/test/Cargo.toml substrate/frame/support/test/Cargo.toml index ae2c56a531..76b8492250 100644 --- substrate/frame/support/test/Cargo.toml +++ substrate/frame/support/test/Cargo.toml @@ -18 +18 @@ targets = ["x86_64-unknown-linux-gnu"] -static_assertions = "1.1.0" +static_assertions = { workspace = true, default-features = true } @@ -21,6 +21,6 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-metadata = { version = "16.0.0", default-features = false, features = ["current"] } -sp-api = { path = "../../../primitives/api", default-features = false } -sp-arithmetic = { path = "../../../primitives/arithmetic", default-features = false } -sp-io = { path = "../../../primitives/io", default-features = false } -sp-state-machine = { path = "../../../primitives/state-machine", optional = true } +scale-info = { features = ["derive"] , workspace = true } +frame-metadata = { features = ["current"] , workspace = true } +sp-api = { workspace = true } +sp-arithmetic = { workspace = true } +sp-io = { workspace = true } +sp-state-machine = { optional = true , workspace = true, default-features = true } @@ -28 +28 @@ frame-support = { path = "..", default-features = false } -frame-benchmarking = { path = "../../benchmarking", default-features = false } +frame-benchmarking = { workspace = true } @@ -31,6 +31,6 @@ sp-core = { path = "../../../primitives/core", default-features = false } -sp-std = { path = "../../../primitives/std", default-features = false } -sp-version = { path = "../../../primitives/version", default-features = false } -sp-metadata-ir = { path = "../../../primitives/metadata-ir", default-features = false } -trybuild = { version = "1.0.88", features = ["diff"] } -pretty_assertions = "1.3.0" -rustversion = "1.0.6" +sp-std = { workspace = true } +sp-version = { workspace = true } +sp-metadata-ir = { workspace = true } +trybuild = { features = ["diff"] , workspace = true } +pretty_assertions = { workspace = true } +rustversion = { workspace = true } @@ -38 +38 @@ frame-system = { path = "../../system", default-features = false } -frame-executive = { path = "../../executive", default-features = false } +frame-executive = { workspace = true } @@ -40 +40 @@ frame-executive = { path = "../../executive", default-features = false } -test-pallet = { package = "frame-support-test-pallet", path = "pallet", default-features = false } +test-pallet = { workspace = true } diff --git substrate/frame/support/test/compile_pass/Cargo.toml substrate/frame/support/test/compile_pass/Cargo.toml index 0617aa105a..5dccd0b801 100644 --- substrate/frame/support/test/compile_pass/Cargo.toml +++ substrate/frame/support/test/compile_pass/Cargo.toml @@ -19 +19 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -24 +24 @@ sp-runtime = { path = "../../../../primitives/runtime", default-features = false -sp-version = { path = "../../../../primitives/version", default-features = false } +sp-version = { workspace = true } diff --git substrate/frame/support/test/pallet/Cargo.toml substrate/frame/support/test/pallet/Cargo.toml index ca889faef8..a120c166d9 100644 --- substrate/frame/support/test/pallet/Cargo.toml +++ substrate/frame/support/test/pallet/Cargo.toml @@ -19 +19 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } diff --git substrate/frame/support/test/stg_frame_crate/Cargo.toml substrate/frame/support/test/stg_frame_crate/Cargo.toml index 632ea4e794..09f5dc4adb 100644 --- substrate/frame/support/test/stg_frame_crate/Cargo.toml +++ substrate/frame/support/test/stg_frame_crate/Cargo.toml @@ -19,2 +19,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -frame = { path = "../../..", default-features = false, features = ["experimental", "runtime"] } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +frame = { features = ["experimental", "runtime"] , workspace = true } +scale-info = { features = ["derive"] , workspace = true } diff --git substrate/frame/system/Cargo.toml substrate/frame/system/Cargo.toml index 416969e9c4..1e4fb0af47 100644 --- substrate/frame/system/Cargo.toml +++ substrate/frame/system/Cargo.toml @@ -19 +19 @@ targets = ["x86_64-unknown-linux-gnu"] -cfg-if = "1.0" +cfg-if = { workspace = true } @@ -22 +22 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive", "serde"] } +scale-info = { features = ["derive", "serde"] , workspace = true } @@ -26 +26 @@ sp-core = { path = "../../primitives/core", default-features = false, features = -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -28,4 +28,4 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false, feat -sp-std = { path = "../../primitives/std", default-features = false } -sp-version = { path = "../../primitives/version", default-features = false, features = ["serde"] } -sp-weights = { path = "../../primitives/weights", default-features = false, features = ["serde"] } -docify = "0.2.7" +sp-std = { workspace = true } +sp-version = { features = ["serde"] , workspace = true } +sp-weights = { features = ["serde"] , workspace = true } +docify = { workspace = true } @@ -34,3 +34,3 @@ docify = "0.2.7" -criterion = "0.4.0" -sp-externalities = { path = "../../primitives/externalities" } -substrate-test-runtime-client = { path = "../../test-utils/runtime/client" } +criterion = { workspace = true, default-features = true } +sp-externalities = { workspace = true, default-features = true } +substrate-test-runtime-client = { workspace = true } diff --git substrate/frame/system/benchmarking/Cargo.toml substrate/frame/system/benchmarking/Cargo.toml index 80fdff756c..3b6c4aff4a 100644 --- substrate/frame/system/benchmarking/Cargo.toml +++ substrate/frame/system/benchmarking/Cargo.toml @@ -20,2 +20,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-benchmarking = { path = "../../benchmarking", default-features = false } +scale-info = { features = ["derive"] , workspace = true } +frame-benchmarking = { workspace = true } @@ -26 +26 @@ sp-runtime = { path = "../../../primitives/runtime", default-features = false } -sp-std = { path = "../../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -29,3 +29,3 @@ sp-std = { path = "../../../primitives/std", default-features = false } -sp-io = { path = "../../../primitives/io" } -sp-externalities = { path = "../../../primitives/externalities" } -sp-version = { path = "../../../primitives/version" } +sp-io = { workspace = true, default-features = true } +sp-externalities = { workspace = true, default-features = true } +sp-version = { workspace = true, default-features = true } diff --git substrate/frame/system/rpc/runtime-api/Cargo.toml substrate/frame/system/rpc/runtime-api/Cargo.toml index 70e66769a8..0bb04a614d 100644 --- substrate/frame/system/rpc/runtime-api/Cargo.toml +++ substrate/frame/system/rpc/runtime-api/Cargo.toml @@ -20 +20 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -sp-api = { path = "../../../../primitives/api", default-features = false } +sp-api = { workspace = true } diff --git substrate/frame/timestamp/Cargo.toml substrate/frame/timestamp/Cargo.toml index 28e57fcab0..33669702d7 100644 --- substrate/frame/timestamp/Cargo.toml +++ substrate/frame/timestamp/Cargo.toml @@ -22,2 +22,2 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +scale-info = { features = ["derive"] , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -27 +27 @@ sp-inherents = { path = "../../primitives/inherents", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false, optional = true } +sp-io = { optional = true , workspace = true } @@ -29,3 +29,3 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } -sp-storage = { path = "../../primitives/storage", default-features = false } -sp-timestamp = { path = "../../primitives/timestamp", default-features = false } +sp-std = { workspace = true } +sp-storage = { workspace = true } +sp-timestamp = { workspace = true } @@ -33 +33 @@ sp-timestamp = { path = "../../primitives/timestamp", default-features = false } -docify = "0.2.7" +docify = { workspace = true } @@ -37 +37 @@ sp-core = { path = "../../primitives/core" } -sp-io = { path = "../../primitives/io" } +sp-io = { workspace = true, default-features = true } diff --git substrate/frame/tips/Cargo.toml substrate/frame/tips/Cargo.toml index 7339cf0a8c..fca6fe5b03 100644 --- substrate/frame/tips/Cargo.toml +++ substrate/frame/tips/Cargo.toml @@ -21 +21 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -23 +23 @@ serde = { features = ["derive"], optional = true, workspace = true, default-feat -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } @@ -26 +26 @@ frame-system = { path = "../system", default-features = false } -pallet-treasury = { path = "../treasury", default-features = false } +pallet-treasury = { workspace = true } @@ -28 +28 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -30 +30 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -33,2 +33,2 @@ sp-std = { path = "../../primitives/std", default-features = false } -pallet-balances = { path = "../balances" } -sp-storage = { path = "../../primitives/storage" } +pallet-balances = { workspace = true, default-features = true } +sp-storage = { workspace = true, default-features = true } diff --git substrate/frame/transaction-payment/Cargo.toml substrate/frame/transaction-payment/Cargo.toml index 275e1c01f9..8dc89a4e48 100644 --- substrate/frame/transaction-payment/Cargo.toml +++ substrate/frame/transaction-payment/Cargo.toml @@ -22 +22 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -27 +27 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -29 +29 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -33 +33 @@ serde_json = { workspace = true, default-features = true } -pallet-balances = { path = "../balances" } +pallet-balances = { workspace = true, default-features = true } diff --git substrate/frame/transaction-payment/asset-conversion-tx-payment/Cargo.toml substrate/frame/transaction-payment/asset-conversion-tx-payment/Cargo.toml index 7640cc815e..7897064711 100644 --- substrate/frame/transaction-payment/asset-conversion-tx-payment/Cargo.toml +++ substrate/frame/transaction-payment/asset-conversion-tx-payment/Cargo.toml @@ -21 +21 @@ sp-runtime = { path = "../../../primitives/runtime", default-features = false } -sp-std = { path = "../../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -24,2 +24,2 @@ frame-system = { path = "../../system", default-features = false } -pallet-asset-conversion = { path = "../../asset-conversion", default-features = false } -pallet-transaction-payment = { path = "..", default-features = false } +pallet-asset-conversion = { workspace = true } +pallet-transaction-payment = { workspace = true } @@ -27 +27 @@ codec = { package = "parity-scale-codec", version = "3.2.2", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -31,4 +31,4 @@ sp-core = { path = "../../../primitives/core", default-features = false } -sp-io = { path = "../../../primitives/io", default-features = false } -sp-storage = { path = "../../../primitives/storage", default-features = false } -pallet-assets = { path = "../../assets" } -pallet-balances = { path = "../../balances" } +sp-io = { workspace = true } +sp-storage = { workspace = true } +pallet-assets = { workspace = true, default-features = true } +pallet-balances = { workspace = true, default-features = true } diff --git substrate/frame/transaction-payment/asset-tx-payment/Cargo.toml substrate/frame/transaction-payment/asset-tx-payment/Cargo.toml index 1da3237df0..70ac1eaeda 100644 --- substrate/frame/transaction-payment/asset-tx-payment/Cargo.toml +++ substrate/frame/transaction-payment/asset-tx-payment/Cargo.toml @@ -21 +21 @@ sp-core = { path = "../../../primitives/core", default-features = false } -sp-io = { path = "../../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -23 +23 @@ sp-runtime = { path = "../../../primitives/runtime", default-features = false } -sp-std = { path = "../../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -27,2 +27,2 @@ frame-system = { path = "../../system", default-features = false } -pallet-transaction-payment = { path = "..", default-features = false } -frame-benchmarking = { path = "../../benchmarking", default-features = false, optional = true } +pallet-transaction-payment = { workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -32 +32 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -38 +38 @@ serde_json = { workspace = true, default-features = true } -sp-storage = { path = "../../../primitives/storage", default-features = false } +sp-storage = { workspace = true } @@ -40,3 +40,3 @@ sp-storage = { path = "../../../primitives/storage", default-features = false } -pallet-assets = { path = "../../assets" } -pallet-authorship = { path = "../../authorship" } -pallet-balances = { path = "../../balances" } +pallet-assets = { workspace = true, default-features = true } +pallet-authorship = { workspace = true, default-features = true } +pallet-balances = { workspace = true, default-features = true } diff --git substrate/frame/transaction-payment/rpc/Cargo.toml substrate/frame/transaction-payment/rpc/Cargo.toml index 6d7f632af8..ce2220102c 100644 --- substrate/frame/transaction-payment/rpc/Cargo.toml +++ substrate/frame/transaction-payment/rpc/Cargo.toml @@ -20,4 +20,4 @@ codec = { package = "parity-scale-codec", version = "3.6.1" } -jsonrpsee = { version = "0.22", features = ["client-core", "macros", "server"] } -pallet-transaction-payment-rpc-runtime-api = { path = "runtime-api" } -sp-api = { path = "../../../primitives/api" } -sp-blockchain = { path = "../../../primitives/blockchain" } +jsonrpsee = { features = ["client-core", "macros", "server"] , workspace = true } +pallet-transaction-payment-rpc-runtime-api = { workspace = true, default-features = true } +sp-api = { workspace = true, default-features = true } +sp-blockchain = { workspace = true } @@ -25 +25 @@ sp-core = { path = "../../../primitives/core" } -sp-rpc = { path = "../../../primitives/rpc" } +sp-rpc = { workspace = true } @@ -27 +27 @@ sp-runtime = { path = "../../../primitives/runtime" } -sp-weights = { path = "../../../primitives/weights" } +sp-weights = { workspace = true, default-features = true } diff --git substrate/frame/transaction-payment/rpc/runtime-api/Cargo.toml substrate/frame/transaction-payment/rpc/runtime-api/Cargo.toml index 913dccc05c..6e0b4fb23b 100644 --- substrate/frame/transaction-payment/rpc/runtime-api/Cargo.toml +++ substrate/frame/transaction-payment/rpc/runtime-api/Cargo.toml @@ -20,2 +20,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -pallet-transaction-payment = { path = "../..", default-features = false } -sp-api = { path = "../../../../primitives/api", default-features = false } +pallet-transaction-payment = { workspace = true } +sp-api = { workspace = true } @@ -23 +23 @@ sp-runtime = { path = "../../../../primitives/runtime", default-features = false -sp-weights = { path = "../../../../primitives/weights", default-features = false } +sp-weights = { workspace = true } diff --git substrate/frame/transaction-payment/skip-feeless-payment/Cargo.toml substrate/frame/transaction-payment/skip-feeless-payment/Cargo.toml index 8a6ee09f8d..4fc74aa49e 100644 --- substrate/frame/transaction-payment/skip-feeless-payment/Cargo.toml +++ substrate/frame/transaction-payment/skip-feeless-payment/Cargo.toml @@ -19 +19 @@ sp-runtime = { path = "../../../primitives/runtime", default-features = false } -sp-std = { path = "../../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -26 +26 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } diff --git substrate/frame/transaction-storage/Cargo.toml substrate/frame/transaction-storage/Cargo.toml index 1386d9b5a5..3ab34c61f8 100644 --- substrate/frame/transaction-storage/Cargo.toml +++ substrate/frame/transaction-storage/Cargo.toml @@ -19 +19 @@ targets = ["x86_64-unknown-linux-gnu"] -array-bytes = { version = "6.1", optional = true } +array-bytes = { optional = true , workspace = true, default-features = true } @@ -21 +21 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -23 +23 @@ serde = { optional = true, workspace = true, default-features = true } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } @@ -26 +26 @@ frame-system = { path = "../system", default-features = false } -pallet-balances = { path = "../balances", default-features = false } +pallet-balances = { workspace = true } @@ -28 +28 @@ sp-inherents = { path = "../../primitives/inherents", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -30,2 +30,2 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } -sp-transaction-storage-proof = { path = "../../primitives/transaction-storage-proof", default-features = false } +sp-std = { workspace = true } +sp-transaction-storage-proof = { workspace = true } @@ -36 +36 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-transaction-storage-proof = { path = "../../primitives/transaction-storage-proof", default-features = true } +sp-transaction-storage-proof = { default-features = true, workspace = true } diff --git substrate/frame/treasury/Cargo.toml substrate/frame/treasury/Cargo.toml index 5f90904123..a562c02a65 100644 --- substrate/frame/treasury/Cargo.toml +++ substrate/frame/treasury/Cargo.toml @@ -23,3 +23,3 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -docify = "0.2.7" -impl-trait-for-tuples = "0.2.2" -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +docify = { workspace = true } +impl-trait-for-tuples = { workspace = true } +scale-info = { features = ["derive"] , workspace = true } @@ -27 +27 @@ serde = { features = ["derive"], optional = true, workspace = true, default-feat -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +frame-benchmarking = { optional = true , workspace = true } @@ -30 +30 @@ frame-system = { path = "../system", default-features = false } -pallet-balances = { path = "../balances", default-features = false } +pallet-balances = { workspace = true } @@ -32 +32 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -36,2 +36,2 @@ sp-core = { path = "../../primitives/core", default-features = false, optional = -sp-io = { path = "../../primitives/io" } -pallet-utility = { path = "../utility" } +sp-io = { workspace = true, default-features = true } +pallet-utility = { workspace = true, default-features = true } diff --git substrate/frame/try-runtime/Cargo.toml substrate/frame/try-runtime/Cargo.toml index 15c8ca5d27..612c625ae3 100644 --- substrate/frame/try-runtime/Cargo.toml +++ substrate/frame/try-runtime/Cargo.toml @@ -20 +20 @@ frame-support = { path = "../support", default-features = false } -sp-api = { path = "../../primitives/api", default-features = false } +sp-api = { workspace = true } @@ -22 +22 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } diff --git substrate/frame/tx-pause/Cargo.toml substrate/frame/tx-pause/Cargo.toml index ace2172454..fa9fc7d201 100644 --- substrate/frame/tx-pause/Cargo.toml +++ substrate/frame/tx-pause/Cargo.toml @@ -19,2 +19,2 @@ codec = { package = "parity-scale-codec", version = "3.2.2", default-features = -docify = "0.2.7" -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +docify = { workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -23 +23 @@ frame-system = { path = "../system", default-features = false } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -25,4 +25,4 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } -pallet-balances = { path = "../balances", default-features = false, optional = true } -pallet-utility = { path = "../utility", default-features = false, optional = true } -pallet-proxy = { path = "../proxy", default-features = false, optional = true } +sp-std = { workspace = true } +pallet-balances = { optional = true , workspace = true } +pallet-utility = { optional = true , workspace = true } +pallet-proxy = { optional = true , workspace = true } @@ -32,4 +32,4 @@ sp-core = { path = "../../primitives/core" } -sp-io = { path = "../../primitives/io" } -pallet-balances = { path = "../balances" } -pallet-utility = { path = "../utility" } -pallet-proxy = { path = "../proxy" } +sp-io = { workspace = true, default-features = true } +pallet-balances = { workspace = true, default-features = true } +pallet-utility = { workspace = true, default-features = true } +pallet-proxy = { workspace = true, default-features = true } diff --git substrate/frame/uniques/Cargo.toml substrate/frame/uniques/Cargo.toml index 4e5f21b3d8..bcae0a57d2 100644 --- substrate/frame/uniques/Cargo.toml +++ substrate/frame/uniques/Cargo.toml @@ -21,2 +21,2 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +scale-info = { features = ["derive"] , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -26 +26 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -29 +29 @@ sp-std = { path = "../../primitives/std", default-features = false } -pallet-balances = { path = "../balances" } +pallet-balances = { workspace = true, default-features = true } @@ -31,2 +31,2 @@ sp-core = { path = "../../primitives/core" } -sp-io = { path = "../../primitives/io" } -sp-std = { path = "../../primitives/std" } +sp-io = { workspace = true, default-features = true } +sp-std = { workspace = true, default-features = true } diff --git substrate/frame/utility/Cargo.toml substrate/frame/utility/Cargo.toml index ce5cd0fa61..eae90d46b1 100644 --- substrate/frame/utility/Cargo.toml +++ substrate/frame/utility/Cargo.toml @@ -20,2 +20,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +scale-info = { features = ["derive"] , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -25 +25 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } @@ -27 +27 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -30,4 +30,4 @@ sp-std = { path = "../../primitives/std", default-features = false } -pallet-balances = { path = "../balances" } -pallet-root-testing = { path = "../root-testing" } -pallet-collective = { path = "../collective" } -pallet-timestamp = { path = "../timestamp" } +pallet-balances = { workspace = true, default-features = true } +pallet-root-testing = { workspace = true, default-features = true } +pallet-collective = { workspace = true, default-features = true } +pallet-timestamp = { workspace = true, default-features = true } diff --git substrate/frame/vesting/Cargo.toml substrate/frame/vesting/Cargo.toml index 96938b95a2..b42464e21c 100644 --- substrate/frame/vesting/Cargo.toml +++ substrate/frame/vesting/Cargo.toml @@ -23,2 +23,2 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +scale-info = { features = ["derive"] , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -28 +28 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -31 +31 @@ sp-std = { path = "../../primitives/std", default-features = false } -pallet-balances = { path = "../balances" } +pallet-balances = { workspace = true, default-features = true } @@ -33 +33 @@ sp-core = { path = "../../primitives/core" } -sp-io = { path = "../../primitives/io", default-features = false } +sp-io = { workspace = true } diff --git substrate/frame/whitelist/Cargo.toml substrate/frame/whitelist/Cargo.toml index 1a867f8075..c3f2221536 100644 --- substrate/frame/whitelist/Cargo.toml +++ substrate/frame/whitelist/Cargo.toml @@ -19,2 +19,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true } +scale-info = { features = ["derive"] , workspace = true } +frame-benchmarking = { optional = true , workspace = true } @@ -23 +23 @@ frame-system = { path = "../system", default-features = false } -sp-api = { path = "../../primitives/api", default-features = false } +sp-api = { workspace = true } @@ -25 +25 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } +sp-std = { workspace = true } @@ -28,2 +28,2 @@ sp-std = { path = "../../primitives/std", default-features = false } -pallet-balances = { path = "../balances" } -pallet-preimage = { path = "../preimage" } +pallet-balances = { workspace = true, default-features = true } +pallet-preimage = { workspace = true, default-features = true } @@ -31 +31 @@ sp-core = { path = "../../primitives/core" } -sp-io = { path = "../../primitives/io" } +sp-io = { workspace = true, default-features = true } diff --git substrate/primitives/api/Cargo.toml substrate/primitives/api/Cargo.toml index f4b1d13c52..9f0cb424d6 100644 --- substrate/primitives/api/Cargo.toml +++ substrate/primitives/api/Cargo.toml @@ -20 +20 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -sp-api-proc-macro = { path = "proc-macro", default-features = false } +sp-api-proc-macro = { workspace = true } @@ -22 +22 @@ sp-core = { path = "../core", default-features = false } -sp-std = { path = "../std", default-features = false } +sp-std = { workspace = true } @@ -24,6 +24,6 @@ sp-runtime = { path = "../runtime", default-features = false } -sp-runtime-interface = { path = "../runtime-interface", default-features = false } -sp-externalities = { path = "../externalities", default-features = false, optional = true } -sp-version = { path = "../version", default-features = false } -sp-state-machine = { path = "../state-machine", default-features = false, optional = true } -sp-trie = { path = "../trie", default-features = false, optional = true } -hash-db = { version = "0.16.0", optional = true } +sp-runtime-interface = { workspace = true } +sp-externalities = { optional = true , workspace = true } +sp-version = { workspace = true } +sp-state-machine = { optional = true , workspace = true } +sp-trie = { optional = true , workspace = true } +hash-db = { optional = true , workspace = true, default-features = true } @@ -31 +31 @@ thiserror = { optional = true, workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = [ +scale-info = { features = [ @@ -33,2 +33,2 @@ scale-info = { version = "2.10.0", default-features = false, features = [ -] } -sp-metadata-ir = { path = "../metadata-ir", default-features = false, optional = true } +] , workspace = true } +sp-metadata-ir = { optional = true , workspace = true } @@ -38 +38 @@ log = { workspace = true } -sp-test-primitives = { path = "../test-primitives" } +sp-test-primitives = { workspace = true } diff --git substrate/primitives/api/proc-macro/Cargo.toml substrate/primitives/api/proc-macro/Cargo.toml index f540675868..ef814b1f8a 100644 --- substrate/primitives/api/proc-macro/Cargo.toml +++ substrate/primitives/api/proc-macro/Cargo.toml @@ -24,5 +24,5 @@ syn = { features = ["extra-traits", "fold", "full", "visit"], workspace = true } -proc-macro2 = "1.0.56" -blake2 = { version = "0.10.4", default-features = false } -proc-macro-crate = "3.0.0" -expander = "2.0.0" -Inflector = "0.11.4" +proc-macro2 = { workspace = true } +blake2 = { workspace = true } +proc-macro-crate = { workspace = true } +expander = { workspace = true } +Inflector = { workspace = true } @@ -31 +31 @@ Inflector = "0.11.4" -assert_matches = "1.3.0" +assert_matches = { workspace = true } diff --git substrate/primitives/api/test/Cargo.toml substrate/primitives/api/test/Cargo.toml index 3a90553bbf..c659f88b56 100644 --- substrate/primitives/api/test/Cargo.toml +++ substrate/primitives/api/test/Cargo.toml @@ -18,4 +18,4 @@ targets = ["x86_64-unknown-linux-gnu"] -sp-api = { path = ".." } -substrate-test-runtime-client = { path = "../../../test-utils/runtime/client" } -sp-version = { path = "../../version" } -sp-tracing = { path = "../../tracing" } +sp-api = { workspace = true, default-features = true } +substrate-test-runtime-client = { workspace = true } +sp-version = { workspace = true, default-features = true } +sp-tracing = { workspace = true, default-features = true } @@ -24 +24 @@ sp-consensus = { path = "../../consensus/common" } -sc-block-builder = { path = "../../../client/block-builder" } +sc-block-builder = { workspace = true } @@ -26,4 +26,4 @@ codec = { package = "parity-scale-codec", version = "3.6.1" } -sp-state-machine = { path = "../../state-machine" } -trybuild = "1.0.88" -rustversion = "1.0.6" -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +sp-state-machine = { workspace = true, default-features = true } +trybuild = { workspace = true } +rustversion = { workspace = true } +scale-info = { features = ["derive"] , workspace = true } @@ -32,2 +32,2 @@ scale-info = { version = "2.10.0", default-features = false, features = ["derive -criterion = "0.4.0" -futures = "0.3.21" +criterion = { workspace = true, default-features = true } +futures = { workspace = true } @@ -36 +36 @@ sp-core = { path = "../../core" } -static_assertions = "1.1.0" +static_assertions = { workspace = true, default-features = true } diff --git substrate/primitives/application-crypto/Cargo.toml substrate/primitives/application-crypto/Cargo.toml index 6f90a2b626..b5843f9847 100644 --- substrate/primitives/application-crypto/Cargo.toml +++ substrate/primitives/application-crypto/Cargo.toml @@ -23 +23 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -25,2 +25,2 @@ serde = { optional = true, features = ["alloc", "derive"], workspace = true } -sp-std = { path = "../std", default-features = false } -sp-io = { path = "../io", default-features = false } +sp-std = { workspace = true } +sp-io = { workspace = true } diff --git substrate/primitives/application-crypto/test/Cargo.toml substrate/primitives/application-crypto/test/Cargo.toml index 0057606b38..59b16c9b16 100644 --- substrate/primitives/application-crypto/test/Cargo.toml +++ substrate/primitives/application-crypto/test/Cargo.toml @@ -19 +19 @@ targets = ["x86_64-unknown-linux-gnu"] -sp-api = { path = "../../api" } +sp-api = { workspace = true, default-features = true } @@ -22,2 +22,2 @@ sp-core = { path = "../../core", default-features = false } -sp-keystore = { path = "../../keystore", default-features = false } -substrate-test-runtime-client = { path = "../../../test-utils/runtime/client" } +sp-keystore = { workspace = true } +substrate-test-runtime-client = { workspace = true } diff --git substrate/primitives/arithmetic/Cargo.toml substrate/primitives/arithmetic/Cargo.toml index 301821ad68..310a3f8589 100644 --- substrate/primitives/arithmetic/Cargo.toml +++ substrate/primitives/arithmetic/Cargo.toml @@ -24,3 +24,3 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -integer-sqrt = "0.1.2" -num-traits = { version = "0.2.17", default-features = false } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +integer-sqrt = { workspace = true } +num-traits = { workspace = true } +scale-info = { features = ["derive"] , workspace = true } @@ -28,2 +28,2 @@ serde = { features = ["alloc", "derive"], optional = true, workspace = true } -static_assertions = "1.1.0" -sp-std = { path = "../std", default-features = false } +static_assertions = { workspace = true, default-features = true } +sp-std = { workspace = true } @@ -32,4 +32,4 @@ sp-std = { path = "../std", default-features = false } -criterion = "0.4.0" -primitive-types = "0.12.0" -sp-crypto-hashing = { path = "../crypto/hashing" } -rand = "0.8.5" +criterion = { workspace = true, default-features = true } +primitive-types = { workspace = true, default-features = true } +sp-crypto-hashing = { workspace = true, default-features = true } +rand = { workspace = true, default-features = true } diff --git substrate/primitives/arithmetic/fuzzer/Cargo.toml substrate/primitives/arithmetic/fuzzer/Cargo.toml index ace30e9c90..c978393af3 100644 --- substrate/primitives/arithmetic/fuzzer/Cargo.toml +++ substrate/primitives/arithmetic/fuzzer/Cargo.toml @@ -20,5 +20,5 @@ targets = ["x86_64-unknown-linux-gnu"] -arbitrary = "1.3.2" -fraction = "0.13.1" -honggfuzz = "0.5.49" -num-bigint = "0.4.3" -sp-arithmetic = { path = ".." } +arbitrary = { workspace = true } +fraction = { workspace = true } +honggfuzz = { workspace = true } +num-bigint = { workspace = true } +sp-arithmetic = { workspace = true, default-features = true } diff --git substrate/primitives/authority-discovery/Cargo.toml substrate/primitives/authority-discovery/Cargo.toml index 70f00897cd..8a13111762 100644 --- substrate/primitives/authority-discovery/Cargo.toml +++ substrate/primitives/authority-discovery/Cargo.toml @@ -20,2 +20,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -sp-api = { path = "../api", default-features = false } +scale-info = { features = ["derive"] , workspace = true } +sp-api = { workspace = true } @@ -24 +24 @@ sp-runtime = { path = "../runtime", default-features = false } -sp-std = { path = "../std", default-features = false } +sp-std = { workspace = true } diff --git substrate/primitives/block-builder/Cargo.toml substrate/primitives/block-builder/Cargo.toml index c1317facd7..b7c201be56 100644 --- substrate/primitives/block-builder/Cargo.toml +++ substrate/primitives/block-builder/Cargo.toml @@ -19 +19 @@ targets = ["x86_64-unknown-linux-gnu"] -sp-api = { path = "../api", default-features = false } +sp-api = { workspace = true } @@ -22 +22 @@ sp-runtime = { path = "../runtime", default-features = false } -sp-std = { path = "../std", default-features = false } +sp-std = { workspace = true } diff --git substrate/primitives/blockchain/Cargo.toml substrate/primitives/blockchain/Cargo.toml index 9d13d627ee..bbf0ffeda6 100644 --- substrate/primitives/blockchain/Cargo.toml +++ substrate/primitives/blockchain/Cargo.toml @@ -21 +21 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -futures = "0.3.21" +futures = { workspace = true } @@ -23,2 +23,2 @@ log = { workspace = true, default-features = true } -parking_lot = "0.12.1" -schnellru = "0.2.1" +parking_lot = { workspace = true, default-features = true } +schnellru = { workspace = true } @@ -26 +26 @@ thiserror = { workspace = true } -sp-api = { path = "../api" } +sp-api = { workspace = true, default-features = true } @@ -28 +28 @@ sp-consensus = { path = "../consensus/common" } -sp-database = { path = "../database" } +sp-database = { workspace = true } @@ -30 +30 @@ sp-runtime = { path = "../runtime" } -sp-state-machine = { path = "../state-machine" } +sp-state-machine = { workspace = true, default-features = true } diff --git substrate/primitives/consensus/aura/Cargo.toml substrate/primitives/consensus/aura/Cargo.toml index 52f6bc22ba..43e4588a87 100644 --- substrate/primitives/consensus/aura/Cargo.toml +++ substrate/primitives/consensus/aura/Cargo.toml @@ -19 +19 @@ targets = ["x86_64-unknown-linux-gnu"] -async-trait = { version = "0.1.74", optional = true } +async-trait = { optional = true , workspace = true } @@ -21,2 +21,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -sp-api = { path = "../../api", default-features = false } +scale-info = { features = ["derive"] , workspace = true } +sp-api = { workspace = true } @@ -24 +24 @@ sp-application-crypto = { path = "../../application-crypto", default-features = -sp-consensus-slots = { path = "../slots", default-features = false } +sp-consensus-slots = { workspace = true } @@ -27,2 +27,2 @@ sp-runtime = { path = "../../runtime", default-features = false } -sp-std = { path = "../../std", default-features = false } -sp-timestamp = { path = "../../timestamp", default-features = false } +sp-std = { workspace = true } +sp-timestamp = { workspace = true } diff --git substrate/primitives/consensus/babe/Cargo.toml substrate/primitives/consensus/babe/Cargo.toml index 8b3006f79a..9c3fb8e384 100644 --- substrate/primitives/consensus/babe/Cargo.toml +++ substrate/primitives/consensus/babe/Cargo.toml @@ -19 +19 @@ targets = ["x86_64-unknown-linux-gnu"] -async-trait = { version = "0.1.74", optional = true } +async-trait = { optional = true , workspace = true } @@ -21 +21 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -23 +23 @@ serde = { features = ["alloc", "derive"], optional = true, workspace = true } -sp-api = { path = "../../api", default-features = false } +sp-api = { workspace = true } @@ -25 +25 @@ sp-application-crypto = { path = "../../application-crypto", default-features = -sp-consensus-slots = { path = "../slots", default-features = false } +sp-consensus-slots = { workspace = true } @@ -29,2 +29,2 @@ sp-runtime = { path = "../../runtime", default-features = false } -sp-std = { path = "../../std", default-features = false } -sp-timestamp = { path = "../../timestamp", optional = true } +sp-std = { workspace = true } +sp-timestamp = { optional = true , workspace = true, default-features = true } diff --git substrate/primitives/consensus/beefy/Cargo.toml substrate/primitives/consensus/beefy/Cargo.toml index 8ab817d52e..42b56e4be1 100644 --- substrate/primitives/consensus/beefy/Cargo.toml +++ substrate/primitives/consensus/beefy/Cargo.toml @@ -19 +19 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -21 +21 @@ serde = { optional = true, features = ["alloc", "derive"], workspace = true } -sp-api = { path = "../../api", default-features = false } +sp-api = { workspace = true } @@ -24,3 +24,3 @@ sp-core = { path = "../../core", default-features = false } -sp-crypto-hashing = { path = "../../crypto/hashing", default-features = false } -sp-io = { path = "../../io", default-features = false } -sp-mmr-primitives = { path = "../../merkle-mountain-range", default-features = false } +sp-crypto-hashing = { workspace = true } +sp-io = { workspace = true } +sp-mmr-primitives = { workspace = true } @@ -28,4 +28,4 @@ sp-runtime = { path = "../../runtime", default-features = false } -sp-keystore = { path = "../../keystore", default-features = false } -sp-std = { path = "../../std", default-features = false } -strum = { version = "0.24.1", features = ["derive"], default-features = false } -lazy_static = { version = "1.4.0", optional = true } +sp-keystore = { workspace = true } +sp-std = { workspace = true } +strum = { features = ["derive"], workspace = true } +lazy_static = { optional = true , workspace = true } @@ -34,2 +34,2 @@ lazy_static = { version = "1.4.0", optional = true } -array-bytes = "6.1" -w3f-bls = { version = "0.1.3", features = ["std"] } +array-bytes = { workspace = true, default-features = true } +w3f-bls = { features = ["std"] , workspace = true, default-features = true } diff --git substrate/primitives/consensus/common/Cargo.toml substrate/primitives/consensus/common/Cargo.toml index 048e31b026..a23e32b6ee 100644 --- substrate/primitives/consensus/common/Cargo.toml +++ substrate/primitives/consensus/common/Cargo.toml @@ -20,2 +20,2 @@ targets = ["x86_64-unknown-linux-gnu"] -async-trait = "0.1.74" -futures = { version = "0.3.21", features = ["thread-pool"] } +async-trait = { workspace = true } +futures = { features = ["thread-pool"] , workspace = true } @@ -27 +27 @@ sp-runtime = { path = "../../runtime" } -sp-state-machine = { path = "../../state-machine" } +sp-state-machine = { workspace = true, default-features = true } @@ -30,2 +30,2 @@ sp-state-machine = { path = "../../state-machine" } -futures = "0.3.21" -sp-test-primitives = { path = "../../test-primitives" } +futures = { workspace = true } +sp-test-primitives = { workspace = true } diff --git substrate/primitives/consensus/grandpa/Cargo.toml substrate/primitives/consensus/grandpa/Cargo.toml index b06208a430..e3e1c77218 100644 --- substrate/primitives/consensus/grandpa/Cargo.toml +++ substrate/primitives/consensus/grandpa/Cargo.toml @@ -23 +23 @@ log = { workspace = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -25 +25 @@ serde = { features = ["alloc", "derive"], optional = true, workspace = true } -sp-api = { path = "../../api", default-features = false } +sp-api = { workspace = true } @@ -28 +28 @@ sp-core = { path = "../../core", default-features = false } -sp-keystore = { path = "../../keystore", default-features = false, optional = true } +sp-keystore = { optional = true , workspace = true } @@ -30 +30 @@ sp-runtime = { path = "../../runtime", default-features = false } -sp-std = { path = "../../std", default-features = false } +sp-std = { workspace = true } diff --git substrate/primitives/consensus/pow/Cargo.toml substrate/primitives/consensus/pow/Cargo.toml index 8147b063f6..9aaaa07ac2 100644 --- substrate/primitives/consensus/pow/Cargo.toml +++ substrate/primitives/consensus/pow/Cargo.toml @@ -20 +20 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -sp-api = { path = "../../api", default-features = false } +sp-api = { workspace = true } @@ -23 +23 @@ sp-runtime = { path = "../../runtime", default-features = false } -sp-std = { path = "../../std", default-features = false } +sp-std = { workspace = true } diff --git substrate/primitives/consensus/sassafras/Cargo.toml substrate/primitives/consensus/sassafras/Cargo.toml index b707ad18b5..75a5b40b3f 100644 --- substrate/primitives/consensus/sassafras/Cargo.toml +++ substrate/primitives/consensus/sassafras/Cargo.toml @@ -22 +22 @@ scale-codec = { package = "parity-scale-codec", version = "3.2.2", default-featu -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -24 +24 @@ serde = { features = ["derive"], optional = true, workspace = true } -sp-api = { path = "../../api", default-features = false } +sp-api = { workspace = true } @@ -26 +26 @@ sp-application-crypto = { path = "../../application-crypto", default-features = -sp-consensus-slots = { path = "../slots", default-features = false } +sp-consensus-slots = { workspace = true } @@ -29 +29 @@ sp-runtime = { path = "../../runtime", default-features = false } -sp-std = { path = "../../std", default-features = false } +sp-std = { workspace = true } diff --git substrate/primitives/consensus/slots/Cargo.toml substrate/primitives/consensus/slots/Cargo.toml index 8372b2b04a..8a137ad94e 100644 --- substrate/primitives/consensus/slots/Cargo.toml +++ substrate/primitives/consensus/slots/Cargo.toml @@ -20 +20 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -22,2 +22,2 @@ serde = { features = ["alloc", "derive"], optional = true, workspace = true } -sp-std = { path = "../../std", default-features = false } -sp-timestamp = { path = "../../timestamp", default-features = false } +sp-std = { workspace = true } +sp-timestamp = { workspace = true } diff --git substrate/primitives/core/Cargo.toml substrate/primitives/core/Cargo.toml index 8fcabfeb23..1b9db36efe 100644 --- substrate/primitives/core/Cargo.toml +++ substrate/primitives/core/Cargo.toml @@ -20 +20 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -23,19 +23,19 @@ serde = { optional = true, features = ["alloc", "derive"], workspace = true } -bounded-collections = { version = "0.2.0", default-features = false } -primitive-types = { version = "0.12.0", default-features = false, features = ["codec", "scale-info"] } -impl-serde = { version = "0.4.0", default-features = false, optional = true } -hash-db = { version = "0.16.0", default-features = false } -hash256-std-hasher = { version = "0.15.2", default-features = false } -bs58 = { version = "0.5.0", default-features = false, optional = true } -rand = { version = "0.8.5", features = ["small_rng"], optional = true } -substrate-bip39 = { version = "0.4.5", optional = true } -bip39 = { version = "2.0.0", default-features = false } -zeroize = { version = "1.4.3", default-features = false } -secrecy = { version = "0.8.0", default-features = false } -parking_lot = { version = "0.12.1", optional = true } -ss58-registry = { version = "1.34.0", default-features = false } -sp-std = { path = "../std", default-features = false } -sp-debug-derive = { path = "../debug-derive", default-features = false } -sp-storage = { path = "../storage", default-features = false } -sp-externalities = { path = "../externalities", optional = true } -futures = { version = "0.3.21", optional = true } -dyn-clonable = { version = "0.9.0", optional = true } +bounded-collections = { workspace = true } +primitive-types = { features = ["codec", "scale-info"] , workspace = true } +impl-serde = { optional = true , workspace = true } +hash-db = { workspace = true } +hash256-std-hasher = { workspace = true } +bs58 = { optional = true , workspace = true } +rand = { features = ["small_rng"], optional = true , workspace = true, default-features = true } +substrate-bip39 = { optional = true , workspace = true } +bip39 = { workspace = true } +zeroize = { workspace = true } +secrecy = { workspace = true } +parking_lot = { optional = true , workspace = true, default-features = true } +ss58-registry = { workspace = true } +sp-std = { workspace = true } +sp-debug-derive = { workspace = true } +sp-storage = { workspace = true } +sp-externalities = { optional = true , workspace = true, default-features = true } +futures = { optional = true , workspace = true } +dyn-clonable = { optional = true , workspace = true } @@ -43,4 +43,4 @@ thiserror = { optional = true, workspace = true } -tracing = { version = "0.1.29", optional = true } -bitflags = "1.3" -paste = "1.0.7" -itertools = { version = "0.10.3", optional = true } +tracing = { optional = true , workspace = true, default-features = true } +bitflags = { workspace = true } +paste = { workspace = true, default-features = true } +itertools = { optional = true , workspace = true } @@ -49,9 +49,9 @@ itertools = { version = "0.10.3", optional = true } -array-bytes = { version = "6.1", optional = true } -ed25519-zebra = { version = "3.1.0", default-features = false, optional = true } -blake2 = { version = "0.10.4", default-features = false, optional = true } -libsecp256k1 = { version = "0.7", default-features = false, features = ["static-context"], optional = true } -schnorrkel = { version = "0.11.4", features = ["preaudit_deprecated"], default-features = false } -merlin = { version = "3.0", default-features = false } -secp256k1 = { version = "0.28.0", default-features = false, features = ["alloc", "recovery"], optional = true } -sp-crypto-hashing = { path = "../crypto/hashing", default-features = false, optional = true } -sp-runtime-interface = { path = "../runtime-interface", default-features = false } +array-bytes = { optional = true , workspace = true, default-features = true } +ed25519-zebra = { optional = true , workspace = true } +blake2 = { optional = true , workspace = true } +libsecp256k1 = { features = ["static-context"], optional = true , workspace = true } +schnorrkel = { features = ["preaudit_deprecated"], workspace = true } +merlin = { workspace = true } +secp256k1 = { features = ["alloc", "recovery"], optional = true , workspace = true } +sp-crypto-hashing = { optional = true , workspace = true } +sp-runtime-interface = { workspace = true } @@ -60 +60 @@ sp-runtime-interface = { path = "../runtime-interface", default-features = false -w3f-bls = { version = "0.1.3", default-features = false, optional = true } +w3f-bls = { optional = true , workspace = true } @@ -65 +65 @@ bandersnatch_vrfs = { git = "https://github.com/w3f/ring-vrf", rev = "e9782f9", -criterion = "0.4.0" +criterion = { workspace = true, default-features = true } @@ -67,2 +67,2 @@ serde_json = { workspace = true, default-features = true } -lazy_static = "1.4.0" -regex = "1.6.0" +lazy_static = { workspace = true } +regex = { workspace = true } diff --git substrate/primitives/core/fuzz/Cargo.toml substrate/primitives/core/fuzz/Cargo.toml index c6b5a065b6..87bbc54a78 100644 --- substrate/primitives/core/fuzz/Cargo.toml +++ substrate/primitives/core/fuzz/Cargo.toml @@ -13,3 +13,3 @@ cargo-fuzz = true -lazy_static = "1.4.0" -libfuzzer-sys = "0.4" -regex = "1.10.2" +lazy_static = { workspace = true } +libfuzzer-sys = { workspace = true } +regex = { workspace = true } diff --git substrate/primitives/crypto/ec-utils/Cargo.toml substrate/primitives/crypto/ec-utils/Cargo.toml index 43daad0892..9d792b7e9f 100644 --- substrate/primitives/crypto/ec-utils/Cargo.toml +++ substrate/primitives/crypto/ec-utils/Cargo.toml @@ -18,14 +18,14 @@ targets = ["x86_64-unknown-linux-gnu"] -ark-ec = { version = "0.4.2", default-features = false, optional = true } -ark-bls12-377-ext = { version = "0.4.1", default-features = false, optional = true } -ark-bls12-377 = { version = "0.4.0", default-features = false, features = ["curve"], optional = true } -ark-bls12-381-ext = { version = "0.4.1", default-features = false, optional = true } -ark-bls12-381 = { version = "0.4.0", default-features = false, features = ["curve"], optional = true } -ark-bw6-761-ext = { version = "0.4.1", default-features = false, optional = true } -ark-bw6-761 = { version = "0.4.0", default-features = false, optional = true } -ark-ed-on-bls12-381-bandersnatch-ext = { version = "0.4.1", default-features = false, optional = true } -ark-ed-on-bls12-381-bandersnatch = { version = "0.4.0", default-features = false, optional = true } -ark-ed-on-bls12-377-ext = { version = "0.4.1", default-features = false, optional = true } -ark-ed-on-bls12-377 = { version = "0.4.0", default-features = false, optional = true } -ark-scale = { version = "0.0.12", default-features = false, features = ["hazmat"], optional = true } -sp-runtime-interface = { path = "../../runtime-interface", default-features = false, optional = true } -sp-std = { path = "../../std", default-features = false, optional = true } +ark-ec = { optional = true , workspace = true } +ark-bls12-377-ext = { optional = true , workspace = true } +ark-bls12-377 = { features = ["curve"], optional = true , workspace = true } +ark-bls12-381-ext = { optional = true , workspace = true } +ark-bls12-381 = { features = ["curve"], optional = true , workspace = true } +ark-bw6-761-ext = { optional = true , workspace = true } +ark-bw6-761 = { optional = true , workspace = true } +ark-ed-on-bls12-381-bandersnatch-ext = { optional = true , workspace = true } +ark-ed-on-bls12-381-bandersnatch = { optional = true , workspace = true } +ark-ed-on-bls12-377-ext = { optional = true , workspace = true } +ark-ed-on-bls12-377 = { optional = true , workspace = true } +ark-scale = { features = ["hazmat"], optional = true , workspace = true } +sp-runtime-interface = { optional = true , workspace = true } +sp-std = { optional = true , workspace = true } diff --git substrate/primitives/crypto/hashing/Cargo.toml substrate/primitives/crypto/hashing/Cargo.toml index 3077e1e715..922074d129 100644 --- substrate/primitives/crypto/hashing/Cargo.toml +++ substrate/primitives/crypto/hashing/Cargo.toml @@ -19,6 +19,6 @@ targets = ["x86_64-unknown-linux-gnu"] -blake2b_simd = { version = "1.0.1", default-features = false } -byteorder = { version = "1.3.2", default-features = false } -digest = { version = "0.10.3", default-features = false } -sha2 = { version = "0.10.7", default-features = false } -sha3 = { version = "0.10.0", default-features = false } -twox-hash = { version = "1.6.3", default-features = false, features = ["digest_0_10"] } +blake2b_simd = { workspace = true } +byteorder = { workspace = true } +digest = { workspace = true } +sha2 = { workspace = true } +sha3 = { workspace = true } +twox-hash = { features = ["digest_0_10"] , workspace = true } @@ -27,2 +27,2 @@ twox-hash = { version = "1.6.3", default-features = false, features = ["digest_0 -criterion = "0.4.0" -sp-crypto-hashing-proc-macro = { path = "proc-macro" } +criterion = { workspace = true, default-features = true } +sp-crypto-hashing-proc-macro = { workspace = true } diff --git substrate/primitives/crypto/hashing/proc-macro/Cargo.toml substrate/primitives/crypto/hashing/proc-macro/Cargo.toml index f244b02ca1..0698326fce 100644 --- substrate/primitives/crypto/hashing/proc-macro/Cargo.toml +++ substrate/primitives/crypto/hashing/proc-macro/Cargo.toml @@ -24 +24 @@ syn = { features = ["full", "parsing"], workspace = true } -sp-crypto-hashing = { path = "..", default-features = false } +sp-crypto-hashing = { workspace = true } diff --git substrate/primitives/database/Cargo.toml substrate/primitives/database/Cargo.toml index 081aad6075..c0867198e8 100644 --- substrate/primitives/database/Cargo.toml +++ substrate/primitives/database/Cargo.toml @@ -17,2 +17,2 @@ workspace = true -kvdb = "0.13.0" -parking_lot = "0.12.1" +kvdb = { workspace = true } +parking_lot = { workspace = true, default-features = true } diff --git substrate/primitives/debug-derive/Cargo.toml substrate/primitives/debug-derive/Cargo.toml index debf964aa3..4f45d6525c 100644 --- substrate/primitives/debug-derive/Cargo.toml +++ substrate/primitives/debug-derive/Cargo.toml @@ -24 +24 @@ syn = { workspace = true } -proc-macro2 = "1.0.56" +proc-macro2 = { workspace = true } diff --git substrate/primitives/externalities/Cargo.toml substrate/primitives/externalities/Cargo.toml index 6dc4f0a0da..995d0a513f 100644 --- substrate/primitives/externalities/Cargo.toml +++ substrate/primitives/externalities/Cargo.toml @@ -21,3 +21,3 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -environmental = { version = "1.1.3", default-features = false } -sp-std = { path = "../std", default-features = false } -sp-storage = { path = "../storage", default-features = false } +environmental = { workspace = true } +sp-std = { workspace = true } +sp-storage = { workspace = true } diff --git substrate/primitives/genesis-builder/Cargo.toml substrate/primitives/genesis-builder/Cargo.toml index bf12433c5f..3d32fd4205 100644 --- substrate/primitives/genesis-builder/Cargo.toml +++ substrate/primitives/genesis-builder/Cargo.toml @@ -19 +19 @@ targets = ["x86_64-unknown-linux-gnu"] -sp-api = { path = "../api", default-features = false } +sp-api = { workspace = true } @@ -21 +21 @@ sp-runtime = { path = "../runtime", default-features = false } -sp-std = { path = "../std", default-features = false } +sp-std = { workspace = true } diff --git substrate/primitives/inherents/Cargo.toml substrate/primitives/inherents/Cargo.toml index bfb1d77334..0fb564db64 100644 --- substrate/primitives/inherents/Cargo.toml +++ substrate/primitives/inherents/Cargo.toml @@ -20 +20 @@ targets = ["x86_64-unknown-linux-gnu"] -async-trait = { version = "0.1.74", optional = true } +async-trait = { optional = true , workspace = true } @@ -22,2 +22,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -impl-trait-for-tuples = "0.2.2" +scale-info = { features = ["derive"] , workspace = true } +impl-trait-for-tuples = { workspace = true } @@ -26 +26 @@ sp-runtime = { path = "../runtime", default-features = false, optional = true } -sp-std = { path = "../std", default-features = false } +sp-std = { workspace = true } @@ -29 +29 @@ sp-std = { path = "../std", default-features = false } -futures = "0.3.21" +futures = { workspace = true } diff --git substrate/primitives/io/Cargo.toml substrate/primitives/io/Cargo.toml index c78def9bf4..8e95ec1c51 100644 --- substrate/primitives/io/Cargo.toml +++ substrate/primitives/io/Cargo.toml @@ -21 +21 @@ targets = ["x86_64-unknown-linux-gnu"] -bytes = { version = "1.1.0", default-features = false } +bytes = { workspace = true } @@ -24,9 +24,9 @@ sp-core = { path = "../core", default-features = false } -sp-crypto-hashing = { path = "../crypto/hashing", default-features = false } -sp-keystore = { path = "../keystore", default-features = false, optional = true } -sp-std = { path = "../std", default-features = false } -libsecp256k1 = { version = "0.7", optional = true } -sp-state-machine = { path = "../state-machine", default-features = false, optional = true } -sp-runtime-interface = { path = "../runtime-interface", default-features = false } -sp-trie = { path = "../trie", default-features = false, optional = true } -sp-externalities = { path = "../externalities", default-features = false } -sp-tracing = { path = "../tracing", default-features = false } +sp-crypto-hashing = { workspace = true } +sp-keystore = { optional = true , workspace = true } +sp-std = { workspace = true } +libsecp256k1 = { optional = true , workspace = true, default-features = true } +sp-state-machine = { optional = true , workspace = true } +sp-runtime-interface = { workspace = true } +sp-trie = { optional = true , workspace = true } +sp-externalities = { workspace = true } +sp-tracing = { workspace = true } @@ -34,3 +34,3 @@ log = { optional = true, workspace = true, default-features = true } -secp256k1 = { version = "0.28.0", features = ["global-context", "recovery"], optional = true } -tracing = { version = "0.1.29", default-features = false } -tracing-core = { version = "0.1.32", default-features = false } +secp256k1 = { features = ["global-context", "recovery"], optional = true , workspace = true, default-features = true } +tracing = { workspace = true } +tracing-core = { workspace = true } @@ -39 +39 @@ tracing-core = { version = "0.1.32", default-features = false } -ed25519-dalek = { version = "2.1", default-features = false, optional = true } +ed25519-dalek = { optional = true , workspace = true } @@ -42 +42 @@ ed25519-dalek = { version = "2.1", default-features = false, optional = true } -rustversion = "1.0.6" +rustversion = { workspace = true } diff --git substrate/primitives/keyring/Cargo.toml substrate/primitives/keyring/Cargo.toml index 1c936b6685..9bdc4958cf 100644 --- substrate/primitives/keyring/Cargo.toml +++ substrate/primitives/keyring/Cargo.toml @@ -20 +20 @@ targets = ["x86_64-unknown-linux-gnu"] -strum = { version = "0.24.1", features = ["derive"], default-features = false } +strum = { features = ["derive"], workspace = true } diff --git substrate/primitives/keystore/Cargo.toml substrate/primitives/keystore/Cargo.toml index a34839358e..66cc4dfe7e 100644 --- substrate/primitives/keystore/Cargo.toml +++ substrate/primitives/keystore/Cargo.toml @@ -20 +20 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -parking_lot = { version = "0.12.1", default-features = false, optional = true } +parking_lot = { optional = true , workspace = true } @@ -22 +22 @@ sp-core = { path = "../core", default-features = false } -sp-externalities = { path = "../externalities", default-features = false } +sp-externalities = { workspace = true } @@ -25,2 +25,2 @@ sp-externalities = { path = "../externalities", default-features = false } -rand = "0.8.5" -rand_chacha = "0.2.2" +rand = { workspace = true, default-features = true } +rand_chacha = { workspace = true, default-features = true } diff --git substrate/primitives/maybe-compressed-blob/Cargo.toml substrate/primitives/maybe-compressed-blob/Cargo.toml index fa5383d03b..c74e00688f 100644 --- substrate/primitives/maybe-compressed-blob/Cargo.toml +++ substrate/primitives/maybe-compressed-blob/Cargo.toml @@ -18 +18 @@ thiserror = { workspace = true } -zstd = { version = "0.12.4", default-features = false } +zstd = { workspace = true } diff --git substrate/primitives/merkle-mountain-range/Cargo.toml substrate/primitives/merkle-mountain-range/Cargo.toml index 50d8477823..d63d93a999 100644 --- substrate/primitives/merkle-mountain-range/Cargo.toml +++ substrate/primitives/merkle-mountain-range/Cargo.toml @@ -19 +19 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -21 +21 @@ log = { workspace = true } -mmr-lib = { package = "ckb-merkle-mountain-range", version = "0.5.2", default-features = false } +mmr-lib = { workspace = true } @@ -23 +23 @@ serde = { features = ["alloc", "derive"], optional = true, workspace = true } -sp-api = { path = "../api", default-features = false } +sp-api = { workspace = true } @@ -25 +25 @@ sp-core = { path = "../core", default-features = false } -sp-debug-derive = { path = "../debug-derive", default-features = false } +sp-debug-derive = { workspace = true } @@ -27 +27 @@ sp-runtime = { path = "../runtime", default-features = false } -sp-std = { path = "../std", default-features = false } +sp-std = { workspace = true } @@ -31 +31 @@ thiserror = { optional = true, workspace = true } -array-bytes = "6.1" +array-bytes = { workspace = true, default-features = true } diff --git substrate/primitives/metadata-ir/Cargo.toml substrate/primitives/metadata-ir/Cargo.toml index e4203d0e37..a83b0cfae3 100644 --- substrate/primitives/metadata-ir/Cargo.toml +++ substrate/primitives/metadata-ir/Cargo.toml @@ -20,3 +20,3 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -frame-metadata = { version = "16.0.0", default-features = false, features = ["current"] } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -sp-std = { path = "../std", default-features = false } +frame-metadata = { features = ["current"] , workspace = true } +scale-info = { features = ["derive"] , workspace = true } +sp-std = { workspace = true } diff --git substrate/primitives/mixnet/Cargo.toml substrate/primitives/mixnet/Cargo.toml index 39cf684b97..d6d6be2a28 100644 --- substrate/primitives/mixnet/Cargo.toml +++ substrate/primitives/mixnet/Cargo.toml @@ -20,2 +20,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -sp-api = { default-features = false, path = "../api" } +scale-info = { features = ["derive"] , workspace = true } +sp-api = { workspace = true } @@ -23 +23 @@ sp-application-crypto = { default-features = false, path = "../application-crypt -sp-std = { default-features = false, path = "../std" } +sp-std = { workspace = true } diff --git substrate/primitives/npos-elections/Cargo.toml substrate/primitives/npos-elections/Cargo.toml index 7373aa849c..760b9def98 100644 --- substrate/primitives/npos-elections/Cargo.toml +++ substrate/primitives/npos-elections/Cargo.toml @@ -20 +20 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -22 +22 @@ serde = { features = ["alloc", "derive"], optional = true, workspace = true } -sp-arithmetic = { path = "../arithmetic", default-features = false } +sp-arithmetic = { workspace = true } @@ -25 +25 @@ sp-runtime = { path = "../runtime", default-features = false } -sp-std = { path = "../std", default-features = false } +sp-std = { workspace = true } @@ -28,2 +28,2 @@ sp-std = { path = "../std", default-features = false } -rand = "0.8.5" -substrate-test-utils = { path = "../../test-utils" } +rand = { workspace = true, default-features = true } +substrate-test-utils = { workspace = true } diff --git substrate/primitives/npos-elections/fuzzer/Cargo.toml substrate/primitives/npos-elections/fuzzer/Cargo.toml index bcd908b970..4e77b0d13d 100644 --- substrate/primitives/npos-elections/fuzzer/Cargo.toml +++ substrate/primitives/npos-elections/fuzzer/Cargo.toml @@ -20,4 +20,4 @@ targets = ["x86_64-unknown-linux-gnu"] -clap = { version = "4.5.1", features = ["derive"] } -honggfuzz = "0.5" -rand = { version = "0.8", features = ["small_rng", "std"] } -sp-npos-elections = { path = ".." } +clap = { features = ["derive"] , workspace = true } +honggfuzz = { workspace = true } +rand = { features = ["small_rng", "std"] , workspace = true, default-features = true } +sp-npos-elections = { workspace = true, default-features = true } diff --git substrate/primitives/offchain/Cargo.toml substrate/primitives/offchain/Cargo.toml index 1f5bf0ce03..d6bc5fd8c8 100644 --- substrate/primitives/offchain/Cargo.toml +++ substrate/primitives/offchain/Cargo.toml @@ -19 +19 @@ targets = ["x86_64-unknown-linux-gnu"] -sp-api = { path = "../api", default-features = false } +sp-api = { workspace = true } diff --git substrate/primitives/panic-handler/Cargo.toml substrate/primitives/panic-handler/Cargo.toml index 9c7ba4ba0b..7449cf3f8b 100644 --- substrate/primitives/panic-handler/Cargo.toml +++ substrate/primitives/panic-handler/Cargo.toml @@ -20,3 +20,3 @@ targets = ["x86_64-unknown-linux-gnu"] -backtrace = "0.3.64" -lazy_static = "1.4.0" -regex = "1.6.0" +backtrace = { workspace = true } +lazy_static = { workspace = true } +regex = { workspace = true } diff --git substrate/primitives/rpc/Cargo.toml substrate/primitives/rpc/Cargo.toml index dce0eeee9f..e5a6aef6a2 100644 --- substrate/primitives/rpc/Cargo.toml +++ substrate/primitives/rpc/Cargo.toml @@ -19 +19 @@ targets = ["x86_64-unknown-linux-gnu"] -rustc-hash = "1.1.0" +rustc-hash = { workspace = true } diff --git substrate/primitives/runtime-interface/Cargo.toml substrate/primitives/runtime-interface/Cargo.toml index b4fab17eeb..d3bb17cc57 100644 --- substrate/primitives/runtime-interface/Cargo.toml +++ substrate/primitives/runtime-interface/Cargo.toml @@ -20,6 +20,6 @@ targets = ["x86_64-unknown-linux-gnu"] -bytes = { version = "1.1.0", default-features = false } -sp-wasm-interface = { path = "../wasm-interface", default-features = false } -sp-std = { path = "../std", default-features = false } -sp-tracing = { path = "../tracing", default-features = false } -sp-runtime-interface-proc-macro = { path = "proc-macro" } -sp-externalities = { path = "../externalities", default-features = false } +bytes = { workspace = true } +sp-wasm-interface = { workspace = true } +sp-std = { workspace = true } +sp-tracing = { workspace = true } +sp-runtime-interface-proc-macro = { workspace = true } +sp-externalities = { workspace = true } @@ -27,4 +27,4 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -static_assertions = "1.0.0" -primitive-types = { version = "0.12.0", default-features = false } -sp-storage = { path = "../storage", default-features = false } -impl-trait-for-tuples = "0.2.2" +static_assertions = { workspace = true, default-features = true } +primitive-types = { workspace = true } +sp-storage = { workspace = true } +impl-trait-for-tuples = { workspace = true } @@ -36,2 +36,2 @@ polkavm-derive = { workspace = true } -sp-runtime-interface-test-wasm = { path = "test-wasm" } -sp-state-machine = { path = "../state-machine" } +sp-runtime-interface-test-wasm = { workspace = true } +sp-state-machine = { workspace = true, default-features = true } @@ -39,3 +39,3 @@ sp-core = { path = "../core" } -sp-io = { path = "../io" } -rustversion = "1.0.6" -trybuild = "1.0.88" +sp-io = { workspace = true, default-features = true } +rustversion = { workspace = true } +trybuild = { workspace = true } diff --git substrate/primitives/runtime-interface/proc-macro/Cargo.toml substrate/primitives/runtime-interface/proc-macro/Cargo.toml index 7dbd810fea..70b72463de 100644 --- substrate/primitives/runtime-interface/proc-macro/Cargo.toml +++ substrate/primitives/runtime-interface/proc-macro/Cargo.toml @@ -22,3 +22,3 @@ proc-macro = true -Inflector = "0.11.4" -proc-macro-crate = "3.0.0" -proc-macro2 = "1.0.56" +Inflector = { workspace = true } +proc-macro-crate = { workspace = true } +proc-macro2 = { workspace = true } @@ -26 +26 @@ quote = { workspace = true } -expander = "2.0.0" +expander = { workspace = true } diff --git substrate/primitives/runtime-interface/test-wasm-deprecated/Cargo.toml substrate/primitives/runtime-interface/test-wasm-deprecated/Cargo.toml index f663c6d472..9e4d402718 100644 --- substrate/primitives/runtime-interface/test-wasm-deprecated/Cargo.toml +++ substrate/primitives/runtime-interface/test-wasm-deprecated/Cargo.toml @@ -20,2 +20,2 @@ sp-core = { path = "../../core", default-features = false } -sp-io = { path = "../../io", default-features = false } -sp-runtime-interface = { path = "..", default-features = false } +sp-io = { workspace = true } +sp-runtime-interface = { workspace = true } @@ -24 +24 @@ sp-runtime-interface = { path = "..", default-features = false } -substrate-wasm-builder = { path = "../../../utils/wasm-builder", optional = true } +substrate-wasm-builder = { optional = true , workspace = true } diff --git substrate/primitives/runtime-interface/test-wasm/Cargo.toml substrate/primitives/runtime-interface/test-wasm/Cargo.toml index ecb3c7f873..5518def5f8 100644 --- substrate/primitives/runtime-interface/test-wasm/Cargo.toml +++ substrate/primitives/runtime-interface/test-wasm/Cargo.toml @@ -19 +19 @@ targets = ["x86_64-unknown-linux-gnu"] -bytes = { version = "1.1.0", default-features = false } +bytes = { workspace = true } @@ -21,3 +21,3 @@ sp-core = { path = "../../core", default-features = false } -sp-io = { path = "../../io", default-features = false } -sp-runtime-interface = { path = "..", default-features = false } -sp-std = { path = "../../std", default-features = false } +sp-io = { workspace = true } +sp-runtime-interface = { workspace = true } +sp-std = { workspace = true } @@ -26 +26 @@ sp-std = { path = "../../std", default-features = false } -substrate-wasm-builder = { path = "../../../utils/wasm-builder", optional = true } +substrate-wasm-builder = { optional = true , workspace = true } diff --git substrate/primitives/runtime-interface/test/Cargo.toml substrate/primitives/runtime-interface/test/Cargo.toml index 55d7096098..5ecaec1764 100644 --- substrate/primitives/runtime-interface/test/Cargo.toml +++ substrate/primitives/runtime-interface/test/Cargo.toml @@ -18,5 +18,5 @@ targets = ["x86_64-unknown-linux-gnu"] -tracing = "0.1.29" -tracing-core = "0.1.32" -sc-executor = { path = "../../../client/executor" } -sc-executor-common = { path = "../../../client/executor/common" } -sp-io = { path = "../../io" } +tracing = { workspace = true, default-features = true } +tracing-core = { workspace = true, default-features = true } +sc-executor = { workspace = true } +sc-executor-common = { workspace = true } +sp-io = { workspace = true, default-features = true } @@ -24,4 +24,4 @@ sp-runtime = { path = "../../runtime" } -sp-runtime-interface = { path = ".." } -sp-runtime-interface-test-wasm = { path = "../test-wasm" } -sp-runtime-interface-test-wasm-deprecated = { path = "../test-wasm-deprecated" } -sp-state-machine = { path = "../../state-machine" } +sp-runtime-interface = { workspace = true, default-features = true } +sp-runtime-interface-test-wasm = { workspace = true } +sp-runtime-interface-test-wasm-deprecated = { workspace = true } +sp-state-machine = { workspace = true, default-features = true } diff --git substrate/primitives/runtime/Cargo.toml substrate/primitives/runtime/Cargo.toml index cacfc05972..a564f4389f 100644 --- substrate/primitives/runtime/Cargo.toml +++ substrate/primitives/runtime/Cargo.toml @@ -21,3 +21,3 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -either = { version = "1.5", default-features = false } -hash256-std-hasher = { version = "0.15.2", default-features = false } -impl-trait-for-tuples = "0.2.2" +either = { workspace = true } +hash256-std-hasher = { workspace = true } +impl-trait-for-tuples = { workspace = true } @@ -25,3 +25,3 @@ log = { workspace = true } -paste = "1.0" -rand = { version = "0.8.5", optional = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +paste = { workspace = true, default-features = true } +rand = { optional = true , workspace = true, default-features = true } +scale-info = { features = ["derive"] , workspace = true } @@ -30 +30 @@ sp-application-crypto = { path = "../application-crypto", default-features = fal -sp-arithmetic = { path = "../arithmetic", default-features = false } +sp-arithmetic = { workspace = true } @@ -32,4 +32,4 @@ sp-core = { path = "../core", default-features = false } -sp-io = { path = "../io", default-features = false } -sp-std = { path = "../std", default-features = false } -sp-weights = { path = "../weights", default-features = false } -docify = { version = "0.2.7" } +sp-io = { workspace = true } +sp-std = { workspace = true } +sp-weights = { workspace = true } +docify = { workspace = true } @@ -37 +37 @@ docify = { version = "0.2.7" } -simple-mermaid = { version = "0.1.1", optional = true } +simple-mermaid = { optional = true , workspace = true } @@ -40 +40 @@ simple-mermaid = { version = "0.1.1", optional = true } -rand = "0.8.5" +rand = { workspace = true, default-features = true } @@ -42,5 +42,5 @@ serde_json = { workspace = true, default-features = true } -zstd = { version = "0.12.4", default-features = false } -sp-api = { path = "../api" } -sp-state-machine = { path = "../state-machine" } -sp-tracing = { path = "../tracing" } -substrate-test-runtime-client = { path = "../../test-utils/runtime/client" } +zstd = { workspace = true } +sp-api = { workspace = true, default-features = true } +sp-state-machine = { workspace = true, default-features = true } +sp-tracing = { workspace = true, default-features = true } +substrate-test-runtime-client = { workspace = true } diff --git substrate/primitives/session/Cargo.toml substrate/primitives/session/Cargo.toml index 99764c0a17..73a38fd43a 100644 --- substrate/primitives/session/Cargo.toml +++ substrate/primitives/session/Cargo.toml @@ -20,2 +20,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -sp-api = { path = "../api", default-features = false } +scale-info = { features = ["derive"] , workspace = true } +sp-api = { workspace = true } @@ -24,3 +24,3 @@ sp-runtime = { path = "../runtime", optional = true } -sp-staking = { path = "../staking", default-features = false } -sp-std = { path = "../std", default-features = false } -sp-keystore = { path = "../keystore", optional = true } +sp-staking = { workspace = true } +sp-std = { workspace = true } +sp-keystore = { optional = true , workspace = true, default-features = true } diff --git substrate/primitives/staking/Cargo.toml substrate/primitives/staking/Cargo.toml index 21346fbaca..788d01efbc 100644 --- substrate/primitives/staking/Cargo.toml +++ substrate/primitives/staking/Cargo.toml @@ -21,2 +21,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -impl-trait-for-tuples = "0.2.2" +scale-info = { features = ["derive"] , workspace = true } +impl-trait-for-tuples = { workspace = true } @@ -26 +26 @@ sp-runtime = { path = "../runtime", default-features = false } -sp-std = { path = "../std", default-features = false } +sp-std = { workspace = true } diff --git substrate/primitives/state-machine/Cargo.toml substrate/primitives/state-machine/Cargo.toml index 09994f1ae9..394fd91e89 100644 --- substrate/primitives/state-machine/Cargo.toml +++ substrate/primitives/state-machine/Cargo.toml @@ -21 +21 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -hash-db = { version = "0.16.0", default-features = false } +hash-db = { workspace = true } @@ -23,3 +23,3 @@ log = { workspace = true } -parking_lot = { version = "0.12.1", optional = true } -rand = { version = "0.8.5", optional = true } -smallvec = "1.11.0" +parking_lot = { optional = true , workspace = true, default-features = true } +rand = { optional = true , workspace = true, default-features = true } +smallvec = { workspace = true, default-features = true } @@ -27 +27 @@ thiserror = { optional = true, workspace = true } -tracing = { version = "0.1.29", optional = true } +tracing = { optional = true , workspace = true, default-features = true } @@ -29,5 +29,5 @@ sp-core = { path = "../core", default-features = false } -sp-externalities = { path = "../externalities", default-features = false } -sp-panic-handler = { path = "../panic-handler", optional = true } -sp-std = { path = "../std", default-features = false } -sp-trie = { path = "../trie", default-features = false } -trie-db = { version = "0.28.0", default-features = false } +sp-externalities = { workspace = true } +sp-panic-handler = { optional = true , workspace = true } +sp-std = { workspace = true } +sp-trie = { workspace = true } +trie-db = { workspace = true } @@ -36,3 +36,3 @@ trie-db = { version = "0.28.0", default-features = false } -array-bytes = "6.1" -pretty_assertions = "1.2.1" -rand = "0.8.5" +array-bytes = { workspace = true, default-features = true } +pretty_assertions = { workspace = true } +rand = { workspace = true, default-features = true } @@ -40 +40 @@ sp-runtime = { path = "../runtime" } -assert_matches = "1.5" +assert_matches = { workspace = true } diff --git substrate/primitives/statement-store/Cargo.toml substrate/primitives/statement-store/Cargo.toml index 652ab3ef13..7d770337a2 100644 --- substrate/primitives/statement-store/Cargo.toml +++ substrate/primitives/statement-store/Cargo.toml @@ -20 +20 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -22 +22 @@ sp-core = { path = "../core", default-features = false } -sp-crypto-hashing = { path = "../crypto/hashing", default-features = false } +sp-crypto-hashing = { workspace = true } @@ -24,2 +24,2 @@ sp-runtime = { path = "../runtime", default-features = false } -sp-std = { path = "../std", default-features = false } -sp-api = { path = "../api", default-features = false } +sp-std = { workspace = true } +sp-api = { workspace = true } @@ -27,2 +27,2 @@ sp-application-crypto = { path = "../application-crypto", default-features = fal -sp-runtime-interface = { path = "../runtime-interface", default-features = false } -sp-externalities = { path = "../externalities", default-features = false } +sp-runtime-interface = { workspace = true } +sp-externalities = { workspace = true } @@ -32,7 +32,7 @@ thiserror = { optional = true, workspace = true } -ed25519-dalek = { version = "2.1", optional = true } -x25519-dalek = { version = "2.0", optional = true, features = ["static_secrets"] } -curve25519-dalek = { version = "4.1.1", optional = true } -aes-gcm = { version = "0.10", optional = true } -hkdf = { version = "0.12.0", optional = true } -sha2 = { version = "0.10.7", optional = true } -rand = { version = "0.8.5", features = ["small_rng"], optional = true } +ed25519-dalek = { optional = true , workspace = true, default-features = true } +x25519-dalek = { optional = true, features = ["static_secrets"] , workspace = true } +curve25519-dalek = { optional = true , workspace = true } +aes-gcm = { optional = true , workspace = true } +hkdf = { optional = true , workspace = true } +sha2 = { optional = true , workspace = true, default-features = true } +rand = { features = ["small_rng"], optional = true , workspace = true, default-features = true } diff --git substrate/primitives/storage/Cargo.toml substrate/primitives/storage/Cargo.toml index d3ade87ea4..3e96181f52 100644 --- substrate/primitives/storage/Cargo.toml +++ substrate/primitives/storage/Cargo.toml @@ -21,2 +21,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -impl-serde = { version = "0.4.0", optional = true, default-features = false } -ref-cast = "1.0.0" +impl-serde = { optional = true, workspace = true } +ref-cast = { workspace = true } @@ -24,2 +24,2 @@ serde = { features = ["alloc", "derive"], optional = true, workspace = true } -sp-debug-derive = { path = "../debug-derive", default-features = false } -sp-std = { path = "../std", default-features = false } +sp-debug-derive = { workspace = true } +sp-std = { workspace = true } diff --git substrate/primitives/test-primitives/Cargo.toml substrate/primitives/test-primitives/Cargo.toml index f310216dd5..0071561b70 100644 --- substrate/primitives/test-primitives/Cargo.toml +++ substrate/primitives/test-primitives/Cargo.toml @@ -19 +19 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -24 +24 @@ sp-runtime = { path = "../runtime", default-features = false } -sp-std = { path = "../std", default-features = false } +sp-std = { workspace = true } diff --git substrate/primitives/timestamp/Cargo.toml substrate/primitives/timestamp/Cargo.toml index 9e2b802bfb..f0568bd7c3 100644 --- substrate/primitives/timestamp/Cargo.toml +++ substrate/primitives/timestamp/Cargo.toml @@ -19 +19 @@ targets = ["x86_64-unknown-linux-gnu"] -async-trait = { version = "0.1.74", optional = true } +async-trait = { optional = true , workspace = true } @@ -24 +24 @@ sp-runtime = { path = "../runtime", default-features = false } -sp-std = { path = "../std", default-features = false } +sp-std = { workspace = true } diff --git substrate/primitives/tracing/Cargo.toml substrate/primitives/tracing/Cargo.toml index 58b1e48c46..2dc816c0fd 100644 --- substrate/primitives/tracing/Cargo.toml +++ substrate/primitives/tracing/Cargo.toml @@ -24 +24 @@ targets = ["wasm32-unknown-unknown", "x86_64-unknown-linux-gnu"] -sp-std = { path = "../std", default-features = false } +sp-std = { workspace = true } @@ -28,3 +28,3 @@ codec = { version = "3.6.1", package = "parity-scale-codec", default-features = -tracing = { version = "0.1.29", default-features = false } -tracing-core = { version = "0.1.32", default-features = false } -tracing-subscriber = { version = "0.2.25", optional = true, features = [ +tracing = { workspace = true } +tracing-core = { workspace = true } +tracing-subscriber = { optional = true, features = [ @@ -32 +32 @@ tracing-subscriber = { version = "0.2.25", optional = true, features = [ -] } +] , workspace = true } diff --git substrate/primitives/transaction-pool/Cargo.toml substrate/primitives/transaction-pool/Cargo.toml index a7deda64ef..f979f1a40b 100644 --- substrate/primitives/transaction-pool/Cargo.toml +++ substrate/primitives/transaction-pool/Cargo.toml @@ -20 +20 @@ targets = ["x86_64-unknown-linux-gnu"] -sp-api = { path = "../api", default-features = false } +sp-api = { workspace = true } diff --git substrate/primitives/transaction-storage-proof/Cargo.toml substrate/primitives/transaction-storage-proof/Cargo.toml index e2fb54dafd..cf05f5a42a 100644 --- substrate/primitives/transaction-storage-proof/Cargo.toml +++ substrate/primitives/transaction-storage-proof/Cargo.toml @@ -19 +19 @@ targets = ["x86_64-unknown-linux-gnu"] -async-trait = { version = "0.1.74", optional = true } +async-trait = { optional = true , workspace = true } @@ -21 +21 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -25,2 +25,2 @@ sp-runtime = { path = "../runtime", default-features = false } -sp-std = { path = "../std", default-features = false } -sp-trie = { path = "../trie", optional = true } +sp-std = { workspace = true } +sp-trie = { optional = true , workspace = true, default-features = true } diff --git substrate/primitives/trie/Cargo.toml substrate/primitives/trie/Cargo.toml index 16d3ca19a1..2e1c3d27a3 100644 --- substrate/primitives/trie/Cargo.toml +++ substrate/primitives/trie/Cargo.toml @@ -24 +24 @@ harness = false -ahash = { version = "0.8.2", optional = true } +ahash = { optional = true , workspace = true } @@ -26,7 +26,7 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -hash-db = { version = "0.16.0", default-features = false } -lazy_static = { version = "1.4.0", optional = true } -memory-db = { version = "0.32.0", default-features = false } -nohash-hasher = { version = "0.2.0", optional = true } -parking_lot = { version = "0.12.1", optional = true } -rand = { version = "0.8", optional = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +hash-db = { workspace = true } +lazy_static = { optional = true , workspace = true } +memory-db = { workspace = true } +nohash-hasher = { optional = true , workspace = true } +parking_lot = { optional = true , workspace = true, default-features = true } +rand = { optional = true , workspace = true, default-features = true } +scale-info = { features = ["derive"] , workspace = true } @@ -34,3 +34,3 @@ thiserror = { optional = true, workspace = true } -tracing = { version = "0.1.29", optional = true } -trie-db = { version = "0.28.0", default-features = false } -trie-root = { version = "0.18.0", default-features = false } +tracing = { optional = true , workspace = true, default-features = true } +trie-db = { workspace = true } +trie-root = { workspace = true } @@ -38,3 +38,3 @@ sp-core = { path = "../core", default-features = false } -sp-std = { path = "../std", default-features = false } -sp-externalities = { path = "../externalities", default-features = false } -schnellru = { version = "0.2.1", optional = true } +sp-std = { workspace = true } +sp-externalities = { workspace = true } +schnellru = { optional = true , workspace = true } @@ -43,4 +43,4 @@ schnellru = { version = "0.2.1", optional = true } -array-bytes = "6.1" -criterion = "0.4.0" -trie-bench = "0.38.0" -trie-standardmap = "0.16.0" +array-bytes = { workspace = true, default-features = true } +criterion = { workspace = true, default-features = true } +trie-bench = { workspace = true } +trie-standardmap = { workspace = true } diff --git substrate/primitives/version/Cargo.toml substrate/primitives/version/Cargo.toml index a94e232243..19c9d711d1 100644 --- substrate/primitives/version/Cargo.toml +++ substrate/primitives/version/Cargo.toml @@ -21,3 +21,3 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -impl-serde = { version = "0.4.0", default-features = false, optional = true } -parity-wasm = { version = "0.45", optional = true } -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +impl-serde = { optional = true , workspace = true } +parity-wasm = { optional = true , workspace = true } +scale-info = { features = ["derive"] , workspace = true } @@ -26 +26 @@ thiserror = { optional = true, workspace = true } -sp-crypto-hashing-proc-macro = { path = "../crypto/hashing/proc-macro" } +sp-crypto-hashing-proc-macro = { workspace = true } @@ -28,2 +28,2 @@ sp-runtime = { path = "../runtime", default-features = false } -sp-std = { path = "../std", default-features = false } -sp-version-proc-macro = { path = "proc-macro", default-features = false } +sp-std = { workspace = true } +sp-version-proc-macro = { workspace = true } diff --git substrate/primitives/version/proc-macro/Cargo.toml substrate/primitives/version/proc-macro/Cargo.toml index f7abf88c9a..b42eb94d77 100644 --- substrate/primitives/version/proc-macro/Cargo.toml +++ substrate/primitives/version/proc-macro/Cargo.toml @@ -23 +23 @@ codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive -proc-macro2 = "1.0.56" +proc-macro2 = { workspace = true } @@ -28 +28 @@ syn = { features = ["extra-traits", "fold", "full", "visit"], workspace = true } -sp-version = { path = ".." } +sp-version = { workspace = true, default-features = true } diff --git substrate/primitives/wasm-interface/Cargo.toml substrate/primitives/wasm-interface/Cargo.toml index f7d1038903..1efdc855fe 100644 --- substrate/primitives/wasm-interface/Cargo.toml +++ substrate/primitives/wasm-interface/Cargo.toml @@ -21 +21 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -impl-trait-for-tuples = "0.2.2" +impl-trait-for-tuples = { workspace = true } @@ -23,3 +23,3 @@ log = { optional = true, workspace = true, default-features = true } -wasmtime = { version = "8.0.1", default-features = false, optional = true } -anyhow = { version = "1.0.68", optional = true } -sp-std = { path = "../std", default-features = false } +wasmtime = { optional = true , workspace = true } +anyhow = { optional = true , workspace = true } +sp-std = { workspace = true } diff --git substrate/primitives/weights/Cargo.toml substrate/primitives/weights/Cargo.toml index a7d61de001..852b829290 100644 --- substrate/primitives/weights/Cargo.toml +++ substrate/primitives/weights/Cargo.toml @@ -19 +19 @@ targets = ["x86_64-unknown-linux-gnu"] -bounded-collections = { version = "0.2.0", default-features = false } +bounded-collections = { workspace = true } @@ -21 +21 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -23,5 +23,5 @@ serde = { optional = true, features = ["alloc", "derive"], workspace = true } -smallvec = "1.11.0" -sp-arithmetic = { path = "../arithmetic", default-features = false } -sp-debug-derive = { path = "../debug-derive", default-features = false } -sp-std = { path = "../std", default-features = false } -schemars = { version = "0.8.3", default-features = false, optional = true } +smallvec = { workspace = true, default-features = true } +sp-arithmetic = { workspace = true } +sp-debug-derive = { workspace = true } +sp-std = { workspace = true } +schemars = { optional = true , workspace = true } diff --git substrate/scripts/ci/node-template-release/Cargo.toml substrate/scripts/ci/node-template-release/Cargo.toml index cc60d0a451..6ebbe3d540 100644 --- substrate/scripts/ci/node-template-release/Cargo.toml +++ substrate/scripts/ci/node-template-release/Cargo.toml @@ -17,8 +17,8 @@ targets = ["x86_64-unknown-linux-gnu"] -clap = { version = "4.5.1", features = ["derive"] } -flate2 = "1.0" -fs_extra = "1.3" -glob = "0.3" -tar = "0.4" -tempfile = "3" -toml_edit = "0.19" -itertools = "0.10" +clap = { features = ["derive"] , workspace = true } +flate2 = { workspace = true } +fs_extra = { workspace = true } +glob = { workspace = true } +tar = { workspace = true } +tempfile = { workspace = true } +toml_edit = { workspace = true } +itertools = { workspace = true } diff --git substrate/test-utils/Cargo.toml substrate/test-utils/Cargo.toml index af8b01cdef..da171732ba 100644 --- substrate/test-utils/Cargo.toml +++ substrate/test-utils/Cargo.toml @@ -19,2 +19,2 @@ targets = ["x86_64-unknown-linux-gnu"] -futures = "0.3.16" -tokio = { version = "1.22.0", features = ["macros", "time"] } +futures = { workspace = true } +tokio = { features = ["macros", "time"] , workspace = true, default-features = true } @@ -23 +23 @@ tokio = { version = "1.22.0", features = ["macros", "time"] } -trybuild = { version = "1.0.88", features = ["diff"] } +trybuild = { features = ["diff"] , workspace = true } diff --git substrate/test-utils/cli/Cargo.toml substrate/test-utils/cli/Cargo.toml index d654a3aaa7..b471c17769 100644 --- substrate/test-utils/cli/Cargo.toml +++ substrate/test-utils/cli/Cargo.toml @@ -19,9 +19,9 @@ targets = ["x86_64-unknown-linux-gnu"] -substrate-rpc-client = { path = "../../utils/frame/rpc/client" } -sp-rpc = { path = "../../primitives/rpc" } -assert_cmd = "2.0.10" -nix = "0.26.2" -regex = "1.7.3" -tokio = { version = "1.22.0", features = ["full"] } -node-primitives = { path = "../../bin/node/primitives" } -node-cli = { package = "staging-node-cli", path = "../../bin/node/cli" } -sc-cli = { path = "../../client/cli" } +substrate-rpc-client = { workspace = true } +sp-rpc = { workspace = true } +assert_cmd = { workspace = true } +nix = { workspace = true } +regex = { workspace = true } +tokio = { features = ["full"] , workspace = true, default-features = true } +node-primitives = { workspace = true, default-features = true } +node-cli = { workspace = true } +sc-cli = { workspace = true, default-features = true } @@ -29 +29 @@ sc-service = { path = "../../client/service" } -futures = "0.3.28" +futures = { workspace = true } diff --git substrate/test-utils/client/Cargo.toml substrate/test-utils/client/Cargo.toml index 349b04d32d..1831165ede 100644 --- substrate/test-utils/client/Cargo.toml +++ substrate/test-utils/client/Cargo.toml @@ -19,2 +19,2 @@ targets = ["x86_64-unknown-linux-gnu"] -array-bytes = "6.1" -async-trait = "0.1.74" +array-bytes = { workspace = true, default-features = true } +async-trait = { workspace = true } @@ -22 +22 @@ codec = { package = "parity-scale-codec", version = "3.6.1" } -futures = "0.3.21" +futures = { workspace = true } @@ -26 +26 @@ sc-client-api = { path = "../../client/api" } -sc-client-db = { path = "../../client/db", default-features = false, features = [ +sc-client-db = { features = [ @@ -28,4 +28,4 @@ sc-client-db = { path = "../../client/db", default-features = false, features = -] } -sc-consensus = { path = "../../client/consensus/common" } -sc-executor = { path = "../../client/executor" } -sc-offchain = { path = "../../client/offchain" } +] , workspace = true } +sc-consensus = { workspace = true } +sc-executor = { workspace = true } +sc-offchain = { workspace = true } @@ -35 +35 @@ sc-service = { path = "../../client/service", default-features = false, features -sp-blockchain = { path = "../../primitives/blockchain" } +sp-blockchain = { workspace = true } @@ -39 +39 @@ sp-keyring = { path = "../../primitives/keyring" } -sp-keystore = { path = "../../primitives/keystore" } +sp-keystore = { workspace = true, default-features = true } @@ -41,2 +41,2 @@ sp-runtime = { path = "../../primitives/runtime" } -sp-state-machine = { path = "../../primitives/state-machine" } -tokio = { version = "1.22.0", features = ["sync"] } +sp-state-machine = { workspace = true, default-features = true } +tokio = { features = ["sync"] , workspace = true, default-features = true } diff --git substrate/test-utils/runtime/Cargo.toml substrate/test-utils/runtime/Cargo.toml index 3bba5cd5bf..5327c23a0c 100644 --- substrate/test-utils/runtime/Cargo.toml +++ substrate/test-utils/runtime/Cargo.toml @@ -20 +20 @@ sp-application-crypto = { path = "../../primitives/application-crypto", default- -sp-consensus-aura = { path = "../../primitives/consensus/aura", default-features = false, features = ["serde"] } +sp-consensus-aura = { features = ["serde"] , workspace = true } @@ -22 +22 @@ sp-consensus-babe = { path = "../../primitives/consensus/babe", default-features -sp-genesis-builder = { path = "../../primitives/genesis-builder", default-features = false } +sp-genesis-builder = { workspace = true } @@ -25 +25 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features = -scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +scale-info = { features = ["derive"] , workspace = true } @@ -30,3 +30,3 @@ sp-core = { path = "../../primitives/core", default-features = false } -sp-crypto-hashing = { path = "../../primitives/crypto/hashing", default-features = false } -sp-std = { path = "../../primitives/std", default-features = false } -sp-io = { path = "../../primitives/io", default-features = false } +sp-crypto-hashing = { workspace = true } +sp-std = { workspace = true } +sp-io = { workspace = true } @@ -34,3 +34,3 @@ frame-support = { path = "../../frame/support", default-features = false } -sp-version = { path = "../../primitives/version", default-features = false } -sp-session = { path = "../../primitives/session", default-features = false } -sp-api = { path = "../../primitives/api", default-features = false } +sp-version = { workspace = true } +sp-session = { workspace = true } +sp-api = { workspace = true } @@ -38,3 +38,3 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false, feat -pallet-babe = { path = "../../frame/babe", default-features = false } -pallet-balances = { path = "../../frame/balances", default-features = false } -frame-executive = { path = "../../frame/executive", default-features = false } +pallet-babe = { workspace = true } +pallet-balances = { workspace = true } +frame-executive = { workspace = true } @@ -42,2 +42,2 @@ frame-system = { path = "../../frame/system", default-features = false } -frame-system-rpc-runtime-api = { path = "../../frame/system/rpc/runtime-api", default-features = false } -pallet-timestamp = { path = "../../frame/timestamp", default-features = false } +frame-system-rpc-runtime-api = { workspace = true } +pallet-timestamp = { workspace = true } @@ -45 +45 @@ sp-consensus-grandpa = { path = "../../primitives/consensus/grandpa", default-fe -sp-trie = { path = "../../primitives/trie", default-features = false } +sp-trie = { workspace = true } @@ -47 +47 @@ sp-transaction-pool = { path = "../../primitives/transaction-pool", default-feat -trie-db = { version = "0.28.0", default-features = false } +trie-db = { workspace = true } @@ -49,2 +49,2 @@ sc-service = { path = "../../client/service", default-features = false, features -sp-state-machine = { path = "../../primitives/state-machine", default-features = false } -sp-externalities = { path = "../../primitives/externalities", default-features = false } +sp-state-machine = { workspace = true } +sp-externalities = { workspace = true } @@ -53 +53 @@ sp-externalities = { path = "../../primitives/externalities", default-features = -array-bytes = { version = "6.1", optional = true } +array-bytes = { optional = true , workspace = true, default-features = true } @@ -57,5 +57,5 @@ log = { workspace = true } -futures = "0.3.21" -sc-block-builder = { path = "../../client/block-builder" } -sc-chain-spec = { path = "../../client/chain-spec" } -sc-executor = { path = "../../client/executor" } -sc-executor-common = { path = "../../client/executor/common" } +futures = { workspace = true } +sc-block-builder = { workspace = true } +sc-chain-spec = { workspace = true } +sc-executor = { workspace = true } +sc-executor-common = { workspace = true } @@ -63,2 +63,2 @@ sp-consensus = { path = "../../primitives/consensus/common" } -substrate-test-runtime-client = { path = "client" } -sp-tracing = { path = "../../primitives/tracing" } +substrate-test-runtime-client = { workspace = true } +sp-tracing = { workspace = true, default-features = true } @@ -69 +69 @@ serde_json = { features = ["alloc"], workspace = true } -substrate-wasm-builder = { path = "../../utils/wasm-builder", optional = true } +substrate-wasm-builder = { optional = true , workspace = true } diff --git substrate/test-utils/runtime/client/Cargo.toml substrate/test-utils/runtime/client/Cargo.toml index cbb964f678..a3449e093c 100644 --- substrate/test-utils/runtime/client/Cargo.toml +++ substrate/test-utils/runtime/client/Cargo.toml @@ -18,2 +18,2 @@ targets = ["x86_64-unknown-linux-gnu"] -futures = "0.3.21" -sc-block-builder = { path = "../../../client/block-builder" } +futures = { workspace = true } +sc-block-builder = { workspace = true } @@ -21,3 +21,3 @@ sc-client-api = { path = "../../../client/api" } -sc-consensus = { path = "../../../client/consensus/common" } -sp-api = { path = "../../../primitives/api" } -sp-blockchain = { path = "../../../primitives/blockchain" } +sc-consensus = { workspace = true } +sp-api = { workspace = true, default-features = true } +sp-blockchain = { workspace = true } @@ -27,2 +27,2 @@ sp-runtime = { path = "../../../primitives/runtime" } -substrate-test-client = { path = "../../client" } -substrate-test-runtime = { path = ".." } +substrate-test-client = { workspace = true } +substrate-test-runtime = { workspace = true } diff --git substrate/test-utils/runtime/transaction-pool/Cargo.toml substrate/test-utils/runtime/transaction-pool/Cargo.toml index 33e56e8e55..d7cd869042 100644 --- substrate/test-utils/runtime/transaction-pool/Cargo.toml +++ substrate/test-utils/runtime/transaction-pool/Cargo.toml @@ -19,2 +19,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1" } -futures = "0.3.21" -parking_lot = "0.12.1" +futures = { workspace = true } +parking_lot = { workspace = true, default-features = true } @@ -22 +22 @@ thiserror = { workspace = true } -sc-transaction-pool = { path = "../../../client/transaction-pool" } +sc-transaction-pool = { workspace = true } @@ -24 +24 @@ sc-transaction-pool-api = { path = "../../../client/transaction-pool/api" } -sp-blockchain = { path = "../../../primitives/blockchain" } +sp-blockchain = { workspace = true } @@ -26 +26 @@ sp-runtime = { path = "../../../primitives/runtime" } -substrate-test-runtime-client = { path = "../client" } +substrate-test-runtime-client = { workspace = true } diff --git substrate/utils/binary-merkle-tree/Cargo.toml substrate/utils/binary-merkle-tree/Cargo.toml index 6ba515afee..7d80ea6ea2 100644 --- substrate/utils/binary-merkle-tree/Cargo.toml +++ substrate/utils/binary-merkle-tree/Cargo.toml @@ -15 +15 @@ workspace = true -array-bytes = { version = "6.1", optional = true } +array-bytes = { optional = true , workspace = true, default-features = true } @@ -17 +17 @@ log = { optional = true, workspace = true } -hash-db = { version = "0.16.0", default-features = false } +hash-db = { workspace = true } @@ -20,2 +20,2 @@ hash-db = { version = "0.16.0", default-features = false } -array-bytes = "6.1" -env_logger = "0.9" +array-bytes = { workspace = true, default-features = true } +env_logger = { workspace = true } diff --git substrate/utils/frame/benchmarking-cli/Cargo.toml substrate/utils/frame/benchmarking-cli/Cargo.toml index a2db83052c..0b044472b8 100644 --- substrate/utils/frame/benchmarking-cli/Cargo.toml +++ substrate/utils/frame/benchmarking-cli/Cargo.toml @@ -19,3 +19,3 @@ targets = ["x86_64-unknown-linux-gnu"] -array-bytes = "6.1" -chrono = "0.4" -clap = { version = "4.5.1", features = ["derive"] } +array-bytes = { workspace = true, default-features = true } +chrono = { workspace = true } +clap = { features = ["derive"] , workspace = true } @@ -23,6 +23,6 @@ codec = { package = "parity-scale-codec", version = "3.6.1" } -comfy-table = { version = "7.1.0", default-features = false } -handlebars = "4.2.2" -Inflector = "0.11.4" -itertools = "0.10.3" -lazy_static = "1.4.0" -linked-hash-map = "0.5.4" +comfy-table = { workspace = true } +handlebars = { workspace = true } +Inflector = { workspace = true } +itertools = { workspace = true } +lazy_static = { workspace = true } +linked-hash-map = { workspace = true } @@ -30,2 +30,2 @@ log = { workspace = true, default-features = true } -rand = { version = "0.8.5", features = ["small_rng"] } -rand_pcg = "0.3.1" +rand = { features = ["small_rng"] , workspace = true, default-features = true } +rand_pcg = { workspace = true } @@ -35,2 +35,2 @@ thiserror = { workspace = true } -thousands = "0.2.0" -frame-benchmarking = { path = "../../../frame/benchmarking" } +thousands = { workspace = true } +frame-benchmarking = { workspace = true, default-features = true } @@ -39,2 +39,2 @@ frame-system = { path = "../../../frame/system" } -sc-block-builder = { path = "../../../client/block-builder" } -sc-cli = { path = "../../../client/cli", default-features = false } +sc-block-builder = { workspace = true } +sc-cli = { workspace = true } @@ -42,2 +42,2 @@ sc-client-api = { path = "../../../client/api" } -sc-client-db = { path = "../../../client/db", default-features = false } -sc-executor = { path = "../../../client/executor" } +sc-client-db = { workspace = true } +sc-executor = { workspace = true } @@ -45,3 +45,3 @@ sc-service = { path = "../../../client/service", default-features = false } -sc-sysinfo = { path = "../../../client/sysinfo" } -sp-api = { path = "../../../primitives/api" } -sp-blockchain = { path = "../../../primitives/blockchain" } +sc-sysinfo = { workspace = true } +sp-api = { workspace = true, default-features = true } +sp-blockchain = { workspace = true } @@ -49,2 +49,2 @@ sp-core = { path = "../../../primitives/core" } -sp-database = { path = "../../../primitives/database" } -sp-externalities = { path = "../../../primitives/externalities" } +sp-database = { workspace = true } +sp-externalities = { workspace = true, default-features = true } @@ -52 +52 @@ sp-inherents = { path = "../../../primitives/inherents" } -sp-keystore = { path = "../../../primitives/keystore" } +sp-keystore = { workspace = true, default-features = true } @@ -54,6 +54,6 @@ sp-runtime = { path = "../../../primitives/runtime" } -sp-state-machine = { path = "../../../primitives/state-machine" } -sp-storage = { path = "../../../primitives/storage" } -sp-trie = { path = "../../../primitives/trie" } -sp-io = { path = "../../../primitives/io" } -sp-wasm-interface = { path = "../../../primitives/wasm-interface" } -gethostname = "0.2.3" +sp-state-machine = { workspace = true, default-features = true } +sp-storage = { workspace = true, default-features = true } +sp-trie = { workspace = true, default-features = true } +sp-io = { workspace = true, default-features = true } +sp-wasm-interface = { workspace = true, default-features = true } +gethostname = { workspace = true } diff --git substrate/utils/frame/frame-utilities-cli/Cargo.toml substrate/utils/frame/frame-utilities-cli/Cargo.toml index 919016b2d8..4cf47d89e6 100644 --- substrate/utils/frame/frame-utilities-cli/Cargo.toml +++ substrate/utils/frame/frame-utilities-cli/Cargo.toml @@ -17 +17 @@ workspace = true -clap = { version = "4.5.1", features = ["derive"] } +clap = { features = ["derive"] , workspace = true } @@ -20 +20 @@ frame-system = { path = "../../../frame/system" } -sc-cli = { path = "../../../client/cli" } +sc-cli = { workspace = true, default-features = true } diff --git substrate/utils/frame/generate-bags/Cargo.toml substrate/utils/frame/generate-bags/Cargo.toml index 2688254bd5..b645185073 100644 --- substrate/utils/frame/generate-bags/Cargo.toml +++ substrate/utils/frame/generate-bags/Cargo.toml @@ -17 +17 @@ frame-support = { path = "../../../frame/support" } -frame-election-provider-support = { path = "../../../frame/election-provider-support" } +frame-election-provider-support = { workspace = true, default-features = true } @@ -19,2 +19,2 @@ frame-system = { path = "../../../frame/system" } -pallet-staking = { path = "../../../frame/staking" } -sp-staking = { path = "../../../primitives/staking" } +pallet-staking = { workspace = true, default-features = true } +sp-staking = { workspace = true, default-features = true } @@ -23,2 +23,2 @@ sp-staking = { path = "../../../primitives/staking" } -chrono = { version = "0.4.31" } -num-format = "0.4.3" +chrono = { workspace = true } +num-format = { workspace = true } diff --git substrate/utils/frame/generate-bags/node-runtime/Cargo.toml substrate/utils/frame/generate-bags/node-runtime/Cargo.toml index 68d4733614..33e3a2cd6d 100644 --- substrate/utils/frame/generate-bags/node-runtime/Cargo.toml +++ substrate/utils/frame/generate-bags/node-runtime/Cargo.toml @@ -16,2 +16,2 @@ workspace = true -kitchensink-runtime = { path = "../../../../bin/node/runtime" } -generate-bags = { path = ".." } +kitchensink-runtime = { workspace = true } +generate-bags = { workspace = true } @@ -20 +20 @@ generate-bags = { path = ".." } -clap = { version = "4.5.1", features = ["derive"] } +clap = { features = ["derive"] , workspace = true } diff --git substrate/utils/frame/remote-externalities/Cargo.toml substrate/utils/frame/remote-externalities/Cargo.toml index 61e0a861ee..4dad8d9501 100644 --- substrate/utils/frame/remote-externalities/Cargo.toml +++ substrate/utils/frame/remote-externalities/Cargo.toml @@ -18 +18 @@ targets = ["x86_64-unknown-linux-gnu"] -jsonrpsee = { version = "0.22", features = ["http-client"] } +jsonrpsee = { features = ["http-client"] , workspace = true } @@ -23,3 +23,3 @@ sp-core = { path = "../../../primitives/core" } -sp-crypto-hashing = { path = "../../../primitives/crypto/hashing" } -sp-state-machine = { path = "../../../primitives/state-machine" } -sp-io = { path = "../../../primitives/io" } +sp-crypto-hashing = { workspace = true, default-features = true } +sp-state-machine = { workspace = true, default-features = true } +sp-io = { workspace = true, default-features = true } @@ -27,6 +27,6 @@ sp-runtime = { path = "../../../primitives/runtime" } -tokio = { version = "1.22.0", features = ["macros", "rt-multi-thread"] } -substrate-rpc-client = { path = "../rpc/client" } -futures = "0.3" -indicatif = "0.17.7" -spinners = "4.1.0" -tokio-retry = "0.3.0" +tokio = { features = ["macros", "rt-multi-thread"] , workspace = true, default-features = true } +substrate-rpc-client = { workspace = true } +futures = { workspace = true } +indicatif = { workspace = true } +spinners = { workspace = true } +tokio-retry = { workspace = true } @@ -35 +35 @@ tokio-retry = "0.3.0" -sp-tracing = { path = "../../../primitives/tracing" } +sp-tracing = { workspace = true, default-features = true } diff --git substrate/utils/frame/rpc/client/Cargo.toml substrate/utils/frame/rpc/client/Cargo.toml index b51e3f44f4..19a21c2784 100644 --- substrate/utils/frame/rpc/client/Cargo.toml +++ substrate/utils/frame/rpc/client/Cargo.toml @@ -18,3 +18,3 @@ targets = ["x86_64-unknown-linux-gnu"] -jsonrpsee = { version = "0.22", features = ["ws-client"] } -sc-rpc-api = { path = "../../../../client/rpc-api" } -async-trait = "0.1.74" +jsonrpsee = { features = ["ws-client"] , workspace = true } +sc-rpc-api = { workspace = true } +async-trait = { workspace = true } @@ -26 +26 @@ log = { workspace = true, default-features = true } -tokio = { version = "1.22.0", features = ["macros", "rt-multi-thread", "sync"] } +tokio = { features = ["macros", "rt-multi-thread", "sync"] , workspace = true, default-features = true } diff --git substrate/utils/frame/rpc/state-trie-migration-rpc/Cargo.toml substrate/utils/frame/rpc/state-trie-migration-rpc/Cargo.toml index f9a45e21ce..624af8e41d 100644 --- substrate/utils/frame/rpc/state-trie-migration-rpc/Cargo.toml +++ substrate/utils/frame/rpc/state-trie-migration-rpc/Cargo.toml @@ -23,3 +23,3 @@ sp-core = { path = "../../../../primitives/core" } -sp-state-machine = { path = "../../../../primitives/state-machine" } -sp-trie = { path = "../../../../primitives/trie" } -trie-db = "0.28.0" +sp-state-machine = { workspace = true, default-features = true } +sp-trie = { workspace = true, default-features = true } +trie-db = { workspace = true, default-features = true } @@ -27 +27 @@ trie-db = "0.28.0" -jsonrpsee = { version = "0.22", features = ["client-core", "macros", "server"] } +jsonrpsee = { features = ["client-core", "macros", "server"] , workspace = true } @@ -31 +31 @@ sc-client-api = { path = "../../../../client/api" } -sc-rpc-api = { path = "../../../../client/rpc-api" } +sc-rpc-api = { workspace = true } diff --git substrate/utils/frame/rpc/support/Cargo.toml substrate/utils/frame/rpc/support/Cargo.toml index 2e4bb6a105..8f2f4a5a8b 100644 --- substrate/utils/frame/rpc/support/Cargo.toml +++ substrate/utils/frame/rpc/support/Cargo.toml @@ -19 +19 @@ codec = { package = "parity-scale-codec", version = "3.6.1" } -jsonrpsee = { version = "0.22", features = ["jsonrpsee-types"] } +jsonrpsee = { features = ["jsonrpsee-types"] , workspace = true } @@ -22,2 +22,2 @@ frame-support = { path = "../../../../frame/support" } -sc-rpc-api = { path = "../../../../client/rpc-api" } -sp-storage = { path = "../../../../primitives/storage" } +sc-rpc-api = { workspace = true } +sp-storage = { workspace = true, default-features = true } @@ -26,3 +26,3 @@ sp-storage = { path = "../../../../primitives/storage" } -scale-info = "2.10.0" -jsonrpsee = { version = "0.22", features = ["jsonrpsee-types", "ws-client"] } -tokio = "1.22.0" +scale-info = { workspace = true, default-features = true } +jsonrpsee = { features = ["jsonrpsee-types", "ws-client"] , workspace = true } +tokio = { workspace = true, default-features = true } diff --git substrate/utils/frame/rpc/system/Cargo.toml substrate/utils/frame/rpc/system/Cargo.toml index f9a84a01af..1bc2a7dccb 100644 --- substrate/utils/frame/rpc/system/Cargo.toml +++ substrate/utils/frame/rpc/system/Cargo.toml @@ -20,2 +20,2 @@ codec = { package = "parity-scale-codec", version = "3.6.1" } -jsonrpsee = { version = "0.22", features = ["client-core", "macros", "server"] } -futures = "0.3.21" +jsonrpsee = { features = ["client-core", "macros", "server"] , workspace = true } +futures = { workspace = true } @@ -23,2 +23,2 @@ log = { workspace = true, default-features = true } -frame-system-rpc-runtime-api = { path = "../../../../frame/system/rpc/runtime-api" } -sc-rpc-api = { path = "../../../../client/rpc-api" } +frame-system-rpc-runtime-api = { workspace = true, default-features = true } +sc-rpc-api = { workspace = true } @@ -26 +26 @@ sc-transaction-pool-api = { path = "../../../../client/transaction-pool/api" } -sp-api = { path = "../../../../primitives/api" } +sp-api = { workspace = true, default-features = true } @@ -28 +28 @@ sp-block-builder = { path = "../../../../primitives/block-builder" } -sp-blockchain = { path = "../../../../primitives/blockchain" } +sp-blockchain = { workspace = true } @@ -33,5 +33,5 @@ sp-runtime = { path = "../../../../primitives/runtime" } -sc-transaction-pool = { path = "../../../../client/transaction-pool" } -tokio = "1.22.0" -assert_matches = "1.3.0" -sp-tracing = { path = "../../../../primitives/tracing" } -substrate-test-runtime-client = { path = "../../../../test-utils/runtime/client" } +sc-transaction-pool = { workspace = true } +tokio = { workspace = true, default-features = true } +assert_matches = { workspace = true } +sp-tracing = { workspace = true, default-features = true } +substrate-test-runtime-client = { workspace = true } diff --git substrate/utils/frame/try-runtime/cli/Cargo.toml substrate/utils/frame/try-runtime/cli/Cargo.toml index d123fc5f62..4e9c3b6e95 100644 --- substrate/utils/frame/try-runtime/cli/Cargo.toml +++ substrate/utils/frame/try-runtime/cli/Cargo.toml @@ -18,4 +18,4 @@ targets = ["x86_64-unknown-linux-gnu"] -remote-externalities = { package = "frame-remote-externalities", path = "../../remote-externalities" } -sc-cli = { path = "../../../../client/cli" } -sc-executor = { path = "../../../../client/executor" } -sp-consensus-aura = { path = "../../../../primitives/consensus/aura" } +remote-externalities = { workspace = true } +sc-cli = { workspace = true, default-features = true } +sc-executor = { workspace = true } +sp-consensus-aura = { workspace = true, default-features = true } @@ -24 +24 @@ sp-core = { path = "../../../../primitives/core" } -sp-externalities = { path = "../../../../primitives/externalities" } +sp-externalities = { workspace = true, default-features = true } @@ -26,2 +26,2 @@ sp-inherents = { path = "../../../../primitives/inherents" } -sp-io = { path = "../../../../primitives/io" } -sp-keystore = { path = "../../../../primitives/keystore" } +sp-io = { workspace = true, default-features = true } +sp-keystore = { workspace = true, default-features = true } @@ -29,10 +29,10 @@ sp-runtime = { path = "../../../../primitives/runtime" } -sp-rpc = { path = "../../../../primitives/rpc" } -sp-state-machine = { path = "../../../../primitives/state-machine" } -sp-timestamp = { path = "../../../../primitives/timestamp" } -sp-transaction-storage-proof = { path = "../../../../primitives/transaction-storage-proof" } -sp-version = { path = "../../../../primitives/version" } -sp-debug-derive = { path = "../../../../primitives/debug-derive" } -sp-api = { path = "../../../../primitives/api" } -sp-weights = { path = "../../../../primitives/weights" } -frame-try-runtime = { path = "../../../../frame/try-runtime", optional = true } -substrate-rpc-client = { path = "../../rpc/client" } +sp-rpc = { workspace = true } +sp-state-machine = { workspace = true, default-features = true } +sp-timestamp = { workspace = true, default-features = true } +sp-transaction-storage-proof = { workspace = true, default-features = true } +sp-version = { workspace = true, default-features = true } +sp-debug-derive = { workspace = true, default-features = true } +sp-api = { workspace = true, default-features = true } +sp-weights = { workspace = true, default-features = true } +frame-try-runtime = { optional = true , workspace = true, default-features = true } +substrate-rpc-client = { workspace = true } @@ -40,3 +40,3 @@ substrate-rpc-client = { path = "../../rpc/client" } -async-trait = "0.1.74" -clap = { version = "4.5.1", features = ["derive"] } -hex = { version = "0.4.3", default-features = false } +async-trait = { workspace = true } +clap = { features = ["derive"] , workspace = true } +hex = { workspace = true } @@ -47 +47 @@ serde_json = { workspace = true, default-features = true } -zstd = { version = "0.12.4", default-features = false } +zstd = { workspace = true } @@ -50,6 +50,6 @@ zstd = { version = "0.12.4", default-features = false } -assert_cmd = "2.0.10" -node-primitives = { path = "../../../../bin/node/primitives" } -regex = "1.7.3" -substrate-cli-test-utils = { path = "../../../../test-utils/cli" } -tempfile = "3.1.0" -tokio = "1.27.0" +assert_cmd = { workspace = true } +node-primitives = { workspace = true, default-features = true } +regex = { workspace = true } +substrate-cli-test-utils = { workspace = true } +tempfile = { workspace = true } +tokio = { workspace = true, default-features = true } diff --git substrate/utils/prometheus/Cargo.toml substrate/utils/prometheus/Cargo.toml index 36527ac618..6d26d89863 100644 --- substrate/utils/prometheus/Cargo.toml +++ substrate/utils/prometheus/Cargo.toml @@ -19 +19 @@ targets = ["x86_64-unknown-linux-gnu"] -hyper = { version = "0.14.16", default-features = false, features = ["http1", "server", "tcp"] } +hyper = { features = ["http1", "server", "tcp"] , workspace = true } @@ -21 +21 @@ log = { workspace = true, default-features = true } -prometheus = { version = "0.13.0", default-features = false } +prometheus = { workspace = true } @@ -23 +23 @@ thiserror = { workspace = true } -tokio = { version = "1.22.0", features = ["parking_lot"] } +tokio = { features = ["parking_lot"] , workspace = true, default-features = true } @@ -26,2 +26,2 @@ tokio = { version = "1.22.0", features = ["parking_lot"] } -hyper = { version = "0.14.16", features = ["client"] } -tokio = { version = "1.22.0", features = ["rt-multi-thread"] } +hyper = { features = ["client"] , workspace = true, default-features = true } +tokio = { features = ["rt-multi-thread"] , workspace = true, default-features = true } diff --git substrate/utils/wasm-builder/Cargo.toml substrate/utils/wasm-builder/Cargo.toml index 7abd1a2028..9617f0e10a 100644 --- substrate/utils/wasm-builder/Cargo.toml +++ substrate/utils/wasm-builder/Cargo.toml @@ -18,11 +18,11 @@ targets = ["x86_64-unknown-linux-gnu"] -build-helper = "0.1.1" -cargo_metadata = "0.15.4" -console = "0.15.8" -strum = { version = "0.24.1", features = ["derive"] } -tempfile = "3.1.0" -toml = "0.8.8" -walkdir = "2.4.0" -sp-maybe-compressed-blob = { path = "../../primitives/maybe-compressed-blob" } -filetime = "0.2.16" -wasm-opt = "0.116" -parity-wasm = "0.45" +build-helper = { workspace = true } +cargo_metadata = { workspace = true } +console = { workspace = true } +strum = { features = ["derive"] , workspace = true, default-features = true } +tempfile = { workspace = true } +toml = { workspace = true } +walkdir = { workspace = true } +sp-maybe-compressed-blob = { workspace = true } +filetime = { workspace = true } +wasm-opt = { workspace = true } +parity-wasm = { workspace = true }