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

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

Build:
DEFAULT BRANCH: main
Ran 28 Nov 2025 11:08PM UTC
Files 151
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 11:06PM UTC coverage: 60.423% (+0.8%) from 59.624%
19775426569.1

push

github

fasterthanlime
Add facet-assert/diff/pretty support for facet_value::Value

This adds full support for comparing, diffing, and pretty-printing
`facet_value::Value` types through the facet reflection system.

Key changes:

- facet-reflect: Add `PeekDynamicValue` for inspecting DynamicValue types
  - Methods for accessing scalars (bool, number, string, bytes)
  - Iterators for arrays and objects
  - `Peek::into_dynamic_value()` method

- facet-assert: Enable structural comparison between Value and concrete types
  - `value!([1, 2, 3])` can now be compared with `vec![1, 2, 3]`
  - Value strings compare equal to String
  - Value numbers compare equal to numeric types
  - Handles nested structures recursively

- facet-diff: Add DynamicValue diffing support
  - Arrays produce Diff::Sequence with element diffs
  - Objects produce Diff::User with field-level diffs

- facet-pretty: Add DynamicValue formatting
  - Handles all DynValueKind variants
  - Proper indentation for nested arrays/objects

- Tests: 27 tests covering all functionality

17185 of 28441 relevant lines covered (60.42%)

152.92 hits per line

Source Files on job 19775426569.1
  • Tree
  • List 151
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19775426569
  • 0b4dfe22 on github
  • Prev Job for on main (#19775204366.1)
  • Next Job for on main (#19775899860.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