Cargo Features

[dependencies]
violet-node-runtime = { version = "1.0.1", default-features = false, features = ["std", "try-runtime", "runtime-benchmarks"] }
default = std

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

std default = substrate-wasm-builder

Enables std of pallet-assets ^33.0.0, pallet-aura ^31.0.0, pallet-authorship ^32.0.0, pallet-balances ^33.0.0, pallet-contracts ^31.0.0, pallet-grandpa ^32.0.0, pallet-insecure-randomness-collective-flip ^20.0.0, pallet-ordinals, pallet-sudo ^32.0.0, pallet-timestamp ^31.0.0, pallet-transaction-payment ^32.0.0, and pallet-transaction-payment-rpc-runtime-api ^32.0.0

pallet-assets:

extra deps for setting up pallet-contracts

and std of polkadot-runtime-common ^11.0.0, scale-info, sp-api ^30.0.0, sp-block-builder ^30.0.0, sp-consensus-aura ^0.36.0, sp-consensus-grandpa ^17.0.0, sp-core ^32.0.0, sp-genesis-builder ^0.11.0, sp-inherents ^30.0.0, sp-offchain ^30.0.0, sp-runtime ^35.0.0, sp-session ^31.0.0, sp-std, sp-storage, sp-transaction-pool ^30.0.0, and sp-version ^33.0.0

polkadot-runtime-common:

Polkadot

and std of parity-scale-codec, frame-executive ^32.0.0, frame-support ^32.0.0, frame-system ^32.0.0, frame-system-rpc-runtime-api ^30.0.0, optional frame-benchmarking ^32.0.0, optional frame-system-benchmarking ^32.0.0, and optional frame-try-runtime ^0.38.0

frame-benchmarking:

Used for runtime benchmarking

Affects violet-node-runtime::native_version

try-runtime

Enables try-runtime of frame-executive ^32.0.0, frame-support ^32.0.0, frame-system ^32.0.0, frame-try-runtime ^0.38.0, pallet-assets ^33.0.0, pallet-aura ^31.0.0, pallet-balances ^33.0.0, pallet-contracts ^31.0.0, pallet-grandpa ^32.0.0, pallet-ordinals, pallet-sudo ^32.0.0, pallet-timestamp ^31.0.0, pallet-transaction-payment ^32.0.0, and sp-runtime ^35.0.0

runtime-benchmarks

Enables runtime-benchmarks of frame-benchmarking ^32.0.0, frame-support ^32.0.0, frame-system ^32.0.0, frame-system-benchmarking ^32.0.0, pallet-assets ^33.0.0, pallet-balances ^33.0.0, pallet-contracts ^31.0.0, pallet-grandpa ^32.0.0, pallet-ordinals, pallet-sudo ^32.0.0, pallet-timestamp ^31.0.0, and sp-runtime ^35.0.0

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-try-runtime try-runtime?

Enables frame-try-runtime ^0.38.0

frame-benchmarking runtime-benchmarks?

Enables frame-benchmarking ^32.0.0

frame-system-benchmarking runtime-benchmarks?

Enables frame-system-benchmarking ^32.0.0

substrate-wasm-builder build std

Enables substrate-wasm-builder ^21.0.0