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

rust-bitcoin / rust-bitcoin / 16353401521
83%

Build:
DEFAULT BRANCH: master
Ran 17 Jul 2025 06:49PM UTC
Jobs 1
Files 129
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

17 Jul 2025 06:48PM UTC coverage: 83.537% (-0.04%) from 83.575%
16353401521

push

github

apoelstra
Merge rust-bitcoin/rust-bitcoin#4662: primitives: Inline `impl_to_hex_from_lower_hex` macro and deprecate

<a class=hub.com/rust-bitcoin/rust-bitcoin/commit/d42d478f1b6aab9969bb73108d8afdaf3db975e3">d42d478f1 primitives: Inline impl_to_hex_from_lower_hex and deprecate (Tobin C. Harding)

Pull request description:

  Macros are basically just a pain in the arse. This one is used to reduced code duplication/verbosity even thought the function can be written as a one-liner.
  
  Also calling macros across crate boundries is error prone and a constant source of maintenance grief.
  
  Note also:
  
  - The generated docs are quite general
  - `#[inline]` is missing
  - The docs on the macro are wrong in regards to the no-op
  
  Remove all calls to the macro from `primitives` and inline using terse syntax by way of the `format!` macro.
  
  Add `deprecated` attribute and direct users to just use `format!("{var:x}")` instead.


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


Tree-SHA512: 2029bb18d3e26439e10fb50af3eec71b10e

2 of 6 new or added lines in 5 files covered. (33.33%)

11 existing lines in 2 files now uncovered.

21352 of 25560 relevant lines covered (83.54%)

15213.26 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
94.44
9.44% primitives/src/pow.rs
1
90.0
-1.53% primitives/src/script/borrowed.rs
1
98.46
-1.54% primitives/src/script/owned.rs
1
86.67
1.42% primitives/src/sequence.rs

Coverage Regressions

Lines Coverage ∆ File
6
86.71
-0.39% bitcoin/src/psbt/mod.rs
5
78.26
-21.74% internals/src/macros.rs
Jobs
ID Job ID Ran Files Coverage
1 16353401521.1 17 Jul 2025 06:49PM UTC 129
83.54
GitHub Action Run
Source Files on build 16353401521
  • Tree
  • List 129
  • Changed 7
  • Source Changed 5
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16353401521
  • 03c0329e on github
  • Prev Build on master (#16352614033)
  • Next Build on master (#16401770496)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc