Cargo Features

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

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

riscv

enabling this feature will require having a riscv toolchain installed if no tests are ran and runtime benchmarks will not work apart from this the pallet will stay functional

Enables riscv of pallet-revive-fixtures

std default = serde

Enables std of staging-xcm-builder ^17.0.0

Polkadot Dependencies

and std of parity-scale-codec, environmental, frame-support ^38.0.0, frame-system ^38.0.0, log, pallet-revive-fixtures, polkavm ^0.10.0, scale-info, sp-api ^34.0.0, sp-core ^34.0.0, sp-io ^38.0.0, sp-runtime ^39.0.1, sp-std, staging-xcm ^14.2.0, optional frame-benchmarking ^38.0.0, and optional pallet-balances ^39.0.0

environmental:

Substrate Dependencies

try-runtime

Enables try-runtime of frame-support ^38.0.0, frame-system ^38.0.0, pallet-balances ^39.0.0, and sp-runtime ^39.0.1

pallet-balances:

Substrate Dependencies

Affects migration::MigrationStep.pre_upgrade_step, migration::MigrationStep.post_upgrade_step, migration::MigrateSequence.pre_upgrade_step, migration::MigrateSequence.post_upgrade_step

runtime-benchmarks

Enables runtime-benchmarks of frame-benchmarking ^38.0.0, frame-support ^38.0.0, frame-system ^38.0.0, pallet-balances ^39.0.0, sp-runtime ^39.0.1, and staging-xcm-builder ^17.0.0

Affects exec::Ext.transient_storage

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.

serde std
frame-benchmarking runtime-benchmarks?

Enables frame-benchmarking ^38.0.0

pallet-balances runtime-benchmarks? try-runtime?

Enables pallet-balances ^39.0.0