Cargo Features
[dependencies]
bitcoins-provider = { version = "0.7.0", default-features = false, features = ["esplora", "rpc", "fetch", "mainnet", "testnet"] }
- default = esplora, mainnet, rpc
-
These default features are set whenever
bitcoins-provider
is added without
somewhere in the dependency tree.default-features = false - esplora default = fetch
-
Affects
bitcoins-provider::esplora
,bitcoins-provider::reqwest_utils
… - rpc default = fetch, secrecy
-
Affects
bitcoins-provider::rpc
,bitcoins-provider::reqwest_utils
… - fetch esplora rpc = bytes, hex, reqwest, serde, serde_json
- mainnet default
-
mutually exclusive
- testnet
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.
- secrecy rpc
-
Enables secrecy ^0.7.0
RPC only
- reqwest fetch?
-
Enables reqwest ^0.10.4
- hex fetch?
- serde fetch?
- serde_json fetch?
- bytes fetch?
-
Enables bytes ^0.5