-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
44 lines (40 loc) · 1.81 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[package]
name = "esplora-client"
version = "0.9.0"
edition = "2018"
authors = ["Alekos Filini <[email protected]>"]
license = "MIT"
homepage = "https://github.com/chaintope/rust-esplora-client"
repository = "https://github.com/chaintope/rust-esplora-client"
documentation = "https://docs.rs/esplora-client/"
description = "Tapyrus Esplora API client library. Supports plaintext, TLS and Onion servers. Blocking or async"
keywords = ["tapyrus", "esplora"]
readme = "README.md"
rust-version = "1.63.0"
[lib]
name = "esplora_client"
path = "src/lib.rs"
[dependencies]
serde = { version = "1.0", features = ["derive"] }
tapyrus = { git = "https://github.com/chaintope/rust-tapyrus", branch = "update_on_bitcoin_0.31.x", default-features = false, features = ["serde", "std"] }
hex = { package = "hex-conservative", version = "0.2" }
log = "^0.4"
minreq = { version = "2.11.0", features = ["json-using-serde"], optional = true }
reqwest = { version = "0.11", optional = true, default-features = false, features = ["json"] }
[dev-dependencies]
serde_json = "1.0"
tokio = { version = "1.20.1", features = ["full"] }
electrsd = { git = "https://github.com/chaintope/electrsd", features = ["legacy", "electrs_0_5_1", "tapyrusd_0_5_2"] }
lazy_static = "1.4.0"
[features]
default = ["blocking", "async", "async-https"]
blocking = ["minreq", "minreq/proxy"]
blocking-https = ["blocking", "minreq/https"]
blocking-https-rustls = ["blocking", "minreq/https-rustls"]
blocking-https-native = ["blocking", "minreq/https-native"]
blocking-https-bundled = ["blocking", "minreq/https-bundled"]
async = ["reqwest", "reqwest/socks"]
async-https = ["async", "reqwest/default-tls"]
async-https-native = ["async", "reqwest/native-tls"]
async-https-rustls = ["async", "reqwest/rustls-tls"]
async-https-rustls-manual-roots = ["async", "reqwest/rustls-tls-manual-roots"]