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

rust-bitcoin / rust-bitcoin / 13726075219
83%

Build:
DEFAULT BRANCH: master
Ran 07 Mar 2025 05:33PM UTC
Jobs 1
Files 125
Run time 1min
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

07 Mar 2025 05:32PM UTC coverage: 83.002%. Remained the same
13726075219

push

github

apoelstra
Merge rust-bitcoin/rust-bitcoin#4127: units: Prevent casting pub enums as ints

<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/97453ef9bc2b99a67252419ff015f13679df7312">97453ef9b units: Prevent casting pub enums as ints (Tobin C. Harding)

Pull request description:

  A public enum with simple variants gets an automatic integer variant that can be cast by library consumers. This puts a unnecessary maintenance burden upon us because we cannot then add variants in the middle of others.

  Add a hidden variant to the single public non-error enum in `units`.

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

Tree-SHA512: 251515210719da7a3932dbe4df13b39cc9c

21574 of 25992 relevant lines covered (83.0%)

16730.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 13726075219.1 07 Mar 2025 05:33PM UTC 125
83.0
GitHub Action Run
Source Files on build 13726075219
  • Tree
  • List 125
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13726075219
  • 1a18ff58 on github
  • Prev Build on master (#13725067989)
  • Next Build on master (#13732459809)
  • 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