• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rust-bitcoin / rust-bitcoin / 13271357574
83%

Build:
DEFAULT BRANCH: master
Ran 11 Feb 2025 07:54PM UTC
Jobs 1
Files 122
Run time 276min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 Feb 2025 07:53PM UTC coverage: 82.613% (+0.07%) from 82.54%
13271357574

push

github

apoelstra
Merge rust-bitcoin/rust-bitcoin#3961: Invert dependency between `io` and `hashes`

<a class=hub.com/rust-bitcoin/rust-bitcoin/commit/<a class="double-link" href="https://git"><a class=hub.com/rust-bitcoin/rust-bitcoin/commit/fd4586eaae22cafb5a04cdc55919a4ec4aa6151a">fd4586eaa<a href="https://github.com/rust-bitcoin/rust-bitcoin/commit/2c4e7964a085e2841e4f8f67b36bfffd473678b2"> Invert dependency between io and hashes (Tobin C. Harding)
<a class="double-link" href="https://github.com/rust-bitcoin/rust-bitcoin/commit/9833ca32ce6948069fff92846022cdbd0f91b7dd">9833ca32c</a> primitives: Do not depend on bitcoin_io (Tobin C. Harding)

Pull request description:

  Currently in order to release `hashes v1.0` we need to 1.0 `io` as well. For multiple reasons, many out of our control, the `io` crate may not stabalise any time soon.

  Instead we can invert the dependency between the two crates.

   This is an ingenious idea, props to Kixunil for coming up with it.

  Notes

  - This work highlights that we cannot call `hash_reader` on a siphash.
  - We cannot implement `Hmac::hash_reader` without silently ignoring the key - this would be a footgun
  - This work also highlights that our current `hash_reader` code is not well tested.

ACKs for top commit:
  Kixunil:
    ACK fd4586eaae22cafb5a04cdc55919a4ec4aa6151a
  apoelstra:
    ACK fd4586eaae22cafb5a04cdc55919a4ec4aa6151a; successfully ran local tests

Tree-SHA512: b3fbaf8006129b6e89955bad3ff32e37544

145 of 159 new or added lines in 1 file covered. (91.19%)

12 existing lines in 3 files now uncovered.

20844 of 25231 relevant lines covered (82.61%)

17310.81 hits per line

Uncovered Changes

Lines Coverage ∆ File
14
91.19
io/src/hash.rs

Coverage Regressions

Lines Coverage ∆ File
4
51.47
-6.97% hashes/src/internal_macros.rs
4
89.53
-2.09% hashes/src/hmac/mod.rs
4
52.78
3.37% hashes/src/sha256t/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 13271357574.1 11 Feb 2025 07:54PM UTC 122
82.61
GitHub Action Run
Source Files on build 13271357574
  • Tree
  • List 122
  • Changed 25
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13271357574
  • 2c4e7964 on github
  • Prev Build on master (#13230510681)
  • Next Build on master (#13294398722)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc