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

facet-rs / facet / 19922893780
58%

Build:
DEFAULT BRANCH: main
Ran 04 Dec 2025 08:46AM UTC
Jobs 1
Files 176
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

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

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

172 of 235 new or added lines in 2 files covered. (73.19%)

21670 of 37849 relevant lines covered (57.25%)

511.45 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
5
63.55
-0.06% facet-value/src/value.rs
58
76.74
-2.78% facet-value/src/string.rs
Jobs
ID Job ID Ran Files Coverage
1 19922893780.1 04 Dec 2025 08:46AM UTC 176
57.25
GitHub Action Run
Source Files on build 19922893780
  • Tree
  • List 176
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 0c9f8198 on github
  • Prev Build on main (#19922460686)
  • Next Build on main (#19923917009)
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