Cargo Features
[dependencies]
pallet-revive = { version = "0.4.0", default-features = false, features = ["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 - std default = jsonrpsee, subxt-signer
-
Enables std of parity-scale-codec, environmental, ethereum-types, optional frame-benchmarking, frame-support, frame-system, hex, log, optional pallet-balances, pallet-transaction-payment, polkavm ^0.13.0, rlp, scale-info, serde, sp-api, sp-arithmetic, sp-core, sp-io, sp-runtime, sp-std, sp-weights, staging-xcm, and staging-xcm-builder
pallet-balances:
Polkadot SDK Dependencies
- try-runtime
-
Enables try-runtime of frame-support, frame-system, pallet-balances, pallet-transaction-payment, and sp-runtime
- runtime-benchmarks
-
Enables runtime-benchmarks of frame-benchmarking, frame-support, frame-system, pallet-balances, pallet-transaction-payment, 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.