Cargo Features

[dependencies]
orml-xtokens = { version = "0.10.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.11.0 and std of orml-traits and orml-xcm-support

orml-traits:

orml

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

frame-support:

substrate

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

pallet-xcm:

polkadot

try-runtime

Enables try-runtime of frame-support ^32.0.0, frame-system ^32.0.0, pallet-xcm ^11.0.0, and sp-runtime ^35.0.0

runtime-benchmarks

Enables runtime-benchmarks of frame-support ^32.0.0, frame-system ^32.0.0, pallet-xcm ^11.0.0, sp-runtime ^35.0.0, and staging-xcm-executor ^11.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