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

facet-rs / facet / 20027949436
58%

Build:
DEFAULT BRANCH: main
Ran 08 Dec 2025 12:23PM UTC
Jobs 1
Files 203
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

08 Dec 2025 12:22PM UTC coverage: 58.935% (+0.1%) from 58.838%
20027949436

push

github

fasterthanlime
fix(facet-yaml): implement untagged enum deserialization

Add support for deserializing untagged enums in facet-yaml, fixing #1183.

The implementation uses the same Solver-based approach as facet-json:
- Two-pass algorithm for struct variants (mappings)
- Pass 1: Collect all keys and feed to Solver to determine variant
- Pass 2: Rewind and deserialize the selected variant

Key optimizations:
- Zero-copy key collection via event indices (avoids String clones)
- Direct references to event strings when feeding Solver

Current limitations:
- Tuple variants as YAML sequences not yet supported
- Scalar variants (newtype/unit as scalars) not yet supported
- Users should use struct variants for untagged enums in YAML

62 of 118 new or added lines in 1 file covered. (52.54%)

25054 of 42511 relevant lines covered (58.94%)

590.25 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
56
47.58
5.28% facet-yaml/src/deserialize.rs
Jobs
ID Job ID Ran Files Coverage
1 20027949436.1 08 Dec 2025 12:23PM UTC 203
58.94
GitHub Action Run
Source Files on build 20027949436
  • Tree
  • List 203
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • cf872c48 on github
  • Prev Build on main (#20027444529)
  • Next Build on main (#20030944876)
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