Skip to content

Commit 90fd1a2

Browse files
committed
docs(esplora): update README.md
1 parent f0e6395 commit 90fd1a2

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

crates/esplora/README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,24 @@ The extension traits are primarily intended to satisfy [`SyncRequest`]s with [`s
1010

1111
For blocking-only:
1212
```toml
13-
bdk_esplora = { version = "0.3", features = ["blocking"] }
13+
bdk_esplora = { version = "0.19", features = ["blocking"] }
1414
```
1515

1616
For async-only:
1717
```toml
18-
bdk_esplora = { version = "0.3", features = ["async"] }
18+
bdk_esplora = { version = "0.19", features = ["async"] }
1919
```
2020

2121
For async-only (with https):
22+
23+
You can additionally specify to use either rustls or native-tls, e.g. `async-https-native`, and this applies to both async and blocking features.
24+
```toml
25+
bdk_esplora = { version = "0.19", features = ["async-https"] }
26+
```
27+
28+
For async-only (with tokio):
2229
```toml
23-
bdk_esplora = { version = "0.3", features = ["async-https"] }
30+
bdk_esplora = { version = "0.19", features = ["async", "tokio"] }
2431
```
2532

2633
To use the extension traits:
@@ -34,7 +41,7 @@ use bdk_esplora::EsploraExt;
3441
use bdk_esplora::EsploraAsyncExt;
3542
```
3643

37-
For full examples, refer to [`example-crates/wallet_esplora_blocking`](https://github.com/bitcoindevkit/bdk/tree/master/example-crates/wallet_esplora_blocking) and [`example-crates/wallet_esplora_async`](https://github.com/bitcoindevkit/bdk/tree/master/example-crates/wallet_esplora_async).
44+
For full examples, refer to [`example_wallet_esplora_blocking`](https://github.com/bitcoindevkit/bdk/tree/master/example-crates/example_wallet_esplora_blocking) and [`example_wallet_esplora_async`](https://github.com/bitcoindevkit/bdk/tree/master/example-crates/example_wallet_esplora_async).
3845

3946
[`esplora-client`]: https://docs.rs/esplora-client/
4047
[`bdk_chain`]: https://docs.rs/bdk-chain/

0 commit comments

Comments
 (0)