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

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

Build:
DEFAULT BRANCH: main
Ran 04 Dec 2025 08:46AM UTC
Files 176
Run time 5s
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

04 Dec 2025 08:44AM UTC coverage: 57.254% (+0.1%) from 57.158%
19922893780.1

push

github

fasterthanlime
feat: add VSafeString for HTML-safe strings

Add a VSafeString type for template engines that need to mark strings
as "safe" (pre-escaped HTML that shouldn't be escaped again).

Implementation uses the high bit of StringHeader.len as a safe flag,
sharing tag 1 with regular strings. Safe strings are always heap-allocated
since inline strings don't have room for the flag.

API:
- VSafeString::new() - create a safe string
- VString::is_safe() - check if safe flag is set
- VString::into_safe() - convert to safe string (promotes inline to heap)
- Value::is_safe_string() / as_safe_string() - type checking and access

Closes #1026

21670 of 37849 relevant lines covered (57.25%)

511.45 hits per line

Source Files on job 19922893780.1
  • Tree
  • List 176
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19922893780
  • 0c9f8198 on github
  • Prev Job for on main (#19922460686.1)
  • Next Job for on main (#19923917009.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