Skip to content
Cargo.toml 1.53 KiB
Newer Older
[package]
name = "bp-header-chain"
description = "A common interface for describing what a bridge pallet should be able to do."
version = "0.1.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"

codec = { package = "parity-scale-codec", version = "3.1.5", default-features = false }
finality-grandpa = { version = "0.16.2", default-features = false }
scale-info = { version = "2.1.1", default-features = false, features = ["derive"] }
serde = { version = "1.0", optional = true }
# Bridge dependencies

bp-runtime = { path = "../runtime", default-features = false }

Xavier Lau's avatar
Xavier Lau committed
frame-support = { 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-consensus-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
Xavier Lau's avatar
Xavier Lau committed
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }

[dev-dependencies]
bp-test-utils = { path = "../test-utils" }

[features]
default = ["std"]
std = [
	"codec/std",
	"finality-grandpa/std",
	"serde/std",
	"scale-info/std",
	"sp-consensus-grandpa/std",
	"sp-runtime/std",