Cargo Features

finality-grandpa = { version = "0.16.2", default-features = false, features = ["std", "derive-codec", "test-helpers", "fuzz-helpers"] }
default = std

The std feature is set by default whenever finality-grandpa is added without default-features = false somewhere in the dependency tree.

std default test-helpers? = futures-timer, log, parking_lot

Enables executor of futures, std of num-traits, parity-scale-codec, and scale-info

Affects finality-grandpa::voter, finality-grandpa::process_commit_validation_result, testing::environment

derive-codec = parity-scale-codec, scale-info
test-helpers = fuzz-helpers, rand, std
fuzz-helpers test-helpers?

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

futures-timer std
log std
parity-scale-codec derive-codec? std
parking_lot std
rand test-helpers?
scale-info derive-codec? std