Cargo Features
[dependencies]
gear-common = { version = "1.6.2", 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 ^22.0.0, frame-system ^22.0.0, optional gear-wasm-instrument, primitive-types ^0.12.2, sp-arithmetic ^17.0.0, sp-core ^22.0.0, sp-io ^24.0.0, sp-runtime ^25.0.0, and sp-std ^9.0.0
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 ^22.0.0 and frame-system ^22.0.0
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.