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

facet-rs / facet / 20024677191
58%

Build:
DEFAULT BRANCH: main
Ran 08 Dec 2025 10:23AM UTC
Jobs 1
Files 203
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

08 Dec 2025 10:21AM UTC coverage: 58.623% (+0.01%) from 58.613%
20024677191

push

github

fasterthanlime
feat: add variance-aware lifetime transformation methods to Peek

Add methods that allow safely transforming the 'facet lifetime parameter
based on the underlying type's variance:

- `variance()` - query the type's variance
- `shrink_lifetime()` - shrink lifetime for covariant types (panics otherwise)
- `try_shrink_lifetime()` - returns Option, None for non-covariant types
- `grow_lifetime()` - grow lifetime for contravariant types (panics otherwise)
- `try_grow_lifetime()` - returns Option, None for non-contravariant types

While Peek remains invariant by default (for soundness), these methods let
users opt-in to covariant/contravariant behavior when they know the
underlying type supports it, with runtime checks to ensure safety.

38 of 49 new or added lines in 1 file covered. (77.55%)

5 existing lines in 1 file now uncovered.

24763 of 42241 relevant lines covered (58.62%)

544.39 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
11
69.01
-0.22% facet-reflect/src/peek/value.rs

Uncovered Existing Lines

Lines Coverage ∆ File
5
69.01
-0.22% facet-reflect/src/peek/value.rs
Jobs
ID Job ID Ran Files Coverage
1 20024677191.1 08 Dec 2025 10:23AM UTC 203
58.62
GitHub Action Run
Source Files on build 20024677191
  • Tree
  • List 203
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e52f88d2 on github
  • Prev Build on main (#20024290994)
  • Next Build on main (#20026034822)
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