Cargo Features
[dependencies]
rgb-lib = { version = "0.3.0-alpha.2", default-features = false, features = ["all", "electrum", "esplora"] }
- default = electrum
-
The
electrum
feature is set by default wheneverrgb-lib
is added without
somewhere in the dependency tree.default-features = false - all = electrum, esplora
- electrum default all? = bp-electrum, electrum-client
-
Enables electrum of bdk and rgb-runtime
Affects
test::mock_asset_terms
,test::mock_token_data
,test::mock_input_unspents
,test::mock_contract_details
… - esplora all?
-
Enables use-esplora-blocking of bdk, esplora_blocking of rgb-runtime
Affects
test::mock_asset_terms
,test::mock_token_data
,test::mock_input_unspents
,test::mock_contract_details
…
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.