[package]
name = "finality-grandpa"
version = "0.16.2"
description = "PBFT-based finality gadget for blockchains"
authors = ["Parity Technologies <admin@parity.io>"]
license = "Apache-2.0"
repository = "https://github.com/paritytech/finality-grandpa"
edition = "2021"
[dependencies]
either = { version = "1.6", default-features = false }
futures = { version = "0.3", default-features = false }
futures-timer = { version = "3.0", optional = true }
log = { version = "0.4", optional = true }
num = { package = "num-traits", version = "0.2", default-features = false }
parity-scale-codec = { version = "3", default-features = false, optional = true, features = [
"derive",
] }
parking_lot = { version = "0.12", optional = true }
rand = { version = "0.8", optional = true }
scale-info = { version = "2", default-features = false, optional = true, features = [
"derive",
] }
[dev-dependencies]
quickcheck = "1.0"
rand = "0.8"
[features]
default = ["std"]
std = [
"parity-scale-codec/std",
"num/std",
"parking_lot",
"log",
"futures-timer",
"futures/executor",
"scale-info/std",
]
derive-codec = ["parity-scale-codec", "scale-info"]
test-helpers = ["fuzz-helpers", "rand", "std"]
fuzz-helpers = []