Cargo Features

[dependencies]
electrum-client-netagnostic = { version = "0.19.0", default-features = false, features = ["minimal", "debug-calls", "proxy", "use-rustls", "use-openssl"] }
default = proxy, use-rustls

These default features are set whenever electrum-client-netagnostic is added without default-features = false somewhere in the dependency tree.

Affects electrum-client-netagnostic::socks, raw_client::ElectrumSslStream, raw_client::ElectrumProxyStream

minimal
debug-calls

Affects api::ElectrumApi.calls_made

proxy default = byteorder, libc, winapi

Affects electrum-client-netagnostic::socks, raw_client::ElectrumProxyStream, electrum-client-netagnostic::client

use-rustls default = rustls, webpki-roots

Affects raw_client::ElectrumSslStream, electrum-client-netagnostic::client

use-openssl = openssl

Affects raw_client::ElectrumSslStream, electrum-client-netagnostic::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

Enables rustls ^0.21

webpki-roots use-rustls

Enables webpki-roots ^0.25

byteorder proxy
libc unix proxy
winapi win proxy