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

facet-rs / facet / 20067406369
58%

Build:
DEFAULT BRANCH: main
Ran 09 Dec 2025 02:43PM UTC
Jobs 1
Files 209
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

09 Dec 2025 02:42PM UTC coverage: 58.712% (+0.009%) from 58.703%
20067406369

push

github

fasterthanlime
test(facet-xml): add comprehensive tests for proxy field defaults

Add tests documenting that `#[derive(Default)]` alone is NOT sufficient
for facet to know a type implements Default. Rust strips `#[derive(...)]`
attributes before derive macros run, so Facet never sees them.

Users must use `#[facet(traits(Default))]` to inform Facet about Default.

Tests cover:
- Proxy fields with field-level #[facet(default)]
- Proxy fields relying on type's #[facet(traits(Default))]
- Container-level defaults
- Option wrappers with proxy
- Nested structs and enum variants
- Validation use cases with TryFrom

26186 of 44601 relevant lines covered (58.71%)

636.77 hits per line

Jobs
ID Job ID Ran Files Coverage
1 20067406369.1 09 Dec 2025 02:43PM UTC 209
58.71
GitHub Action Run
Source Files on build 20067406369
  • Tree
  • List 209
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c1f8cb95 on github
  • Prev Build on main (#20067310289)
  • Next Build on main (#20067595185)
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