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

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

Build:
DEFAULT BRANCH: main
Ran 08 Dec 2025 12:05PM UTC
Files 203
Run time 11s
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 12:03PM UTC coverage: 58.838% (+0.1%) from 58.742%
20027444529.1

push

github

fasterthanlime
fix(facet-kdl): simplify children node name override syntax

BREAKING CHANGE: KDL attribute syntax has changed

This commit improves the ergonomics of specifying custom node names for
`kdl::children` fields by moving the node name directly into the attribute:

Before:
  #[facet(kdl::children, kdl::node_name = "kiddo")]
  children: Vec<Child>,

After:
  #[facet(kdl::children = "kiddo")]
  children: Vec<Child>,

This also restores `kdl::node_name` to its original purpose of capturing
the current node's name into a field (previously renamed to `kdl::name`).

Changes:
- Add `OptionalStr` variant kind to attr grammar for Option<&'static str>
- Refactor attr grammar parsing to use unsynn instead of string matching
- Change `kdl::children` and `kdl::child` to accept optional string value
- Rename `kdl::name` back to `kdl::node_name` for capturing node names
- Update deserializer to read node name from children attribute value
- Update all tests and documentation

Fixes: #1182

24943 of 42393 relevant lines covered (58.84%)

590.71 hits per line

Source Files on job 20027444529.1
  • Tree
  • List 203
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20027444529
  • 724caf44 on github
  • Prev Job for on main (#20026392864.1)
  • Next Job for on main (#20027949436.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