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

facet-rs / facet / 19826479017
58%

Build:
DEFAULT BRANCH: main
Ran 01 Dec 2025 02:42PM UTC
Jobs 1
Files 160
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

01 Dec 2025 02:41PM UTC coverage: 58.333% (+0.3%) from 58.04%
19826479017

push

github

fasterthanlime
Remove FieldFlags/FieldVTable, make attributes single source of truth

This is a major refactor of how field metadata is stored and accessed:

- Remove FieldFlags bitflags and FieldVTable from Field struct
- All field metadata now lives in the ExtensionAttr attributes array
- Add helper methods: is_flattened(), is_sensitive(), is_child(),
  should_skip_serializing(), default_fn(), skip_serializing_if_fn(), etc.
- Remove deserialize_with/serialize_with syntax entirely
- Use proxy = ProxyType pattern exclusively for custom serialization

Grammar changes:
- Add builtin attribute grammar with variant kinds: unit, newtype,
  newtype_str, predicate, fn_ptr, make_t, shape_type
- Third-party crates now have same power as built-ins via namespaced
  attributes (e.g., #[facet(kdl::child)])

API changes:
- fields_for_serialize() now returns (FieldItem, Peek) instead of
  (Field, Peek) to support runtime field name changes for flattening
- Add KdlFieldExt trait for kdl::child attribute compatibility

561 of 829 new or added lines in 29 files covered. (67.67%)

52 existing lines in 16 files now uncovered.

18961 of 32505 relevant lines covered (58.33%)

185.16 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
78.02
0.32% facet-json/src/serialize.rs
1
69.39
-0.91% facet-reflect/src/partial/partial_api/option.rs
1
67.31
-0.31% facet-reflect/src/peek/value.rs
2
67.62
7.13% facet-macros-impl/src/extension.rs
2
74.19
1.67% facet-reflect/src/resolution.rs
3
57.63
36.34% facet-core/src/types/ty/field.rs
3
90.3
1.3% facet-macros-impl/src/parsed.rs
3
68.31
0.08% facet-solver/src/lib.rs
3
0.0
0.0% facet/src/lib.rs
5
72.38
0.55% facet-kdl/src/serialize.rs
10
87.91
6.86% facet-macros-impl/src/process_enum.rs
14
0.0
0.0% facet-core/src/types/ty/enum_.rs
16
75.17
5.64% facet-reflect/src/peek/fields.rs
19
68.27
2.9% facet-kdl/src/deserialize.rs
21
49.38
1.42% facet-core/src/types/mod.rs
45
62.73
-0.39% facet-macros-impl/src/attr_grammar/make_parse_attr.rs
119
22.34
0.75% facet-macros-impl/src/attr_grammar/dispatch_attr.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
46.43
0.0% facet-core/src/impls_camino.rs
1
35.03
0.0% facet-core/src/impls_chrono.rs
1
0.0
0.0% facet-core/src/impls_core/nonnull.rs
1
90.2
0.0% facet-core/src/impls_std/hashmap.rs
1
41.18
0.0% facet-core/src/impls_time.rs
1
22.34
0.75% facet-macros-impl/src/attr_grammar/dispatch_attr.rs
1
74.0
0.0% facet-yaml/src/serialize.rs
2
18.09
0.0% facet-core/src/impls_ordered_float.rs
2
0.0
0.0% facet-core/src/impls_std/path.rs
2
49.38
1.42% facet-core/src/types/mod.rs
2
0.0
0.0% facet-core/src/types/ty/enum_.rs
3
68.27
2.9% facet-kdl/src/deserialize.rs
4
62.73
-0.39% facet-macros-impl/src/attr_grammar/make_parse_attr.rs
6
37.74
0.0% facet-core/src/impls_core/scalar.rs
6
57.63
36.34% facet-core/src/types/ty/field.rs
18
12.9
-58.06% facet-core/src/impls_core/tuple.rs
Jobs
ID Job ID Ran Files Coverage
1 19826479017.1 01 Dec 2025 02:42PM UTC 160
58.33
GitHub Action Run
Source Files on build 19826479017
  • Tree
  • List 160
  • Changed 68
  • Source Changed 0
  • Coverage Changed 68
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 9bfe2558 on github
  • Prev Build on main (#19803957999)
  • Next Build on main (#19826672948)
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