Cargo Features

[dependencies]
pallet-revive-fixtures = { version = "0.2.0", default-features = false, features = ["riscv", "std"] }
default = std

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

riscv

only if the feature is set we are building the test fixtures this is because it requires a custom toolchain supporting polkavm we will remove this once there is an upstream toolchain

Affects pallet-revive-fixtures::bench.fixture

std default = frame-system, sp-runtime

only when std is enabled all fixtures are available

Enables std of anyhow

Affects pallet-revive-fixtures::compile_module

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.

frame-system std
sp-runtime std