Cargo Features
[dependencies]
rgb-runtime = { version = "0.11.0-beta.8", default-features = false, features = ["all", "fs", "cli", "esplora_blocking", "electrum_blocking", "mempool_blocking", "serde", "rand"] }
- default = esplora_blocking, mempool_blocking
-
These default features are set whenever
rgb-runtime
is added without
somewhere in the dependency tree.default-features = false - all = cli, electrum_blocking, esplora_blocking, fs, log, mempool_blocking, serde
- fs all? cli? = serde
- cli all? = fs
- esplora_blocking default all? mempool_blocking = bp-esplora
-
Affects
indexers::esplora_blocking
… - electrum_blocking all? = bp-electrum
-
Affects
indexers::electrum_blocking
… - mempool_blocking default all? = esplora_blocking
-
Affects
indexers::mempool_blocking
… - serde all? fs? = serde_crate, serde_yaml
-
Enables serde of bp-std, descriptors, and rgb-psbt
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-electrum electrum_blocking?
- bp-esplora esplora_blocking
- serde_crate serde?
-
Enables serde
- serde_yaml serde?
- log all?
- rand wasm32 implicit feature
-
Enables rand
rand:
Random number generators and other randomness functionality