Cargo Features
[dependencies]
bp-electrum = { version = "0.11.0-beta.9.3", default-features = false, features = ["minimal", "debug-calls", "proxy", "use-rustls", "use-openssl"] }
- default = proxy, use-rustls
-
These default features are set whenever
bp-electrum
is added without
somewhere in the dependency tree.default-features = false Affects
bp-electrum::socks
,raw_client::ElectrumSslStream
,raw_client::ElectrumProxyStream
… - minimal
- debug-calls
-
Affects
api::ElectrumApi.calls_made
… - proxy default = byteorder, libc, winapi
-
Affects
bp-electrum::socks
,raw_client::ElectrumProxyStream
,bp-electrum::client
… - use-rustls default = rustls, webpki-roots
-
Affects
raw_client::ElectrumSslStream
,bp-electrum::client
… - use-openssl = openssl
-
Affects
raw_client::ElectrumSslStream
,bp-electrum::client
…
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.
- openssl use-openssl?
-
Enables openssl
Optional dependencies
- rustls use-rustls
- webpki-roots use-rustls
- byteorder proxy
- libc unix proxy
- winapi win proxy