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

vigna / epserde-rs / 29037868808
47%

Build:
DEFAULT BRANCH: main
Ran 09 Jul 2026 05:43PM UTC
Jobs 1
Files 25
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

09 Jul 2026 05:39PM UTC coverage: 46.641%. Remained the same
29037868808

push

github

zommiommy
fix: define MAGIC with a fixed byte order so the endianness marker works

MAGIC was u64::from_ne_bytes(*b"epserde "), so the constant itself was
endian-dependent and the native-order serialization cancelled it out:
every platform wrote the same eight bytes and read them back as its own
MAGIC. Real cross-endian files therefore never hit EndiannessMismatch
and were misreported as MajorVersionMismatch; the MAGIC_REV arm was
unreachable for genuinely produced files.

Pinning MAGIC to from_le_bytes makes it the same number everywhere, so
the single native conversion at write time becomes the marker: an
opposite-endian reader now sees MAGIC_REV and reports
EndiannessMismatch. On-disk bytes are unchanged on little-endian
platforms; big-endian writers now emit the byte-swapped string, and
files previously written on big-endian platforms are reported as
EndiannessMismatch there.

Also simplify MAGIC_REV to MAGIC.swap_bytes() and document why the
constant must not use from_ne_bytes.

986 of 2114 relevant lines covered (46.64%)

563.53 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29037868808.1 09 Jul 2026 05:43PM UTC 25
46.64
GitHub Action Run
Source Files on build 29037868808
  • Tree
  • List 25
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29037868808
  • 545f5af8 on github
  • Prev Build on main (#29036527803)
  • Next Build on main (#29038121003)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc