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

facet-rs / facet / 20026392864
58%

Build:
DEFAULT BRANCH: main
Ran 08 Dec 2025 11:23AM 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 11:21AM UTC coverage: 58.742% (+0.04%) from 58.703%
20026392864

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

11 of 14 new or added lines in 1 file covered. (78.57%)

24893 of 42377 relevant lines covered (58.74%)

544.43 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
42.29
0.83% facet-yaml/src/deserialize.rs
Jobs
ID Job ID Ran Files Coverage
1 20026392864.1 08 Dec 2025 11:23AM UTC 203
58.74
GitHub Action Run
Source Files on build 20026392864
  • Tree
  • List 203
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 5511a90f on github
  • Prev Build on main (#20026034822)
  • Next Build on main (#20027444529)
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