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

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

Build:
DEFAULT BRANCH: main
Ran 30 Nov 2025 07:47PM UTC
Files 160
Run time 4s
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

30 Nov 2025 07:45PM UTC coverage: 58.04% (+0.1%) from 57.923%
19803957999.1

push

github

fasterthanlime
Add explicit crate_path to define_attr_grammar! for $crate hygiene fix

The $crate metavariable only resolves during declarative macro expansion.
When passed to a proc macro, it becomes literal tokens that don't resolve.

Solution: Extension crates now explicitly declare their crate path:

    facet::define_attr_grammar! {
        ns "args";
        crate_path ::facet_args;
        pub enum Attr { ... }
    }

The proc macro outputs e.g. `::facet_args::Attr::Short(...)` which
resolves correctly at any call site.

Changes:
- Add crate_path declaration parsing to grammar DSL
- Update __dispatch_attr to use crate_path in output
- Migrate facet-args, facet-yaml, facet-kdl to use crate_path
- Update facet-args runtime to downcast to &Attr enum

18910 of 32581 relevant lines covered (58.04%)

179.47 hits per line

Source Files on job 19803957999.1
  • Tree
  • List 160
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19803957999
  • e3f8681e on github
  • Prev Job for on main (#19803020611.1)
  • Next Job for on main (#19826479017.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