Cargo Features

[dependencies]
orml-xtokens = { version = "1.0.0", default-features = false, features = ["std", "try-runtime", "runtime-benchmarks"] }
default = std

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

std default = serde

Enables cumulus-primitives-core ^0.15.0 and std of orml-traits and orml-xcm-support

orml-traits:

orml

and std of frame-support ^37.0.0, frame-system ^37.0.0, and log

frame-support:

substrate

and std of pallet-xcm ^16.0.0, parity-scale-codec, scale-info, sp-io, sp-runtime, sp-std, staging-xcm, and staging-xcm-executor ^16.0.0

pallet-xcm:

polkadot

try-runtime

Enables try-runtime of frame-support ^37.0.0, frame-system ^37.0.0, pallet-xcm ^16.0.0, and sp-runtime

runtime-benchmarks

Enables runtime-benchmarks of frame-support ^37.0.0, frame-system ^37.0.0, pallet-xcm ^16.0.0, sp-runtime, and staging-xcm-executor ^16.0.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.

serde std