Skip to content

Consider bumping MSRV #1750

Closed
bitcoindevkit/rust-electrum-client
#159
@tnull

Description

@tnull

Unfortunately rustls recently decided to bump their MSRV to 1.71 (see rustls/rustls#2239). While they now at least intermittently reverted the MSRV and pushed out version 0.23.19 that fixes RUSTSEC-2024-0399 without at bumping MSRV at the same time, they are commited to re-bump their MSRV to 1.71 with the follow-up (i.e., 0.23.20) release.

Given how security-critical TLS libraries are, I don't think an MSRV of 1.63 for the dependent crates can be maintained through pinning, as users might miss out on critical security patches. That puts any dependent crates in a tough spot, and essentially forces them to bump their MSRV to at least 1.71, too.

In LDK we're probably going to introduce a separate MSRV just for the lightning-transaction-sync crate (currently depending on rustls), which will have further consequences, such as bumping MSRV on LDK Node and other dependent projects down the dependency chain. We might also re-evaluate whether native-tls can be made to work on Android/Kotlin bindings.

I'm opening this discussion topic as BDK probably also needs to act on this in one form or another, i.e., either bumping MSRV in general, or introducing a separate MSRV for anything depending on rustls.

It probably would also make sense to figure out a common MSRV target for the affected crates to at least somewhat maintain a standard that users can lean on here. It might just be 1.71, but then again rustls's newly defined MSRV policy would 'allow' (not that they seem to care too much in general) them to bump up to 1.73 currently.

Metadata

Metadata

Assignees

Labels

dependenciesPull requests that update a dependency file

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions