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

facet-rs / facet / 20188989810
58%

Build:
DEFAULT BRANCH: main
Ran 13 Dec 2025 07:46AM UTC
Jobs 1
Files 251
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

13 Dec 2025 07:42AM UTC coverage: 57.967% (-0.2%) from 58.211%
20188989810

push

github

fasterthanlime
Add value-based probing for out-of-order tagged enum fields

Extends FieldEvidence with optional scalar_value capture, enabling
internally and adjacently tagged enums to work regardless of field order.

Changes:
- Add scalar_value field to FieldEvidence for capturing tag values during probing
- Update JSON build_probe to capture scalar values instead of skipping
- Update XML build_probe to properly scan remaining events for field evidence
- Rewrite internally/adjacently tagged enum deserialization to probe first
- Add out-of-order tests for both JSON and XML

Fixes cases like {"radius": 5.0, "type": "Circle"} where tag comes last.

Refs: #1271

117 of 205 new or added lines in 4 files covered. (57.07%)

568 existing lines in 4 files now uncovered.

32370 of 55842 relevant lines covered (57.97%)

5679.26 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
52.0
52.0% facet-format/src/evidence.rs
13
72.94
10.34% facet-format-xml/src/parser.rs
15
61.33
-23.58% facet-format/src/deserializer.rs
57
51.34
10.16% facet-format-json/src/parser.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
61.75
-0.21% facet-value/src/value.rs
6
77.38
-1.27% facet-value/src/string.rs
196
34.88
-23.99% facet-value/src/deserialize.rs
365
61.33
-23.58% facet-format/src/deserializer.rs
Jobs
ID Job ID Ran Files Coverage
1 20188989810.1 13 Dec 2025 07:46AM UTC 251
57.97
GitHub Action Run
Source Files on build 20188989810
  • Tree
  • List 251
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 7c7dbdd6 on github
  • Prev Build on main (#20188025685)
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