Skip to content

Commit 76dc3ae

Browse files
doc: add note for MSRV to README
1 parent 48ee09f commit 76dc3ae

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

README.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,26 @@ Bitcoin Esplora API client library. Supports plaintext, TLS and Onion servers. B
1010
<a href="https://docs.rs/esplora-client"><img alt="API Docs" src="https://img.shields.io/badge/docs.rs-esplora--client-green"/></a>
1111
<a href="https://blog.rust-lang.org/2021/12/02/Rust-1.57.0.html"><img alt="Rustc Version 1.57.0+" src="https://img.shields.io/badge/rustc-1.57.0%2B-lightgrey.svg"/></a>
1212
<a href="https://discord.gg/d7NkDKm"><img alt="Chat on Discord" src="https://img.shields.io/discord/753336465005608961?logo=discord"></a>
13-
</p>
13+
</p>
14+
15+
## Minimum Supported Rust Version (MSRV)
16+
This library should compile with any combination of features with Rust 1.57.0.
17+
18+
To build with the MSRV you will need to pin dependencies as follows:
19+
20+
```shell
21+
cargo update -p tokio --precise 1.29.1
22+
cargo update -p reqwest --precise 0.11.18
23+
cargo update -p rustls:0.20.9 --precise 0.20.8
24+
cargo update -p rustix --precise 0.38.6
25+
cargo update -p rustls:0.21.7 --precise 0.21.1
26+
cargo update -p hyper-rustls:0.24.1 --precise 0.24.0
27+
cargo update -p rustls-webpki:0.100.3 --precise 0.100.1
28+
cargo update -p rustls-webpki:0.101.6 --precise 0.101.1
29+
cargo update -p tempfile --precise 3.6.0
30+
cargo update -p h2 --precise 0.3.20
31+
cargo update -p flate2:1.0.27 --precise 1.0.26
32+
cargo update -p cc --precise 1.0.81
33+
cargo update -p tokio-util --precise 0.7.8
34+
cargo update -p time:0.3.15 --precise 0.3.13
35+
```

0 commit comments

Comments
 (0)