Cargo Features
[dependencies]
bridge-runtime-common = { version = "0.18.2", default-features = false, features = ["std", "integrity-test", "runtime-benchmarks", "test-helpers"] }
- default = std
-
The
std
feature is set by default wheneverbridge-runtime-common
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of bp-header-chain, bp-messages, bp-parachains, bp-polkadot-core, bp-relayers, bp-runtime, bp-xcm-bridge-hub, parity-scale-codec, frame-support, frame-system, log, pallet-bridge-grandpa, pallet-bridge-messages, pallet-bridge-parachains, pallet-bridge-relayers, pallet-transaction-payment, pallet-utility, scale-info, sp-io, sp-runtime, sp-std, sp-trie, tuplex, and staging-xcm
- integrity-test = static_assertions
-
Affects
bridge-runtime-common::integrity
… - runtime-benchmarks = sp-trie
-
Enables test-helpers of bp-runtime, runtime-benchmarks and test-helpers of pallet-bridge-messages, runtime-benchmarks of frame-support, frame-system, and pallet-bridge-grandpa, runtime-benchmarks of pallet-bridge-parachains, pallet-bridge-relayers, pallet-utility, and sp-runtime
- test-helpers = sp-trie
-
Enables test-helpers of bp-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.