Cargo Features

[dependencies]
pallet-contracts-for-drink = { version = "22.0.1", default-features = false, features = ["std", "try-runtime", "runtime-benchmarks"] }
default = std

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

std default = serde

Enables full of pallet-contracts-proc-macro ^14.0.0 and std of rand, scale-info, sp-api ^21.0.0, sp-core ^23.0.0, sp-io ^25.0.0, sp-runtime ^26.0.0, sp-std ^10.0.0, wasm-instrument, wasmi, pallet-insecure-randomness-collective-flip ^11.0.0, pallet-proxy ^23.0.0, pallet-timestamp ^22.0.0, pallet-utility ^23.0.0, and sp-keystore ^0.29.0

wasm-instrument:

Only used in benchmarking to generate contract code

and std of parity-scale-codec, environmental, frame-support ^23.0.0, frame-system ^23.0.0, log, pallet-contracts-primitives ^26.0.0, optional frame-benchmarking ^23.0.0, and optional pallet-balances ^23.0.0

environmental:

Substrate Dependencies

try-runtime

Enables try-runtime of frame-support ^23.0.0, frame-system ^23.0.0, pallet-balances ^23.0.0, pallet-insecure-randomness-collective-flip ^11.0.0, pallet-proxy ^23.0.0, pallet-timestamp ^22.0.0, pallet-utility ^23.0.0, and sp-runtime ^26.0.0

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, v11::fill_old_queue

runtime-benchmarks = rand, rand_pcg, wasm-instrument

Enables runtime-benchmarks of frame-benchmarking ^23.0.0, frame-support ^23.0.0, frame-system ^23.0.0, pallet-balances ^23.0.0, pallet-proxy ^23.0.0, pallet-timestamp ^22.0.0, pallet-utility ^23.0.0, and sp-runtime ^26.0.0

Affects v09::store_old_dummy_code, v10::store_old_contract_info, v12::store_old_dummy_code, v13::store_old_contract_info, v14::store_dummy_code, v15::store_old_contract_info, v11::fill_old_queue

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
wasm-instrument runtime-benchmarks? std
rand runtime-benchmarks? std
rand_pcg runtime-benchmarks?
frame-benchmarking runtime-benchmarks?

Enables frame-benchmarking ^23.0.0

pallet-balances runtime-benchmarks? try-runtime?

Enables pallet-balances ^23.0.0