Cargo Features

[dependencies]
gear-common = { version = "1.3.1", default-features = false, features = ["std", "runtime-benchmarks", "fuzz"] }
default = std

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

std default

Enables std of frame-support ^22.0.0, frame-system ^22.0.0, optional gear-wasm-instrument, primitive-types, 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::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.

fail fuzz?
gear-wasm-instrument runtime-benchmarks?
frame-system runtime-benchmarks? std

Enables frame-system ^22.0.0

frame-benchmarking runtime-benchmarks?

Enables frame-benchmarking ^4.0.0-dev