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

payjoin / rust-payjoin / 16503850309
83%

Build:
DEFAULT BRANCH: master
Ran 24 Jul 2025 05:38PM UTC
Jobs 1
Files 52
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

24 Jul 2025 05:36PM UTC coverage: 85.805% (+0.1%) from 85.706%
16503850309

push

github

web-flow
Use FnMut closures for receiver typestate checks (#883)

In our liana wallet integration we are encountering some issues due to
how the liana devs have setup their database, namely that their db
always references a mutable self even on read calls within the db so we
need to have some mutability when accessing things like an address or
outpoint from the db. This was not possible when our closures were
limited to non-mutable.

I considered using FnOnce but we have some map methods that prevent us
from doing that as map have the possiblity of forcing the closure being
called more than once which FnOnce is limited to.

N.B. I did not make all of the closures for the typestates mutable but
perhaps we should think about their consistency for integration devs and
to limit rust-payjoin from deciding how devs should implement these type
state checks.

100 of 100 new or added lines in 6 files covered. (100.0%)

7804 of 9095 relevant lines covered (85.81%)

515.12 hits per line

Jobs
ID Job ID Ran Files Coverage
1 16503850309.1 24 Jul 2025 05:38PM UTC 52
85.81
GitHub Action Run
Source Files on build 16503850309
  • Tree
  • List 52
  • Changed 6
  • Source Changed 6
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16503850309
  • 36d62631 on github
  • Prev Build on master (#16450173745)
  • Next Build on master (#16504632716)
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

© 2025 Coveralls, Inc