[package]
name = "bp-runtime"
description = "Primitives that may be used at (bridges) runtime level."
version = "0.28.0"
authors.workspace = true
edition.workspace = true
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
repository.workspace = true

[lints]
workspace = true

[dependencies]
codec = { workspace = true }
hash-db = { workspace = true }
impl-trait-for-tuples = { workspace = true }
num-traits = { workspace = true }
scale-info = { features = ["derive"], workspace = true }
serde = { features = ["alloc", "derive"], workspace = true }
tracing = { workspace = true }
frame-support.workspace = true
frame-system.workspace = true
sp-core.workspace = true
sp-io.workspace = true
sp-runtime = { features = ["serde"], workspace = true }
sp-state-machine.workspace = true
sp-std.workspace = true
sp-trie.workspace = true
trie-db = { workspace = true }

[dev-dependencies]
hex-literal = { workspace = true, default-features = true }

[features]
default = ["std"]
std = [
	"codec/std",
	"frame-support/std",
	"frame-system/std",
	"hash-db/std",
	"num-traits/std",
	"scale-info/std",
	"serde/std",
	"sp-core/std",
	"sp-io/std",
	"sp-runtime/std",
	"sp-state-machine/std",
	"sp-std/std",
	"sp-trie/std",
	"tracing/std",
	"trie-db/std",
]
test-helpers = []
