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)
32 lines
910 B
TOML
32 lines
910 B
TOML
[package]
|
|
name = "pezsp-consensus-slots"
|
|
version = "0.32.0"
|
|
authors.workspace = true
|
|
description = "Primitives for slots-based consensus"
|
|
edition.workspace = true
|
|
license = "Apache-2.0"
|
|
homepage.workspace = true
|
|
repository.workspace = true
|
|
readme = "README.md"
|
|
documentation.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
codec = { features = ["derive", "max-encoded-len"], workspace = true }
|
|
pezsp-timestamp = { workspace = true }
|
|
scale-info = { features = ["derive"], workspace = true }
|
|
serde = { features = ["alloc", "derive"], optional = true, workspace = true }
|
|
|
|
[features]
|
|
default = [ "std" ]
|
|
std = [ "codec/std", "pezsp-timestamp/std", "scale-info/std", "serde/std" ]
|
|
|
|
# Serde support without relying on std features.
|
|
serde = [ "dep:serde", "scale-info/serde" ]
|
|
runtime-benchmarks = [ "pezsp-timestamp/runtime-benchmarks" ]
|