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

rust-cli / config-rs / 18139561369
64%

Build:
DEFAULT BRANCH: main
Ran 30 Sep 2025 06:22PM UTC
Jobs 1
Files 22
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

30 Sep 2025 06:21PM UTC coverage: 64.846% (+0.07%) from 64.774%
18139561369

push

github

web-flow
feat: Improve errors from try_deserialize (#695)

Enables user code to handle missing and invalid fields after calling
try_deserialize instead of having to match and search in the string
returned in `ConfigError::Message`.

Personally I deem the `String::leak` call safe for my usage, as I would
expect to terminate my program on configuration errors anyhow, however
we could certainly also change the `expected` field to be a `Cow<str>`
or similar to handle both `&'static str` and `String` elegantly.

Part of #532

3 of 3 new or added lines in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

950 of 1465 relevant lines covered (64.85%)

3.71 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
72.09
1.01% src/error.rs
Jobs
ID Job ID Ran Files Coverage
1 18139561369.1 30 Sep 2025 06:22PM UTC 22
64.85
GitHub Action Run
Source Files on build 18139561369
  • Tree
  • List 22
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • fd203fb3 on github
  • Prev Build on main (#18136045821)
  • Next Build on main (#18139610542)
  • 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

© 2025 Coveralls, Inc