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 wheneverpallet-revive
is added without
somewhere in the dependency tree.default-features = false - 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
Polkadot Dependencies
and std of parity-scale-codec, environmental, frame-support, frame-system, log, pallet-revive-fixtures, polkavm ^0.10.0, scale-info, sp-api, sp-core, sp-io, sp-runtime, sp-std, staging-xcm, optional frame-benchmarking, and optional pallet-balances
environmental:
Substrate Dependencies
- try-runtime
-
Enables try-runtime of frame-support, frame-system, pallet-balances, and sp-runtime
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, frame-support, frame-system, pallet-balances, sp-runtime, and staging-xcm-builder
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.