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

facet-rs / facet / 20009744255
58%

Build:
DEFAULT BRANCH: main
Ran 07 Dec 2025 08:18PM 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

07 Dec 2025 08:16PM UTC coverage: 58.565% (+0.04%) from 58.525%
20009744255

push

github

fasterthanlime
feat: add container-level proxy attribute support (#1109)

Allow `#[facet(proxy = ProxyType)]` at the struct/enum level, so any
field of that type automatically uses the proxy without per-field
annotations. This includes nested types like `Vec<Mine>`, `Option<Mine>`.

Key changes:
- Add ProxyDef type to store proxy shape and conversion functions
- Add proxy field to Shape struct with O(1) lookup
- Update ShapeBuilder with proxy() method
- Update macro codegen for structs and enums to handle container proxy
- Add custom_serialization_from_shape to Peek for serialization
- Add begin_custom_deserialization_from_shape to Partial for deserialization
- Update facet-json serializer/deserializer to check shape-level proxy
- Field-level proxy takes precedence over container-level proxy
- Add comprehensive tests for container-level proxy feature

77 of 100 new or added lines in 9 files covered. (77.0%)

24647 of 42085 relevant lines covered (58.56%)

545.04 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
71.68
2.29% facet-reflect/src/partial/partial_api/option.rs
7
38.11
-0.05% facet-core/src/types/mod.rs
14
67.9
-1.44% facet-reflect/src/peek/value.rs
Jobs
ID Job ID Ran Files Coverage
1 20009744255.1 07 Dec 2025 08:18PM UTC 203
58.56
GitHub Action Run
Source Files on build 20009744255
  • Tree
  • List 203
  • Changed 34
  • Source Changed 0
  • Coverage Changed 34
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • cc8b67b5 on github
  • Prev Build on main (#20006778059)
  • Next Build on main (#20020324958)
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