Newer
Older
Svyatoslav Nikolsky
committed
[package]
name = "bridge-runtime-common"
description = "Common types and functions that may be used by substrate-based runtimes of all bridged chains"
authors.workspace = true
edition.workspace = true
repository.workspace = true
Svyatoslav Nikolsky
committed
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
[lints]
workspace = true
Svyatoslav Nikolsky
committed
[dependencies]
Branislav Kontur
committed
codec = { package = "parity-scale-codec", version = "3.1.5", default-features = false, features = ["derive"] }
hash-db = { version = "0.16.0", default-features = false }
log = { version = "0.4.21", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
Svyatoslav Nikolsky
committed
static_assertions = { version = "1.1", optional = true }
Svyatoslav Nikolsky
committed
# Bridge dependencies
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 }
Svyatoslav Nikolsky
committed
bp-runtime = { path = "../../primitives/runtime", default-features = false }
Branislav Kontur
committed
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 }
Svyatoslav Nikolsky
committed
# Substrate dependencies
frame-support = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false }
frame-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false }
pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false }
pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false }
sp-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false }
sp-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false }
sp-io = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false }
sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false }
sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false }
sp-trie = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false }
Svyatoslav Nikolsky
committed
xcm = { package = "staging-xcm", git = "https://github.com/paritytech/polkadot-sdk", default-features = false , branch = "master" }
xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/paritytech/polkadot-sdk", default-features = false , branch = "master" }
Svyatoslav Nikolsky
committed
[dev-dependencies]
bp-test-utils = { path = "../../primitives/test-utils" }
pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master" }
Svyatoslav Nikolsky
committed
Svyatoslav Nikolsky
committed
[features]
Svyatoslav Nikolsky
committed
std = [
"bp-messages/std",
"bp-polkadot-core/std",
"bp-relayers/std",
Svyatoslav Nikolsky
committed
"bp-runtime/std",
"bp-xcm-bridge-hub-router/std",
Svyatoslav Nikolsky
committed
"codec/std",
"frame-support/std",
"hash-db/std",
Svyatoslav Nikolsky
committed
"log/std",
"pallet-bridge-grandpa/std",
"pallet-bridge-messages/std",
"pallet-bridge-parachains/std",
"pallet-bridge-relayers/std",
"pallet-transaction-payment/std",
"pallet-utility/std",
Svyatoslav Nikolsky
committed
"sp-runtime/std",
"sp-std/std",
"sp-trie/std",
Svyatoslav Nikolsky
committed
]
runtime-benchmarks = [
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-bridge-grandpa/runtime-benchmarks",
"pallet-bridge-messages/runtime-benchmarks",
Svyatoslav Nikolsky
committed
"pallet-bridge-parachains/runtime-benchmarks",
"pallet-utility/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
integrity-test = ["static_assertions"]