Skip to content

Pin hyper rustls#4562

Merged
TheBlueMatt merged 1 commit intolightningdevkit:mainfrom
joostjager:pin-hyper-rustls
Apr 14, 2026
Merged

Pin hyper rustls#4562
TheBlueMatt merged 1 commit intolightningdevkit:mainfrom
joostjager:pin-hyper-rustls

Conversation

@joostjager
Copy link
Copy Markdown
Contributor

No description provided.

The build-sync job started resolving hyper-rustls v0.27.8 for the esplora-async-https configuration. That release requires rustc 1.85, but the sync CI job still runs on Rust 1.75.0.

Pin hyper-rustls to 0.27.7 when building with rustc older than 1.85, alongside the existing MSRV dependency pins in ci-tests-common.sh.

AI tools were used in preparing this commit.
@ldk-reviews-bot
Copy link
Copy Markdown

ldk-reviews-bot commented Apr 14, 2026

👋 Thanks for assigning @TheBlueMatt as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

@joostjager joostjager marked this pull request as ready for review April 14, 2026 08:01
@joostjager joostjager requested a review from TheBlueMatt April 14, 2026 08:01
@ldk-claude-review-bot
Copy link
Copy Markdown
Collaborator

No issues found.

This is a straightforward CI pin following the exact same pattern as the existing backtrace (line 18) and idna_adapter (line 21) pins. The hyper-rustls crate is a transitive dependency (via esplora-client with the async-https-rustls feature in lightning-transaction-sync), and pinning it for Rust versions below 1.85 is the established approach for maintaining MSRV compatibility in CI.

[ "$RUSTC_MINOR_VERSION" -lt 81 ] && cargo update -p idna_adapter --precise "1.1.0" --quiet

# Starting with version 0.27.8, the `hyper-rustls` crate has an MSRV of rustc 1.85.0.
[ "$RUSTC_MINOR_VERSION" -lt 85 ] && cargo update -p hyper-rustls --precise "0.27.7" --quiet
Copy link
Copy Markdown
Contributor

@tnull tnull Apr 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really not loving that we have to start pinning-back rustls-related / potentially security critical dependencies on MSRV.

Ubuntu 26.04 LTS release is just 9 days away (and 25.10 already supports up to rustc 1.88).

Can we rather just already bump our MSRV to 1.85? cc @TheBlueMatt

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's at least fix the problem with the pin for now.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that hyper-rustls is not rustls itself, its hyper's rustls wraper.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that hyper-rustls is not rustls itself, its hyper's rustls wraper.

Ofc, which in turn however will/might restrict the set of compatbile rustls versions.

Copy link
Copy Markdown
Collaborator

@TheBlueMatt TheBlueMatt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea, let's just land this until rust-esplora-client can upgrade to bitreq. That'll solve our issue in any case.

@TheBlueMatt TheBlueMatt merged commit b207c36 into lightningdevkit:main Apr 14, 2026
21 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants