Files
pezkuwi-sdk/substrate/primitives/consensus/beefy/Cargo.toml
T

75 lines
1.9 KiB
TOML

[package]
name = "sp-consensus-beefy"
version = "13.0.0"
authors.workspace = true
edition.workspace = true
license = "Apache-2.0"
homepage.workspace = true
repository.workspace = true
description = "Primitives for BEEFY protocol."
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { features = ["derive"], workspace = true }
scale-info = { features = ["derive"], workspace = true }
serde = { optional = true, features = ["alloc", "derive"], workspace = true }
sp-api = { workspace = true }
sp-application-crypto = { workspace = true }
sp-core = { workspace = true }
sp-crypto-hashing = { workspace = true }
sp-io = { workspace = true }
sp-keystore = { workspace = true }
sp-mmr-primitives = { workspace = true }
sp-runtime = { workspace = true }
sp-weights = { workspace = true }
strum = { features = ["derive"], workspace = true }
[dev-dependencies]
array-bytes = { workspace = true, default-features = true }
w3f-bls = { features = ["std"], workspace = true, default-features = true }
[features]
default = ["std"]
std = [
"codec/std",
"scale-info/std",
"serde/std",
"sp-api/std",
"sp-application-crypto/std",
"sp-core/std",
"sp-crypto-hashing/std",
"sp-io/std",
"sp-keystore/std",
"sp-mmr-primitives/std",
"sp-runtime/std",
"sp-weights/std",
"strum/std",
]
# Serde support without relying on std features.
serde = [
"dep:serde",
"scale-info/serde",
"sp-application-crypto/serde",
"sp-core/serde",
"sp-runtime/serde",
]
# This feature adds BLS crypto primitives. It should not be used in production since
# the BLS implementation and interface may still be subject to significant change.
bls-experimental = [
"sp-application-crypto/bls-experimental",
"sp-core/bls-experimental",
]
runtime-benchmarks = [
"sp-api/runtime-benchmarks",
"sp-io/runtime-benchmarks",
"sp-mmr-primitives/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]