sp-consensus-grandpa 21.0.0

Primitives for GRANDPA integration, suitable for WASM compilation. (polkadot v1.15.0)
Documentation
[package]
name = "sp-consensus-grandpa"
version = "21.0.0"
authors.workspace = true
edition.workspace = true
license = "Apache-2.0"
homepage = "https://substrate.io"
repository.workspace = true
description = "Primitives for GRANDPA integration, suitable for WASM compilation. (polkadot v1.15.0)"
documentation = "https://docs.rs/sp-consensus-grandpa"
readme = "README.md"

[lints]
workspace = true

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec = { features = ["derive"], workspace = true }
finality-grandpa = { features = ["derive-codec"], workspace = true }
log = { workspace = true }
scale-info = { features = ["derive"], workspace = true }
serde = { features = ["alloc", "derive"], optional = true, workspace = true }
sp-api.workspace = true
sp-application-crypto.workspace = true
sp-core.workspace = true
sp-keystore = { optional = true, workspace = true }
sp-runtime.workspace = true

[features]
default = ["std"]
std = [
	"codec/std",
	"finality-grandpa/std",
	"log/std",
	"scale-info/std",
	"serde/std",
	"sp-api/std",
	"sp-application-crypto/std",
	"sp-core/std",
	"sp-keystore/std",
	"sp-runtime/std",
]

# Serde support without relying on std features.
serde = [
	"dep:serde",
	"scale-info/serde",
	"sp-application-crypto/serde",
	"sp-core/serde",
	"sp-runtime/serde",
]