479010094e
- Remove missing cli crate from workspace members - Fix TOML array syntax errors in pvf and benchmarking-cli Cargo.toml - Fix Rust import ordering with cargo fmt - Fix feature propagation with zepter (try-runtime, runtime-benchmarks, std)
62 lines
1.5 KiB
TOML
62 lines
1.5 KiB
TOML
[package]
|
|
name = "pezsp-consensus-sassafras"
|
|
version = "0.3.4-dev"
|
|
authors.workspace = true
|
|
description = "Primitives for Sassafras consensus"
|
|
edition.workspace = true
|
|
license = "Apache-2.0"
|
|
homepage.workspace = true
|
|
repository = "https://github.com/pezkuwichain/pezkuwi-sdk/"
|
|
documentation.workspace = true
|
|
readme = "README.md"
|
|
publish = false
|
|
|
|
[package.metadata.pezkuwi-sdk]
|
|
exclude-from-umbrella = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
codec = { workspace = true }
|
|
pezsp-api = { workspace = true }
|
|
pezsp-application-crypto = { features = [
|
|
"bandersnatch-experimental",
|
|
], workspace = true }
|
|
pezsp-consensus-slots = { workspace = true }
|
|
pezsp-core = { features = ["bandersnatch-experimental"], workspace = true }
|
|
pezsp-runtime = { workspace = true }
|
|
scale-info = { features = ["derive"], workspace = true }
|
|
serde = { features = ["derive"], optional = true, workspace = true }
|
|
|
|
[features]
|
|
default = [ "std" ]
|
|
std = [
|
|
"codec/std",
|
|
"pezsp-api/std",
|
|
"pezsp-application-crypto/std",
|
|
"pezsp-consensus-slots/std",
|
|
"pezsp-core/std",
|
|
"pezsp-runtime/std",
|
|
"scale-info/std",
|
|
"serde/std",
|
|
]
|
|
|
|
# Serde support without relying on std features.
|
|
serde = [
|
|
"dep:serde",
|
|
"pezsp-application-crypto/serde",
|
|
"pezsp-consensus-slots/serde",
|
|
"pezsp-core/serde",
|
|
"pezsp-runtime/serde",
|
|
"scale-info/serde",
|
|
]
|
|
runtime-benchmarks = [
|
|
"pezsp-api/runtime-benchmarks",
|
|
"pezsp-consensus-slots/runtime-benchmarks",
|
|
"pezsp-runtime/runtime-benchmarks",
|
|
]
|