Add wallet_esplora_async example and various fixes

Fixes include:
* Allow `bdk_esplora` to use async with tls
* Reorganize `bdk_esplora` crate to have separate files for
  async vs blocking
* Use optional dependencies for `bdk_esplora` async
This commit is contained in:
志宇
2023-03-09 10:59:18 +13:00
parent 26ab2e2d6c
commit def0c9ed39
8 changed files with 717 additions and 581 deletions

View File

@@ -8,5 +8,5 @@ publish = false
[dependencies]
bdk = { path = "../../crates/bdk" }
bdk_esplora = { path = "../../crates/esplora" }
bdk_esplora = { path = "../../crates/esplora", features = ["blocking"] }
bdk_file_store = { path = "../../crates/file_store" }