Closed notmandatory closed 7 months ago
Rebased on master
.
What's the status of this? We're trying to ship binary releases with esplora-client and really don't want to ship a huge pile of HTTP dependencies that we're then taking a responsibility for ensuring we keep up to date. With minreq at least it'd be one crate and we wouldn't have to monitor as many places.
@tnull will open a new PR for this, as we said during the Lib Team Call
Just noticed ureq
added a dependency on a "This is work in progress!" crate written and maintained entirely by a single author (that just broke our MSRV) - https://github.com/algesten/hoot/commits/main/. Definitely need to drop that ASAP :)
Just noticed
ureq
added a dependency on a "This is work in progress!" crate written and maintained entirely by a single author (that just broke our MSRV) - https://github.com/algesten/hoot/commits/main/. Definitely need to drop that ASAP :)
Note the single author in this case is the ureq
maintainer/main author.
Anyways, reported the issue, they pushed out ureq
2.9.4 and introduced an MSRV guarantee of 1.61 within ~1hour. Still, will open a PR switching to minreq
soon.
Now superseded by #75.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
src/blocking.rs | 110 | 147 | 74.83% | ||
<!-- | Total: | 112 | 149 | 75.17% | --> |
Totals | |
---|---|
Change from base Build 6378033331: | 6.0% |
Covered Lines: | 898 |
Relevant Lines: | 1052 |
Since
ureq
still doesn't have an MSRV this PR refactors the blocking esplora client to useminreq
.I also replaced the dependency
bitcoin-internals
with the newhex-conservative
crate.