# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.63.0" name = "esplora-client" version = "0.11.0" authors = ["Alekos Filini "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Bitcoin Esplora API client library. Supports plaintext, TLS and Onion servers. Blocking or async" homepage = "https://github.com/bitcoindevkit/rust-esplora-client" documentation = "https://docs.rs/esplora-client/" readme = "README.md" keywords = [ "bitcoin", "esplora", ] license = "MIT" repository = "https://github.com/bitcoindevkit/rust-esplora-client" [lib] name = "esplora_client" path = "src/lib.rs" [dependencies.bitcoin] version = "0.32" features = [ "serde", "std", ] default-features = false [dependencies.hex] version = "0.2" package = "hex-conservative" [dependencies.log] version = "^0.4" [dependencies.minreq] version = "2.11.0" features = ["json-using-serde"] optional = true [dependencies.reqwest] version = "0.11" features = ["json"] optional = true default-features = false [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.tokio] version = "1" features = ["time"] optional = true [dev-dependencies.electrsd] version = "0.28.0" features = [ "legacy", "esplora_a33e97e1", "bitcoind_25_0", ] [dev-dependencies.lazy_static] version = "1.4.0" [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.tokio] version = "1.20.1" features = ["full"] [features] async = [ "reqwest", "reqwest/socks", "tokio?/time", ] 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", ] blocking = [ "minreq", "minreq/proxy", ] blocking-https = [ "blocking", "minreq/https", ] blocking-https-bundled = [ "blocking", "minreq/https-bundled", ] blocking-https-native = [ "blocking", "minreq/https-native", ] blocking-https-rustls = [ "blocking", "minreq/https-rustls", ] default = [ "blocking", "async", "async-https", "tokio", ] tokio = ["dep:tokio"]