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

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

Build:
DEFAULT BRANCH: main
Ran 07 Dec 2025 08:18PM UTC
Files 203
Run time 7s
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.1

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

24647 of 42085 relevant lines covered (58.56%)

545.04 hits per line

Source Files on job 20009744255.1
  • Tree
  • List 203
  • Changed 34
  • Source Changed 0
  • Coverage Changed 34
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20009744255
  • cc8b67b5 on github
  • Prev Job for on main (#20006778059.1)
  • Next Job for on main (#20020324958.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