Skip to content

Commit

Permalink
Use crates-io deps
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
  • Loading branch information
ggwpez committed Sep 13, 2023
1 parent 579bd33 commit c2f4041
Show file tree
Hide file tree
Showing 11 changed files with 497 additions and 496 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
repository = "https://github.com/polkadot-fellows/runtimes.git"
version = "1.0.0"
license = "GPL-3.0"

[profile.release]
# Polkadot runtime requires unwinding.
Expand Down
184 changes: 92 additions & 92 deletions relay/kusama/Cargo.toml

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions relay/kusama/constants/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ license.workspace = true
[dependencies]
smallvec = "1.8.0"

frame-support = { path = "../../../../substrate/frame/support", default-features = false }
primitives = { package = "polkadot-primitives", path = "../../../primitives", default-features = false }
runtime-common = { package = "polkadot-runtime-common", path = "../../common", default-features = false }
sp-runtime = { path = "../../../../substrate/primitives/runtime", default-features = false }
sp-weights = { path = "../../../../substrate/primitives/weights", default-features = false }
sp-core = { path = "../../../../substrate/primitives/core", default-features = false }
frame-support = { default-features = false , version = "23.0.0" }
primitives = { package = "polkadot-primitives", default-features = false , version = "2.0.0" }
runtime-common = { package = "polkadot-runtime-common", default-features = false , version = "2.0.0" }
sp-runtime = { default-features = false , version = "26.0.0" }
sp-weights = { default-features = false , version = "22.0.0" }
sp-core = { default-features = false , version = "23.0.0" }

[features]
default = [ "std" ]
Expand Down
166 changes: 83 additions & 83 deletions relay/polkadot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,104 +17,104 @@ serde_derive = { version = "1.0.117", optional = true }
static_assertions = "1.1.0"
smallvec = "1.8.0"

authority-discovery-primitives = { package = "sp-authority-discovery", path = "../../../substrate/primitives/authority-discovery", default-features = false }
babe-primitives = { package = "sp-consensus-babe", path = "../../../substrate/primitives/consensus/babe", default-features = false }
beefy-primitives = { package = "sp-consensus-beefy", path = "../../../substrate/primitives/consensus/beefy", default-features = false }
block-builder-api = { package = "sp-block-builder", path = "../../../substrate/primitives/block-builder", default-features = false }
inherents = { package = "sp-inherents", path = "../../../substrate/primitives/inherents", default-features = false }
offchain-primitives = { package = "sp-offchain", path = "../../../substrate/primitives/offchain", default-features = false }
tx-pool-api = { package = "sp-transaction-pool", path = "../../../substrate/primitives/transaction-pool", default-features = false }
sp-arithmetic = { path = "../../../substrate/primitives/arithmetic", default-features = false }
sp-api = { path = "../../../substrate/primitives/api", default-features = false }
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-runtime = { path = "../../../substrate/primitives/runtime", default-features = false }
sp-staking = { path = "../../../substrate/primitives/staking", default-features = false }
sp-core = { path = "../../../substrate/primitives/core", default-features = false }
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-npos-elections = { path = "../../../substrate/primitives/npos-elections", default-features = false }
authority-discovery-primitives = { package = "sp-authority-discovery", default-features = false , version = "21.0.0" }
babe-primitives = { package = "sp-consensus-babe", default-features = false , version = "0.27.0" }
beefy-primitives = { package = "sp-consensus-beefy", default-features = false , version = "8.0.0" }
block-builder-api = { package = "sp-block-builder", default-features = false , version = "21.0.0" }
inherents = { package = "sp-inherents", default-features = false , version = "21.0.0" }
offchain-primitives = { package = "sp-offchain", default-features = false , version = "21.0.0" }
tx-pool-api = { package = "sp-transaction-pool", default-features = false , version = "21.0.0" }
sp-arithmetic = { default-features = false , version = "18.0.0" }
sp-api = { default-features = false , version = "21.0.0" }
sp-std = { default-features = false , version = "10.0.0" }
sp-io = { default-features = false , version = "25.0.0" }
sp-mmr-primitives = { default-features = false , version = "21.0.0" }
sp-runtime = { default-features = false , version = "26.0.0" }
sp-staking = { default-features = false , version = "21.0.0" }
sp-core = { default-features = false , version = "23.0.0" }
sp-session = { default-features = false , version = "22.0.0" }
sp-storage = { default-features = false , version = "15.0.0" }
sp-version = { default-features = false , version = "24.0.0" }
sp-npos-elections = { default-features = false , version = "21.0.0" }

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-bounties = { path = "../../../substrate/frame/bounties", default-features = false }
pallet-child-bounties = { path = "../../../substrate/frame/child-bounties", 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-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 }
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-multisig = { path = "../../../substrate/frame/multisig", default-features = false }
pallet-nomination-pools = { path = "../../../substrate/frame/nomination-pools", 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-preimage = { path = "../../../substrate/frame/preimage", default-features = false }
pallet-proxy = { path = "../../../substrate/frame/proxy", 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 }
frame-support = { path = "../../../substrate/frame/support", default-features = false }
pallet-staking = { path = "../../../substrate/frame/staking", default-features = false }
pallet-staking-reward-curve = { path = "../../../substrate/frame/staking/reward-curve" }
pallet-staking-runtime-api = { path = "../../../substrate/frame/staking/runtime-api", default-features = false }
frame-system = { path = "../../../substrate/frame/system", default-features = false }
frame-system-rpc-runtime-api = { path = "../../../substrate/frame/system/rpc/runtime-api", default-features = false }
pallet-authority-discovery = { default-features = false , version = "23.0.0" }
pallet-authorship = { default-features = false , version = "23.0.0" }
pallet-babe = { default-features = false , version = "23.0.0" }
pallet-bags-list = { default-features = false , version = "22.0.0" }
pallet-balances = { default-features = false , version = "23.0.0" }
pallet-bounties = { default-features = false , version = "22.0.0" }
pallet-child-bounties = { default-features = false , version = "22.0.0" }
pallet-transaction-payment = { default-features = false , version = "23.0.0" }
pallet-transaction-payment-rpc-runtime-api = { default-features = false , version = "23.0.0" }
pallet-collective = { default-features = false , version = "23.0.0" }
pallet-conviction-voting = { default-features = false , version = "23.0.0" }
pallet-democracy = { default-features = false , version = "23.0.0" }
pallet-elections-phragmen = { default-features = false , version = "24.0.0" }
pallet-election-provider-multi-phase = { default-features = false , version = "22.0.0" }
pallet-fast-unstake = { default-features = false , version = "22.0.0" }
frame-executive = { default-features = false , version = "23.0.0" }
pallet-grandpa = { default-features = false , version = "23.0.0" }
pallet-identity = { default-features = false , version = "23.0.0" }
pallet-im-online = { default-features = false , version = "22.0.0" }
pallet-indices = { default-features = false , version = "23.0.0" }
pallet-membership = { default-features = false , version = "23.0.0" }
pallet-message-queue = { default-features = false , version = "26.0.0" }
pallet-multisig = { default-features = false , version = "23.0.0" }
pallet-nomination-pools = { default-features = false , version = "20.0.0" }
pallet-nomination-pools-runtime-api = { default-features = false , version = "18.0.0" }
pallet-offences = { default-features = false , version = "22.0.0" }
pallet-preimage = { default-features = false , version = "23.0.0" }
pallet-proxy = { default-features = false , version = "23.0.0" }
pallet-referenda = { default-features = false , version = "23.0.0" }
pallet-scheduler = { default-features = false , version = "24.0.0" }
pallet-session = { default-features = false , version = "23.0.0" }
frame-support = { default-features = false , version = "23.0.0" }
pallet-staking = { default-features = false , version = "23.0.0" }
pallet-staking-reward-curve = { version = "8.0.0" }
pallet-staking-runtime-api = { default-features = false , version = "9.0.0" }
frame-system = { default-features = false , version = "23.0.0" }
frame-system-rpc-runtime-api = { default-features = false , version = "21.0.0" }
polkadot-runtime-constants = { package = "polkadot-runtime-constants", path = "constants", 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-whitelist = { path = "../../../substrate/frame/whitelist", default-features = false }
pallet-vesting = { path = "../../../substrate/frame/vesting", default-features = false }
pallet-utility = { path = "../../../substrate/frame/utility", default-features = false }
frame-election-provider-support = { path = "../../../substrate/frame/election-provider-support", default-features = false }
pallet-xcm = { path = "../../xcm/pallet-xcm", default-features = false, features=["experimental"] }
pallet-xcm-benchmarks = { path = "../../xcm/pallet-xcm-benchmarks", default-features = false, optional = true }
pallet-timestamp = { default-features = false , version = "22.0.0" }
pallet-tips = { default-features = false , version = "22.0.0" }
pallet-treasury = { default-features = false , version = "22.0.0" }
pallet-whitelist = { default-features = false , version = "22.0.0" }
pallet-vesting = { default-features = false , version = "23.0.0" }
pallet-utility = { default-features = false , version = "23.0.0" }
frame-election-provider-support = { default-features = false , version = "23.0.0" }
pallet-xcm = { default-features = false, features=["experimental"] , version = "2.0.0" }
pallet-xcm-benchmarks = { default-features = false, optional = true , version = "2.0.0" }

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-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 }
pallet-nomination-pools-benchmarking = { path = "../../../substrate/frame/nomination-pools/benchmarking", default-features = false, optional = true }
frame-benchmarking = { default-features = false, optional = true , version = "23.0.0" }
frame-try-runtime = { default-features = false, optional = true , version = "0.29.0" }
frame-system-benchmarking = { default-features = false, optional = true , version = "23.0.0" }
pallet-election-provider-support-benchmarking = { default-features = false, optional = true , version = "22.0.0" }
pallet-offences-benchmarking = { default-features = false, optional = true , version = "23.0.0" }
pallet-session-benchmarking = { default-features = false, optional = true , version = "23.0.0" }
pallet-nomination-pools-benchmarking = { default-features = false, optional = true , version = "21.0.0" }
hex-literal = { version = "0.4.1", optional = true }

runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false, features = ["experimental"] }
runtime-parachains = { package = "polkadot-runtime-parachains", path = "../parachains", default-features = false }
primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false }
runtime-common = { package = "polkadot-runtime-common", default-features = false, features = ["experimental"] , version = "2.0.0" }
runtime-parachains = { package = "polkadot-runtime-parachains", default-features = false , version = "2.0.0" }
primitives = { package = "polkadot-primitives", default-features = false , version = "2.0.0" }

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 = { package = "staging-xcm", default-features = false , version = "2.0.0" }
xcm-executor = { package = "staging-xcm-executor", default-features = false , version = "2.0.0" }
xcm-builder = { package = "staging-xcm-builder", default-features = false , version = "2.0.0" }

[dev-dependencies]
hex-literal = "0.4.1"
tiny-keccak = { version = "2.0.2", features = ["keccak"] }
keyring = { package = "sp-keyring", path = "../../../substrate/primitives/keyring" }
sp-trie = { path = "../../../substrate/primitives/trie" }
keyring = { package = "sp-keyring", version = "26.0.0" }
sp-trie = { version = "24.0.0" }
serde_json = "1.0.96"
separator = "0.4.1"
remote-externalities = { package = "frame-remote-externalities" , path = "../../../substrate/utils/frame/remote-externalities" }
remote-externalities = { package = "frame-remote-externalities" , version = "0.30.0" }
tokio = { version = "1.24.2", features = ["macros"] }
sp-tracing = { path = "../../../substrate/primitives/tracing", default-features = false }
sp-tracing = { default-features = false , version = "12.0.0" }

[build-dependencies]
substrate-wasm-builder = { path = "../../../substrate/utils/wasm-builder" }
substrate-wasm-builder = { version = "12.0.0" }

[features]
default = [ "std" ]
Expand Down
12 changes: 6 additions & 6 deletions relay/polkadot/constants/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ license.workspace = true
[dependencies]
smallvec = "1.8.0"

frame-support = { path = "../../../../substrate/frame/support", default-features = false }
primitives = { package = "polkadot-primitives", path = "../../../primitives", default-features = false }
runtime-common = { package = "polkadot-runtime-common", path = "../../common", default-features = false }
sp-runtime = { path = "../../../../substrate/primitives/runtime", default-features = false }
sp-weights = { path = "../../../../substrate/primitives/weights", default-features = false }
sp-core = { path = "../../../../substrate/primitives/core", default-features = false }
frame-support = { default-features = false , version = "23.0.0" }
primitives = { package = "polkadot-primitives", default-features = false , version = "2.0.0" }
runtime-common = { package = "polkadot-runtime-common", default-features = false , version = "2.0.0" }
sp-runtime = { default-features = false , version = "26.0.0" }
sp-weights = { default-features = false , version = "22.0.0" }
sp-core = { default-features = false , version = "23.0.0" }

[features]
default = [ "std" ]
Expand Down
Loading

0 comments on commit c2f4041

Please sign in to comment.