Cargo Features

pallet-asset-tx-payment = { version = "34.0.0", default-features = false, features = ["std", "try-runtime", "runtime-benchmarks"] }
default = std

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

std default = serde

Enables std of sp-core, sp-io, sp-runtime, and sp-std


Substrate dependencies

and std of parity-scale-codec, frame-support, frame-system, pallet-transaction-payment, scale-info, and optional frame-benchmarking


Other dependencies


Enables try-runtime of frame-support, frame-system, pallet-transaction-payment, and sp-runtime


Enables runtime-benchmarks of frame-benchmarking, frame-support, frame-system, and sp-runtime

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-benchmarking runtime-benchmarks?
serde std