39 lines
1.2 KiB
TOML
39 lines
1.2 KiB
TOML
[package]
|
|
name = "electrum-client"
|
|
version = "0.7.0"
|
|
authors = ["Alekos Filini <alekos.filini@gmail.com>"]
|
|
license = "MIT"
|
|
homepage = "https://github.com/MagicalBitcoin/rust-electrum-client"
|
|
repository = "https://github.com/MagicalBitcoin/rust-electrum-client"
|
|
documentation = "https://docs.rs/electrum-client/"
|
|
description = "Bitcoin Electrum client library. 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"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
log = "^0.4"
|
|
bitcoin = { version = "0.26", features = ["use-serde"] }
|
|
serde = { version = "^1.0", features = ["derive"] }
|
|
serde_json = { version = "^1.0" }
|
|
|
|
# Optional dependencies
|
|
socks = { version = "^0.3", optional = true }
|
|
openssl = { version = "^0.10", optional = true }
|
|
rustls = { version = "0.16.0", optional = true, features = ["dangerous_configuration"] }
|
|
webpki = { version = "0.21.0", optional = true }
|
|
webpki-roots = { version = "^0.19", optional = true }
|
|
|
|
[features]
|
|
default = ["proxy", "use-rustls"]
|
|
minimal = []
|
|
debug-calls = []
|
|
proxy = ["socks"]
|
|
use-rustls = ["webpki", "webpki-roots", "rustls"]
|
|
use-openssl = ["openssl"]
|