Skip to content

Conversation

@TheBlueMatt
Copy link
Contributor

reqwest is one of the largest contributors of code size and dependencies (including single-author dependencies) to much of the rust-bitcoin ecosystem, including ldk-node.

Thus, Tobin took the time to (ask an LLM to) fork minreq and add async support to it, including async rustls support. As its now a functional HTTP(s) client, its time for the ecosystem to start switching over. Luckily, its ~trivial to do.

`reqwest` is one of the largest contributors of code size and
dependencies (including single-author dependencies) to much of the
rust-bitcoin ecosystem, including ldk-node.

Thus, Tobin took the time to (ask an LLM to) fork `minreq` and add
async support to it, including async `rustls` support. As its now
a functional HTTP(s) client, its time for the ecosystem to start
switching over. Luckily, its ~trivial to do.
@ldk-reviews-bot
Copy link

ldk-reviews-bot commented Jan 1, 2026

I've assigned @tnull 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.

@ldk-reviews-bot ldk-reviews-bot requested a review from tnull January 1, 2026 00:29
Copy link
Collaborator

@tnull tnull left a comment

Choose a reason for hiding this comment

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

This needs a formatter run, otherwise generally LGTM.

Should be okay for RGS/scorer downloads, but for other applications (syncing, mostly) I think we want to wait switching over until bitreq is properly async and they have a way to reuse a single connection instead of reopening one per request (see rust-bitcoin/corepc#441 and rust-bitcoin/corepc#442).

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.

3 participants