[package] name = "electrum-client-netagnostic" version = "0.19.0" authors = ["Dagur Valberg Johannsson ", "Alekos Filini "] license = "MIT" homepage = "https://gitlab.com/dagurval/rust-electrum-client" repository = "https://gitlab.com/dagurval/rust-electrum-client" documentation = "https://docs.rs/electrum-client-netagnostic/" description = "Electrum client library that is network agnostic. Supports plaintext, TLS and Onion servers." keywords = ["bitcoin", "electrum"] readme = "README.md" # loosely based on https://github.com/evgeniy-scherbina/rust-electrumx-client [lib] name = "electrum_client_netagnostic" path = "src/lib.rs" [dependencies] log = "^0.4" serde = { version = "^1.0", features = ["derive"] } serde_json = { version = "^1.0" } # Optional dependencies openssl = { version = "0.10", optional = true } rustls = { version = "0.21", optional = true, features = ["dangerous_configuration"] } webpki-roots = { version = "0.25", optional = true } byteorder = { version = "1.0", optional = true } [target.'cfg(unix)'.dependencies] libc = { version = "0.2", optional = true } [target.'cfg(windows)'.dependencies] winapi = { version="0.3.9", features=["winsock2"], optional = true } [features] default = ["proxy", "use-rustls"] minimal = [] debug-calls = [] proxy = ["byteorder", "winapi", "libc"] use-rustls = ["webpki-roots", "rustls"] use-openssl = ["openssl"]