Cargo Features
[dependencies]
gear-common = { version = "1.7.0", default-features = false, features = ["std", "runtime-benchmarks", "fuzz"] }
- default = std
-
The
std
feature is set by default whenevergear-common
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of frame-support, frame-system, optional gear-wasm-instrument, primitive-types ^0.12.2, sp-arithmetic, sp-core, sp-io, sp-runtime, and sp-std
sp-core:
Substrate deps
Affects
gear-common::auxiliary
,gear-common::pallet_tests
… - runtime-benchmarks = frame-benchmarking, gear-wasm-instrument
-
Enables runtime-benchmarks of frame-support and frame-system
Affects
gear-common::benchmarking
… - fuzz = fail
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.