Cargo Features

[dependencies]
rgb-lib = { version = "0.3.0-alpha.11", default-features = false, features = ["all", "electrum", "esplora", "camel_case"] }
default camel_case? = electrum

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

all = electrum, esplora
electrum default all? = bp-electrum, electrum-client, reqwest

Enables electrum of bdk ^0.29, electrum_blocking of rgb-runtime =0.11.0-beta.8

Affects rust_only::check_indexer_url, rust_only::check_proxy_url, test::initialize, test::mock_asset_terms, test::mock_token_data, test::mock_input_unspents, test::mock_contract_details

esplora all? = bp-esplora, reqwest

Enables use-esplora-blocking of bdk ^0.29, esplora_blocking of rgb-runtime =0.11.0-beta.8

Affects rust_only::check_indexer_url, rust_only::check_proxy_url, test::initialize, test::mock_asset_terms, test::mock_token_data, test::mock_input_unspents, test::mock_contract_details

camel_case = default

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.

electrum-client electrum

Enables electrum-client ^0.19.0

reqwest electrum esplora?
bp-electrum electrum

Enables bp-electrum =0.11.0-beta.8.1

bp-esplora esplora?

Enables bp-esplora =0.11.0-beta.8