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

facet-rs / facet / 19931212358
58%

Build:
DEFAULT BRANCH: main
Ran 04 Dec 2025 01:49PM UTC
Jobs 1
Files 178
Run time 4min
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 01:48PM UTC coverage: 57.591% (-0.1%) from 57.693%
19931212358

push

github

fasterthanlime
feat(facet-core): add Write trait for no_std serialization

Move the Write trait from facet-json to facet-core so it can be reused
by other format crates (facet-yaml, facet-xml, etc.) for no_std support.

- Add `Write` trait to facet-core with `write(&[u8])` and `reserve(usize)`
- Implement `Write` for `Vec<u8>`, `&mut Vec<u8>` (with alloc feature)
- Implement `Write` for `bytes::BytesMut` (with bytes feature)
- Re-export as `JsonWrite` in facet-json for backwards compatibility
- Add `to_writer_std` and `to_writer_std_pretty` functions in facet-json
  that accept `std::io::Write` (with std feature, enabled by default)

Closes #1050

3 of 81 new or added lines in 2 files covered. (3.7%)

22351 of 38810 relevant lines covered (57.59%)

504.83 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
21
12.5
facet-core/src/write.rs
57
71.21
-6.81% facet-json/src/serialize.rs
Jobs
ID Job ID Ran Files Coverage
1 19931212358.1 04 Dec 2025 01:49PM UTC 178
57.59
GitHub Action Run
Source Files on build 19931212358
  • Tree
  • List 178
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c7973c6d on github
  • Prev Build on main (#19929358779)
  • Next Build on main (#19931906981)
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