# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "bridge-hub-rococo-runtime" version = "0.16.0" authors = ["Parity Technologies "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Rococo's BridgeHub parachain runtime" readme = "README.md" license = "Apache-2.0" [lib] name = "bridge_hub_rococo_runtime" path = "src/lib.rs" [[test]] name = "snowbridge" path = "tests/snowbridge.rs" [[test]] name = "tests" path = "tests/tests.rs" [dependencies.bp-asset-hub-rococo] version = "0.14.0" default-features = false [dependencies.bp-asset-hub-westend] version = "0.13.0" default-features = false [dependencies.bp-bridge-hub-polkadot] version = "0.17.0" default-features = false [dependencies.bp-bridge-hub-rococo] version = "0.18.0" default-features = false [dependencies.bp-bridge-hub-westend] version = "0.14.0" default-features = false [dependencies.bp-header-chain] version = "0.18.0" default-features = false [dependencies.bp-messages] version = "0.18.0" default-features = false [dependencies.bp-parachains] version = "0.18.0" default-features = false [dependencies.bp-polkadot-bulletin] version = "0.15.0" default-features = false [dependencies.bp-polkadot-core] version = "0.18.0" default-features = false [dependencies.bp-relayers] version = "0.18.0" default-features = false [dependencies.bp-rococo] version = "0.17.0" default-features = false [dependencies.bp-runtime] version = "0.18.0" default-features = false [dependencies.bp-westend] version = "0.14.0" default-features = false [dependencies.bridge-hub-common] version = "0.10.0" default-features = false [dependencies.bridge-runtime-common] version = "0.18.0" default-features = false [dependencies.codec] version = "3.6.12" features = ["derive"] default-features = false package = "parity-scale-codec" [dependencies.cumulus-pallet-aura-ext] version = "0.17.0" default-features = false [dependencies.cumulus-pallet-parachain-system] version = "0.17.0" default-features = false [dependencies.cumulus-pallet-session-benchmarking] version = "19.0.0" default-features = false [dependencies.cumulus-pallet-xcm] version = "0.17.0" default-features = false [dependencies.cumulus-pallet-xcmp-queue] version = "0.17.0" features = ["bridging"] default-features = false [dependencies.cumulus-primitives-aura] version = "0.15.0" default-features = false [dependencies.cumulus-primitives-core] version = "0.16.0" default-features = false [dependencies.cumulus-primitives-storage-weight-reclaim] version = "8.0.0" default-features = false [dependencies.cumulus-primitives-utility] version = "0.17.0" default-features = false [dependencies.frame-benchmarking] version = "38.0.0" optional = true default-features = false [dependencies.frame-executive] version = "38.0.0" default-features = false [dependencies.frame-metadata-hash-extension] version = "0.6.0" default-features = false [dependencies.frame-support] version = "38.0.0" default-features = false [dependencies.frame-system] version = "38.0.0" default-features = false [dependencies.frame-system-benchmarking] version = "38.0.0" optional = true default-features = false [dependencies.frame-system-rpc-runtime-api] version = "34.0.0" default-features = false [dependencies.frame-try-runtime] version = "0.44.0" optional = true default-features = false [dependencies.hex-literal] version = "0.4.1" default-features = true [dependencies.log] version = "0.4.22" default-features = false [dependencies.pallet-aura] version = "37.0.0" default-features = false [dependencies.pallet-authorship] version = "38.0.0" default-features = false [dependencies.pallet-balances] version = "39.0.0" default-features = false [dependencies.pallet-bridge-grandpa] version = "0.18.0" default-features = false [dependencies.pallet-bridge-messages] version = "0.18.0" default-features = false [dependencies.pallet-bridge-parachains] version = "0.18.0" default-features = false [dependencies.pallet-bridge-relayers] version = "0.18.0" default-features = false [dependencies.pallet-collator-selection] version = "19.0.0" default-features = false [dependencies.pallet-message-queue] version = "41.0.0" default-features = false [dependencies.pallet-multisig] version = "38.0.0" default-features = false [dependencies.pallet-session] version = "38.0.0" default-features = false [dependencies.pallet-timestamp] version = "37.0.0" default-features = false [dependencies.pallet-transaction-payment] version = "38.0.0" default-features = false [dependencies.pallet-transaction-payment-rpc-runtime-api] version = "38.0.0" default-features = false [dependencies.pallet-utility] version = "38.0.0" default-features = false [dependencies.pallet-xcm] version = "17.0.0" default-features = false [dependencies.pallet-xcm-benchmarks] version = "17.0.0" optional = true default-features = false [dependencies.pallet-xcm-bridge-hub] version = "0.13.0" default-features = false [dependencies.parachain-info] version = "0.17.0" default-features = false package = "staging-parachain-info" [dependencies.parachains-common] version = "18.0.0" default-features = false [dependencies.polkadot-parachain-primitives] version = "14.0.0" default-features = false [dependencies.polkadot-runtime-common] version = "17.0.0" default-features = false [dependencies.rococo-runtime-constants] version = "17.0.0" default-features = false [dependencies.scale-info] version = "2.11.1" features = ["derive"] default-features = false [dependencies.serde] version = "1.0.209" features = ["derive"] optional = true default-features = true [dependencies.serde_json] version = "1.0.127" features = ["alloc"] default-features = false [dependencies.snowbridge-beacon-primitives] version = "0.10.0" default-features = false [dependencies.snowbridge-core] version = "0.10.0" default-features = false [dependencies.snowbridge-outbound-queue-runtime-api] version = "0.10.0" default-features = false [dependencies.snowbridge-pallet-ethereum-client] version = "0.10.0" default-features = false [dependencies.snowbridge-pallet-inbound-queue] version = "0.10.0" default-features = false [dependencies.snowbridge-pallet-outbound-queue] version = "0.10.0" default-features = false [dependencies.snowbridge-pallet-system] version = "0.10.0" default-features = false [dependencies.snowbridge-router-primitives] version = "0.16.0" default-features = false [dependencies.snowbridge-runtime-common] version = "0.10.0" default-features = false [dependencies.snowbridge-system-runtime-api] version = "0.10.0" default-features = false [dependencies.sp-api] version = "34.0.0" default-features = false [dependencies.sp-block-builder] version = "34.0.0" default-features = false [dependencies.sp-consensus-aura] version = "0.40.0" default-features = false [dependencies.sp-core] version = "34.0.0" default-features = false [dependencies.sp-genesis-builder] version = "0.15.1" default-features = false [dependencies.sp-inherents] version = "34.0.0" default-features = false [dependencies.sp-io] version = "38.0.0" default-features = false [dependencies.sp-offchain] version = "34.0.0" default-features = false [dependencies.sp-runtime] version = "39.0.1" default-features = false [dependencies.sp-session] version = "36.0.0" default-features = false [dependencies.sp-std] version = "14.0.0" default-features = false [dependencies.sp-storage] version = "21.0.0" default-features = false [dependencies.sp-transaction-pool] version = "34.0.0" default-features = false [dependencies.sp-version] version = "37.0.0" default-features = false [dependencies.testnet-parachains-constants] version = "10.0.0" features = ["rococo"] default-features = false [dependencies.xcm] version = "14.2.0" default-features = false package = "staging-xcm" [dependencies.xcm-builder] version = "17.0.0" default-features = false package = "staging-xcm-builder" [dependencies.xcm-executor] version = "17.0.0" default-features = false package = "staging-xcm-executor" [dependencies.xcm-runtime-apis] version = "0.4.0" default-features = false [dev-dependencies] [build-dependencies.substrate-wasm-builder] version = "24.0.1" optional = true default-features = true [features] default = ["std"] fast-runtime = [] on-chain-release-build = [] runtime-benchmarks = [ "bridge-hub-common/runtime-benchmarks", "bridge-runtime-common/runtime-benchmarks", "cumulus-pallet-parachain-system/runtime-benchmarks", "cumulus-pallet-session-benchmarking/runtime-benchmarks", "cumulus-pallet-xcmp-queue/runtime-benchmarks", "cumulus-primitives-core/runtime-benchmarks", "cumulus-primitives-utility/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system-benchmarking/runtime-benchmarks", "frame-system/runtime-benchmarks", "pallet-balances/runtime-benchmarks", "pallet-bridge-grandpa/runtime-benchmarks", "pallet-bridge-messages/runtime-benchmarks", "pallet-bridge-parachains/runtime-benchmarks", "pallet-bridge-relayers/runtime-benchmarks", "pallet-collator-selection/runtime-benchmarks", "pallet-message-queue/runtime-benchmarks", "pallet-multisig/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", "pallet-utility/runtime-benchmarks", "pallet-xcm-benchmarks/runtime-benchmarks", "pallet-xcm-bridge-hub/runtime-benchmarks", "pallet-xcm/runtime-benchmarks", "parachains-common/runtime-benchmarks", "polkadot-parachain-primitives/runtime-benchmarks", "polkadot-runtime-common/runtime-benchmarks", "snowbridge-core/runtime-benchmarks", "snowbridge-pallet-ethereum-client/runtime-benchmarks", "snowbridge-pallet-inbound-queue/runtime-benchmarks", "snowbridge-pallet-outbound-queue/runtime-benchmarks", "snowbridge-pallet-system/runtime-benchmarks", "snowbridge-router-primitives/runtime-benchmarks", "snowbridge-runtime-common/runtime-benchmarks", "sp-runtime/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", "xcm-runtime-apis/runtime-benchmarks", ] std = [ "bp-asset-hub-rococo/std", "bp-asset-hub-westend/std", "bp-bridge-hub-polkadot/std", "bp-bridge-hub-rococo/std", "bp-bridge-hub-westend/std", "bp-header-chain/std", "bp-messages/std", "bp-parachains/std", "bp-polkadot-bulletin/std", "bp-polkadot-core/std", "bp-relayers/std", "bp-rococo/std", "bp-runtime/std", "bp-westend/std", "bridge-hub-common/std", "bridge-runtime-common/std", "codec/std", "cumulus-pallet-aura-ext/std", "cumulus-pallet-parachain-system/std", "cumulus-pallet-session-benchmarking/std", "cumulus-pallet-xcm/std", "cumulus-pallet-xcmp-queue/std", "cumulus-primitives-aura/std", "cumulus-primitives-core/std", "cumulus-primitives-storage-weight-reclaim/std", "cumulus-primitives-utility/std", "frame-benchmarking/std", "frame-executive/std", "frame-metadata-hash-extension/std", "frame-support/std", "frame-system-benchmarking?/std", "frame-system-rpc-runtime-api/std", "frame-system/std", "frame-try-runtime?/std", "log/std", "pallet-aura/std", "pallet-authorship/std", "pallet-balances/std", "pallet-bridge-grandpa/std", "pallet-bridge-messages/std", "pallet-bridge-parachains/std", "pallet-bridge-relayers/std", "pallet-collator-selection/std", "pallet-message-queue/std", "pallet-multisig/std", "pallet-session/std", "pallet-timestamp/std", "pallet-transaction-payment-rpc-runtime-api/std", "pallet-transaction-payment/std", "pallet-utility/std", "pallet-xcm-benchmarks?/std", "pallet-xcm-bridge-hub/std", "pallet-xcm/std", "parachain-info/std", "parachains-common/std", "polkadot-parachain-primitives/std", "polkadot-runtime-common/std", "rococo-runtime-constants/std", "scale-info/std", "serde", "serde_json/std", "snowbridge-beacon-primitives/std", "snowbridge-core/std", "snowbridge-outbound-queue-runtime-api/std", "snowbridge-pallet-ethereum-client/std", "snowbridge-pallet-inbound-queue/std", "snowbridge-pallet-outbound-queue/std", "snowbridge-pallet-system/std", "snowbridge-router-primitives/std", "snowbridge-runtime-common/std", "snowbridge-system-runtime-api/std", "sp-api/std", "sp-block-builder/std", "sp-consensus-aura/std", "sp-core/std", "sp-genesis-builder/std", "sp-inherents/std", "sp-io/std", "sp-offchain/std", "sp-runtime/std", "sp-session/std", "sp-std/std", "sp-storage/std", "sp-transaction-pool/std", "sp-version/std", "substrate-wasm-builder", "testnet-parachains-constants/std", "xcm-builder/std", "xcm-executor/std", "xcm-runtime-apis/std", "xcm/std", ] try-runtime = [ "cumulus-pallet-aura-ext/try-runtime", "cumulus-pallet-parachain-system/try-runtime", "cumulus-pallet-xcm/try-runtime", "cumulus-pallet-xcmp-queue/try-runtime", "frame-executive/try-runtime", "frame-support/try-runtime", "frame-system/try-runtime", "frame-try-runtime/try-runtime", "pallet-aura/try-runtime", "pallet-authorship/try-runtime", "pallet-balances/try-runtime", "pallet-bridge-grandpa/try-runtime", "pallet-bridge-messages/try-runtime", "pallet-bridge-parachains/try-runtime", "pallet-bridge-relayers/try-runtime", "pallet-collator-selection/try-runtime", "pallet-message-queue/try-runtime", "pallet-multisig/try-runtime", "pallet-session/try-runtime", "pallet-timestamp/try-runtime", "pallet-transaction-payment/try-runtime", "pallet-utility/try-runtime", "pallet-xcm-bridge-hub/try-runtime", "pallet-xcm/try-runtime", "parachain-info/try-runtime", "polkadot-runtime-common/try-runtime", "snowbridge-pallet-ethereum-client/try-runtime", "snowbridge-pallet-inbound-queue/try-runtime", "snowbridge-pallet-outbound-queue/try-runtime", "snowbridge-pallet-system/try-runtime", "sp-runtime/try-runtime", ] [lints.clippy.all] level = "allow" priority = 0 [lints.clippy.bind_instead_of_map] level = "allow" priority = 2 [lints.clippy.borrowed-box] level = "allow" priority = 2 [lints.clippy.complexity] level = "warn" priority = 1 [lints.clippy.correctness] level = "warn" priority = 1 [lints.clippy.default_constructed_unit_structs] level = "allow" priority = 2 [lints.clippy.derivable_impls] level = "allow" priority = 2 [lints.clippy.eq_op] level = "allow" priority = 2 [lints.clippy.erasing_op] level = "allow" priority = 2 [lints.clippy.extra-unused-type-parameters] level = "allow" priority = 2 [lints.clippy.identity-op] level = "allow" priority = 2 [lints.clippy.if-same-then-else] level = "allow" priority = 2 [lints.clippy.needless-lifetimes] level = "allow" priority = 2 [lints.clippy.needless_option_as_deref] level = "allow" priority = 2 [lints.clippy.nonminimal-bool] level = "allow" priority = 2 [lints.clippy.option-map-unit-fn] level = "allow" priority = 2 [lints.clippy.stable_sort_primitive] level = "allow" priority = 2 [lints.clippy.too-many-arguments] level = "allow" priority = 2 [lints.clippy.type_complexity] level = "allow" priority = 2 [lints.clippy.unit_arg] level = "allow" priority = 2 [lints.clippy.unnecessary_cast] level = "allow" priority = 2 [lints.clippy.useless_conversion] level = "allow" priority = 2 [lints.clippy.while_immutable_condition] level = "allow" priority = 2 [lints.clippy.zero-prefixed-literal] level = "allow" priority = 2 [lints.rust.suspicious_double_ref_op] level = "allow" priority = 2 [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(substrate_runtime)"]