Cargo Features

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

orml-traits:

orml

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

frame-support:

substrate

and std of pallet-xcm ^17.0.0, parity-scale-codec, scale-info, sp-io ^38.0.0, sp-runtime ^39.0.1, sp-std, staging-xcm ^14.2.0, and staging-xcm-executor ^17.0.0

pallet-xcm:

polkadot

try-runtime

Enables try-runtime of frame-support ^38.0.0, frame-system ^38.0.0, pallet-xcm ^17.0.0, and sp-runtime ^39.0.1

runtime-benchmarks

Enables runtime-benchmarks of frame-support ^38.0.0, frame-system ^38.0.0, pallet-xcm ^17.0.0, sp-runtime ^39.0.1, and staging-xcm-executor ^17.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