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

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

Build:
DEFAULT BRANCH: main
Ran 06 Dec 2025 11:36PM UTC
Files 201
Run time 5s
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

06 Dec 2025 11:34PM UTC coverage: 58.532% (-0.05%) from 58.581%
19995843284.1

push

github

fasterthanlime
feat: optimize field attribute lookup from O(n) to O(1)

Add dedicated storage for frequently-accessed field attributes to avoid
linear scanning through the attributes slice.

Changes:
- Add custom `bitflags!` macro in facet-core (no external dependency)
- Add `FieldFlags` with bits for: SENSITIVE, FLATTEN, SKIP, SKIP_SERIALIZING,
  SKIP_DESERIALIZING, CHILD, RECURSIVE_TYPE, HAS_DEFAULT
- Expand `Field` struct with `flags`, `rename`, and `alias` fields
- Update `FieldBuilder` with `.flags()`, `.rename()`, `.alias()` methods
- Update accessor methods to use O(1) flag checks
- Add `#[storage(flag)]` and `#[storage(field)]` annotations to grammar DSL
- Update derive macro to route flag/field attrs to dedicated storage

Closes #1130

24550 of 41943 relevant lines covered (58.53%)

542.56 hits per line

Source Files on job 19995843284.1
  • Tree
  • List 201
  • Changed 12
  • Source Changed 0
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19995843284
  • 3c6934cd on github
  • Prev Job for on main (#19994882270.1)
  • Next Job for on main (#19995847991.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