bitcoindevkit / rust-electrum-client

Bitcoin Electrum client library. Supports plaintext, TLS and Onion servers.
MIT License
80 stars 62 forks source link

chore: Enforce min `rustls` version to 0.23.19 #158

Open evanlinjin opened 3 days ago

evanlinjin commented 3 days ago

rustls versions 0.23.18 and 0.23.19 contains fix for vulnerability RUSTSEC-2024-0399. However, 0.23.18 bumps MSRV to 1.71. 0.23.19 reverts MSRV back to 1.63.

We enforce min rustls version to 0.23.19 to make it easier to compile on MSRV and ensure we include the RUSTSEC-2024-0399 fix.

Note that in CI, I decided to pin rustls dependency to 0.23.19 explicitly. This is because in future versions of rustls, the MSRV will be changed to 1.71.

Context: https://github.com/rustls/rustls/pull/2244