Cargo Features

[dependencies]
rgb-runtime = { version = "0.12.0-rc.3", default-features = false, features = ["std", "all", "all-async", "async", "fs", "log", "resolvers-all", "resolver-electrum", "resolver-esplora", "resolvers-all-async", "resolver-esplora-async", "serde", "rand"] }
default = std

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

std default all? all-async? fs?
all = fs, log, resolvers-all, serde, std
all-async = async, log, resolvers-all-async, serde, std
async all-async? resolver-esplora-async? = futures

Enables async of rgb-std

Affects esplora::EsploraAsyncResolver, resolvers::Resolver, utxoset::UtxoSet.insert_async, utxoset::UtxoSet.insert_all_async, utxoset::UtxoSet.clear_async, utxoset::UtxoSet.remove_async, utxoset::UtxoSet.remove_all_async, utxoset::UtxoSet.next_index_async

fs all? = serde, std

Enables rgb-persist-fs, binfile of rgb-std

Affects owner::file, runtime::file

log all? all-async?

Enables log

resolvers-all all? = resolver-electrum, resolver-esplora
resolver-electrum resolvers-all?

Enables bp-electrum

resolver-esplora resolvers-all?

Enables blocking-https of bp-esplora

resolvers-all-async all-async? = resolver-esplora-async
resolver-esplora-async resolvers-all-async? = async

Enables async, async-https and tokio of bp-esplora

serde all? all-async? fs? = toml

Enables serde, serde of bp-std, rgb-descriptors, and rgb-std

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.

bp-esplora resolver-esplora? resolver-esplora-async?
futures async?
toml serde?

Enables toml ^0.8.22

rand wasm32 implicit feature

Enables rand ^0.9.1

rand:

Random number generators and other randomness functionality