Newer
Older
Svyatoslav Nikolsky
committed
[package]
name = "bridge-runtime-common"
version = "0.1.0"
authors = ["Parity Technologies <[email protected]>"]
Svyatoslav Nikolsky
committed
homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/parity-bridges-common/"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
[dependencies]
codec = { package = "parity-scale-codec", version = "2.2.0", default-features = false, features = ["derive"] }
ed25519-dalek = { version = "1.0", default-features = false, optional = true }
hash-db = { version = "0.15.2", default-features = false }
scale-info = { version = "1.0", default-features = false, features = ["derive"] }
Svyatoslav Nikolsky
committed
static_assertions = { version = "1.1", optional = true }
Svyatoslav Nikolsky
committed
# Bridge dependencies
bp-message-dispatch = { path = "../../primitives/message-dispatch", default-features = false }
bp-messages = { path = "../../primitives/messages", default-features = false }
Svyatoslav Nikolsky
committed
bp-runtime = { path = "../../primitives/runtime", default-features = false }
pallet-bridge-dispatch = { path = "../../modules/dispatch", default-features = false }
pallet-bridge-grandpa = { path = "../../modules/grandpa", default-features = false }
pallet-bridge-messages = { path = "../../modules/messages", default-features = false }
Svyatoslav Nikolsky
committed
# Substrate dependencies
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
Svyatoslav Nikolsky
committed
frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true }
pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true }
pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true }
sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
Svyatoslav Nikolsky
committed
sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true }
Svyatoslav Nikolsky
committed
[features]
default = ["std"]
std = [
"bp-message-dispatch/std",
"bp-messages/std",
Svyatoslav Nikolsky
committed
"bp-runtime/std",
"codec/std",
"frame-support/std",
"hash-db/std",
"pallet-bridge-dispatch/std",
"pallet-bridge-grandpa/std",
"pallet-bridge-messages/std",
"pallet-transaction-payment/std",
Svyatoslav Nikolsky
committed
"sp-runtime/std",
"sp-state-machine/std",
Svyatoslav Nikolsky
committed
"sp-std/std",
"sp-trie/std",
]
runtime-benchmarks = [
"ed25519-dalek/u64_backend",
Svyatoslav Nikolsky
committed
"frame-system",
"pallet-balances",
"pallet-bridge-grandpa/runtime-benchmarks",
"pallet-bridge-messages/runtime-benchmarks",
"sp-state-machine",
Svyatoslav Nikolsky
committed
"sp-version",
Svyatoslav Nikolsky
committed
integrity-test = [
"frame-system",
"static_assertions",
]