Cargo Features
[dependencies]
orml-xtokens = { version = "1.1.0", default-features = false, features = ["std", "try-runtime", "runtime-benchmarks"] }
- default = std
-
The
std
feature is set by default wheneverorml-xtokens
is added without
somewhere in the dependency tree.default-features = false - std default = serde
-
Enables cumulus-primitives-core and std of orml-traits and orml-xcm-support
orml-traits:
orml
and std of frame-support, frame-system, and log
frame-support:
substrate
and std of pallet-xcm, parity-scale-codec, scale-info, sp-io, sp-runtime, sp-std, staging-xcm, and staging-xcm-executor
pallet-xcm:
polkadot
- try-runtime
-
Enables try-runtime of frame-support, frame-system, pallet-xcm, and sp-runtime
- runtime-benchmarks
-
Enables runtime-benchmarks of frame-support, frame-system, pallet-xcm, sp-runtime, and staging-xcm-executor
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.