Files
pezkuwi-sdk/bridges/bin/runtime-common/Cargo.toml
T

111 lines
3.2 KiB
TOML

[package]
name = "bridge-runtime-common"
version = "0.7.0"
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
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
[lints]
workspace = true
[dependencies]
codec = { features = ["derive"], workspace = true }
scale-info = { features = ["derive"], workspace = true }
static_assertions = { optional = true, workspace = true, default-features = true }
tracing = { workspace = true }
tuplex = { workspace = true }
# Bridge dependencies
bp-header-chain = { workspace = true }
bp-messages = { workspace = true }
bp-pezkuwi-core = { workspace = true }
bp-relayers = { workspace = true }
bp-runtime = { workspace = true }
bp-teyrchains = { workspace = true }
pallet-bridge-grandpa = { workspace = true }
pallet-bridge-messages = { workspace = true }
pallet-bridge-relayers = { workspace = true }
pallet-bridge-teyrchains = { workspace = true }
# Substrate dependencies
frame-support = { workspace = true }
frame-system = { workspace = true }
pallet-transaction-payment = { workspace = true }
pallet-utility = { workspace = true }
sp-io = { workspace = true }
sp-runtime = { workspace = true }
sp-std = { workspace = true }
sp-trie = { optional = true, workspace = true }
sp-weights = { workspace = true }
# Pezkuwi dependencies
xcm = { workspace = true }
[dev-dependencies]
bp-test-utils = { workspace = true }
pallet-balances = { workspace = true, default-features = true }
pallet-bridge-messages = { features = [
"std",
"test-helpers",
], workspace = true }
sp-core = { workspace = true, default-features = true }
[features]
default = ["std"]
std = [
"bp-header-chain/std",
"bp-messages/std",
"bp-pezkuwi-core/std",
"bp-relayers/std",
"bp-runtime/std",
"bp-test-utils/std",
"bp-teyrchains/std",
"codec/std",
"frame-support/std",
"frame-system/std",
"pallet-bridge-grandpa/std",
"pallet-bridge-messages/std",
"pallet-bridge-relayers/std",
"pallet-bridge-teyrchains/std",
"pallet-transaction-payment/std",
"pallet-utility/std",
"scale-info/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"sp-trie/std",
"sp-weights/std",
"tracing/std",
"tuplex/std",
"xcm/std",
]
runtime-benchmarks = [
"bp-header-chain/runtime-benchmarks",
"bp-messages/runtime-benchmarks",
"bp-pezkuwi-core/runtime-benchmarks",
"bp-relayers/runtime-benchmarks",
"bp-runtime/runtime-benchmarks",
"bp-runtime/test-helpers",
"bp-test-utils/runtime-benchmarks",
"bp-teyrchains/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-bridge-grandpa/runtime-benchmarks",
"pallet-bridge-messages/runtime-benchmarks",
"pallet-bridge-messages/test-helpers",
"pallet-bridge-relayers/runtime-benchmarks",
"pallet-bridge-teyrchains/runtime-benchmarks",
"pallet-transaction-payment/runtime-benchmarks",
"pallet-utility/runtime-benchmarks",
"sp-io/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"sp-trie",
"sp-trie?/runtime-benchmarks",
"xcm/runtime-benchmarks",
]
integrity-test = ["static_assertions"]
test-helpers = ["bp-runtime/test-helpers", "sp-trie"]