Cargo Features

[dependencies]
orml-asset-registry = { version = "1.1.0", default-features = false, features = ["std", "try-runtime", "runtime-benchmarks"] }
default = std

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

std default = serde

Enables std of orml-traits

orml

and std of pallet-xcm and parity-scale-codec

pallet-xcm:

polkadot

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

frame-support:

substrate

and std of scale-info, sp-io, sp-runtime, sp-std, staging-xcm, staging-xcm-builder, staging-xcm-executor, and optional polkadot-runtime-common

polkadot-runtime-common:

for runtime-benchmarks

try-runtime

Enables try-runtime of frame-support, frame-system, pallet-xcm, optional polkadot-runtime-common, and sp-runtime

runtime-benchmarks

Enables runtime-benchmarks of frame-support, frame-system, pallet-xcm, polkadot-runtime-common, sp-runtime, staging-xcm-builder, 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.

serde std
polkadot-runtime-common runtime-benchmarks?