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

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

Build:
DEFAULT BRANCH: main
Ran 08 Dec 2025 11:23AM UTC
Files 203
Run time 9s
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 11:21AM UTC coverage: 58.742% (+0.04%) from 58.703%
20026392864.1

push

github

fasterthanlime
fix: add proxy support to facet-yaml deserializer

This adds support for both container-level and field-level proxy
attributes in facet-yaml, fixing issue #1177.

The fix adds two key checks to `deserialize_value`:

1. Container-level proxy: Uses `begin_custom_deserialization_from_shape()`
   to detect types with `#[facet(proxy = ProxyType)]` and deserialize
   through the proxy shape instead.

2. Field-level proxy: When handling transparent types, checks if the
   parent field has a custom deserialization function via
   `proxy_convert_in_fn()` and wraps the deserialization with
   `begin_custom_deserialization()`.

This matches the approach used in facet-json and enables the common
pattern of using a transparent proxy type (like `EnvStringDesr`) to
wrap deserialization for custom processing.

Fixes #1177

24893 of 42377 relevant lines covered (58.74%)

544.43 hits per line

Source Files on job 20026392864.1
  • Tree
  • List 203
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20026392864
  • 5511a90f on github
  • Prev Job for on main (#20026034822.1)
  • Next Job for on main (#20027444529.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