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

payjoin / rust-payjoin / 13418333922
83%

Build:
DEFAULT BRANCH: master
Ran 19 Feb 2025 05:13PM UTC
Jobs 1
Files 37
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

19 Feb 2025 05:11PM UTC coverage: 79.002% (-0.09%) from 79.088%
13418333922

push

github

web-flow
Use IntoUrl for more ergonomic function signatures (#520)

Re: #513 
Inspired by
[`reqwest::IntoUrl`](https://docs.rs/reqwest/latest/reqwest/trait.IntoUrl.html)

After some consideration, the goal is no longer to
remove `url` types from the public API. That crate is ancient and has a
stable release cadence and conservative MSRV targets (1.63 even with the
latest) that we can track.

However, I still think the `IntoUrl` interface makes our typestate
machines easier to work downstream with for the tradeoff of added
complexity in our crate.

Note, in payjoin-cli We're still validating URLs in configuration, and
using the `url::Url` abstraction in function signatures makes more sense
than becoming more loose for testing.

The greatest advantage of this change may accrue to downstream FFI
users, who I imagine use their native language's Url type and conversion
to a stringly type that payjoin-ffi handles using IntoUrl rather than
forcing them to use the `payjoin::Url` re-export and error handling.

62 of 91 new or added lines in 9 files covered. (68.13%)

4037 of 5110 relevant lines covered (79.0%)

900.25 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
11.11
-0.79% payjoin/src/send/v2/error.rs
5
35.42
-0.75% payjoin/src/io.rs
9
75.0
payjoin/src/into_url.rs
12
19.35
-0.65% payjoin/src/receive/v2/error.rs
Jobs
ID Job ID Ran Files Coverage
1 13418333922.1 19 Feb 2025 05:13PM UTC 37
79.0
GitHub Action Run
Source Files on build 13418333922
  • Tree
  • List 37
  • Changed 11
  • Source Changed 8
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13418333922
  • 4ba2d8c7 on github
  • Prev Build on master (#13375398808)
  • Next Build on master (#13466524337)
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