Cargo Features
[dependencies]
pallet-xcm = { version = "26.0.0", default-features = false, features = ["std", "try-runtime", "test-utils", "runtime-benchmarks"] }
- default = std
-
The
stdfeature is set by default wheneverpallet-xcmis added withoutsomewhere in the dependency tree.default-features = false - std default test-utils? = serde
-
Enables std of bounded-collections, parity-scale-codec, optional frame-benchmarking, frame-support, frame-system, pallet-balances, scale-info, sp-core, sp-io, sp-runtime, tracing, staging-xcm, staging-xcm-builder, staging-xcm-executor, and xcm-runtime-apis
- try-runtime
-
Enables try-runtime of frame-support, frame-system, pallet-balances, and sp-runtime
- test-utils = std
- runtime-benchmarks
-
Enables runtime-benchmarks of frame-benchmarking, frame-support, frame-system, pallet-balances, sp-runtime, staging-xcm, staging-xcm-builder, staging-xcm-executor, and xcm-runtime-apis
Affects
pallet-xcm::benchmarking,mock::XcmBenchmarkHelper,mock::TestDeliveryHelper…
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.