Cargo Features
[dependencies]
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 wheneverfinality-grandpa
is added without
somewhere in the dependency tree.default-features = false - 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.