Cargo Features

[dependencies]
bridge-runtime-common = { version = "0.20.0", default-features = false, features = ["std", "integrity-test", "runtime-benchmarks", "test-helpers"] }
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 bp-header-chain ^0.17.1, bp-messages ^0.17.0, bp-parachains ^0.17.0, bp-polkadot-core ^0.17.0, bp-relayers ^0.17.0, bp-runtime ^0.17.0, bp-xcm-bridge-hub ^0.3.0, bp-xcm-bridge-hub-router, parity-scale-codec, frame-support ^37.1.0, frame-system ^37.1.0, log, pallet-bridge-grandpa ^0.17.0, pallet-bridge-messages ^0.17.0, pallet-bridge-parachains ^0.17.0, pallet-bridge-relayers ^0.17.0, pallet-transaction-payment ^37.0.1, pallet-utility ^37.0.1, scale-info, sp-io ^38.0.0, sp-runtime ^39.0.3, sp-std, sp-trie ^37.0.0, tuplex, staging-xcm ^14.1.0, and staging-xcm-builder ^16.0.3

integrity-test = static_assertions

Affects bridge-runtime-common::integrity

runtime-benchmarks = sp-trie

Enables test-helpers of bp-runtime ^0.17.0, runtime-benchmarks and test-helpers of pallet-bridge-messages ^0.17.0, runtime-benchmarks of frame-support ^37.1.0, frame-system ^37.1.0, and pallet-bridge-grandpa ^0.17.0, runtime-benchmarks of pallet-bridge-parachains ^0.17.0, pallet-bridge-relayers ^0.17.0, pallet-utility ^37.0.1, sp-runtime ^39.0.3, and staging-xcm-builder ^16.0.3

test-helpers = sp-trie

Enables test-helpers of bp-runtime ^0.17.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.

static_assertions integrity-test?
sp-trie runtime-benchmarks? std test-helpers?

Enables sp-trie ^37.0.0