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

facet-rs / facet / 19961614563
58%

Build:
DEFAULT BRANCH: main
Ran 05 Dec 2025 11:32AM UTC
Jobs 1
Files 194
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

05 Dec 2025 11:30AM UTC coverage: 58.73% (+0.04%) from 58.686%
19961614563

push

github

fasterthanlime
feat(facet-xml): add custom float formatter option for serialization

Add `FloatFormatter` type and `float_formatter()` method to `SerializeOptions`
to allow customizing how f32/f64 values are serialized to XML.

This is useful for controlling precision, trimming trailing zeros, or
implementing C-style %g formatting for cleaner output in formats like SVG.

The formatter function receives values as f64 (f32 values are upcast) and
writes to a `&mut dyn Write`, enabling zero-allocation formatting for
element content.

26 of 47 new or added lines in 1 file covered. (55.32%)

23994 of 40855 relevant lines covered (58.73%)

497.54 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
21
45.04
2.14% facet-xml/src/serialize.rs
Jobs
ID Job ID Ran Files Coverage
1 19961614563.1 05 Dec 2025 11:32AM UTC 194
58.73
GitHub Action Run
Source Files on build 19961614563
  • Tree
  • List 194
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 5a2a5485 on github
  • Prev Build on main (#19961287511)
  • Next Build on main (#19962777254)
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