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

facet-rs / facet / 19770000397 / 1
58%
main: 58%

Build:
DEFAULT BRANCH: main
Ran 28 Nov 2025 05:07PM UTC
Files 140
Run time 4s
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

28 Nov 2025 05:05PM UTC coverage: 60.41% (+1.0%) from 59.428%
19770000397.1

push

github

fasterthanlime
Add facet-assert crate for structural assertions without PartialEq

This crate provides `assert_same!` which compares values structurally
via Facet reflection, without requiring PartialEq or Debug.

Key features:
- No PartialEq required - uses Facet reflection
- Structural sameness - different types with same structure are "same"
- Smart diffs showing exactly which field at which path differs
- Opaque types fail with clear error messages

Example:
```rust
#[derive(Facet)]
struct Config { host: String, port: u16 }

let a = Config { host: "localhost".into(), port: 8080 };
let b = Config { host: "localhost".into(), port: 8080 };
assert_same!(a, b);  // No PartialEq needed!
```

15311 of 25345 relevant lines covered (60.41%)

160.52 hits per line

Source Files on job 19770000397.1
  • Tree
  • List 140
  • Changed 17
  • Source Changed 0
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19770000397
  • 07a8f061 on github
  • Prev Job for on main (#19768140706.1)
  • Next Job for on main (#19770016110.1)
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