Cargo Features

[dependencies]
bridge-runtime-common = { version = "0.12.0", default-features = false, features = ["std", "integrity-test", "runtime-benchmarks"] }
default = std

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

std default

Enables std of staging-xcm and staging-xcm-builder

staging-xcm:

Polkadot dependencies

and std of bp-header-chain, bp-messages, bp-parachains, bp-polkadot-core, bp-relayers, bp-runtime, bp-xcm-bridge-hub, bp-xcm-bridge-hub-router, and parity-scale-codec

bp-header-chain:

Bridge dependencies

and std of frame-support, frame-system, hash-db, log, pallet-bridge-grandpa, pallet-bridge-messages, pallet-bridge-parachains, pallet-bridge-relayers, pallet-transaction-payment, pallet-utility, scale-info, sp-api, sp-core, sp-io, sp-runtime, sp-std, and sp-trie

frame-support:

Substrate dependencies

integrity-test = static_assertions

Affects bridge-runtime-common::integrity

runtime-benchmarks

Enables runtime-benchmarks of frame-support, frame-system, pallet-bridge-grandpa, pallet-bridge-messages, pallet-bridge-parachains, pallet-bridge-relayers, pallet-utility, sp-runtime, and staging-xcm-builder

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.

static_assertions integrity-test?