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

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

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

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.

24763 of 42241 relevant lines covered (58.62%)

544.39 hits per line

Source Files on job 20024677191.1
  • Tree
  • List 203
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20024677191
  • e52f88d2 on github
  • Prev Job for on main (#20024290994.1)
  • Next Job for on main (#20026034822.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