Skip to content

Conversation

@tcharding
Copy link
Member

@tcharding tcharding commented Oct 26, 2025

We just forked minreq into this repository to create an HTTP crate that is specifically designed to be used by Bitcoin projects. As such we called it bitreq.

Depend on the local bitreq crate instead of minreq.

@tcharding tcharding marked this pull request as draft October 26, 2025 23:32
@tcharding tcharding force-pushed the push-wmmwntomupqn branch 2 times, most recently from 2ea4b01 to 11d9d3e Compare October 27, 2025 01:52
@jamillambert
Copy link
Collaborator

Could address #406 as part of this PR. The two cases left I can see are:
bitreq/src/lib.rs:1 //! # Minreq
and MINREQ_TIMEOUT

99c948c Re-implement json-using-serde feature (Tobin C. Harding)
1251953 Replace stale docs reference to minreq (Tobin C. Harding)

Pull request description:

  This feature was removed when we gutted `minreq` after forking it. Turns out we need it to be able to use `bitreq` in `jsonrpc`.

  Re-implement the feature by copying code from `minreq`.

  Close: rust-bitcoin#393

ACKs for top commit:
  oleonardolima:
    tACK 99c948c
  jamillambert:
    ACK 99c948c

Tree-SHA512: 2e22881566fd3d75e0edb70567dac0b1ed9ce66720511dcead888b2b7686fc89fb1f6bce3bd490f91997e9ade88b0665b00679c79bcef35205c6ce1117306faf
Stale name since we renamed the crate to `bitreq`.

Fix a few instances of `s/minreq/bitreq` missed when forking.
Missed during crate rename.
@tcharding tcharding marked this pull request as ready for review October 30, 2025 22:19
@jamillambert
Copy link
Collaborator

grepped for minreq and found:
.github/workflows/cron-daily-fuzz.yml:21 Cron job still references minreq_http
client/src/client_sync/v17/hidden.rs:10 One missed minreq

Should have been done during the minreq -> bitreq rename.
We just forked `minreq` into this repository to create an HTTP crate
that is specifically designed to be used by Bitcoin projects. As such
we called it `bitreq`.

Depend on the local `bitreq` crate instead of `minreq`. Done directly
in `node` and `jsonrpc`. Indirectly in `client`, including rename of
a million macros that have `minreq` in the name.
Copy link
Collaborator

@jamillambert jamillambert left a comment

Choose a reason for hiding this comment

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

ACK 4ef980d

@tcharding tcharding merged commit e9d7827 into rust-bitcoin:master Nov 5, 2025
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants