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

afxres / binary-rust
92%

Build:
DEFAULT BRANCH: main
Repo Added 23 Nov 2026 02:11PM UTC
Token q30IyEFah05o9Nur4i2PlUFJAflcvGaez regen
Build 18 Last
Files 15
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

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • api/slice-level-compact-int
  • ci
  • coverage
  • fix/converter-length-ceiling
  • main
  • merge/converter-length-ceiling
  • reshape-export-surface

28 Nov 2026 07:32AM UTC coverage: 92.254% (-0.3%) from 92.557%
46122101172

push

github

afxres
Reject fixed-size lengths past i32::MAX where LEN is evaluated

`Layout::LEN` is a `usize`, so `tuple_len`, `array_len` and the derive sum
formed 4 x 0x2000_0000 without a word: the type was accepted, and only its
first length-prefixed write failed. C# and C++ check the same 31-bit ceiling in
`GetConverterLength` while the converter is built.

Both sums now saturate and go through `assert_fixed_len`, so an oversized total
aborts const evaluation and the type fails to build -- the closest thing to "at
construction" an associated `const` allows. Only a fixed-size result is
constrained: a tuple with a variable member still reports 0, because its sum
never reaches a prefix.

A hand-written `Layout` impl can still declare an oversized `LEN` on its own.
That case keeps its runtime `LengthTooLarge`, now pinned by tests together with
the `i32::MAX` boundary and the variable-member exemption.

7 of 20 new or added lines in 3 files covered. (35.0%)

1 existing line in 1 file now uncovered.

1834 of 1988 relevant lines covered (92.25%)

139.99 hits per line

Relevant lines Covered
Build:
Build:
1988 RELEVANT LINES 1834 COVERED LINES
139.99 HITS PER LINE
Source Files on main
  • Tree
  • List 15
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
46122101172 main Reject fixed-size lengths past i32::MAX where LEN is evaluated `Layout::LEN` is a `usize`, so `tuple_len`, `array_len` and the derive sum formed 4 x 0x2000_0000 without a word: the type was accepted, and only its first length-prefixed write faile... push 28 Nov 2026 07:38AM UTC afxres github
92.25
46121736805 merge/converter-length-ceiling Reject fixed-size lengths past i32::MAX where LEN is evaluated `Layout::LEN` is a `usize`, so `tuple_len`, `array_len` and the derive sum formed 4 x 0x2000_0000 without a word: the type was accepted, and only its first length-prefixed write faile... push 28 Nov 2026 07:33AM UTC afxres github
92.25
46120698744 fix/converter-length-ceiling Reject fixed-size lengths past i32::MAX where LEN is evaluated `Layout::LEN` is a `usize`, so `tuple_len`, `array_len` and the derive sum formed 4 x 0x2000_0000 without a word: the type was accepted, and only its first length-prefixed write faile... push 28 Nov 2026 07:20AM UTC afxres github
92.25
46118982491 main Record the export layout and the prefix method names push 28 Nov 2026 06:58AM UTC afxres github
92.56
46117785686 reshape-export-surface Record the export layout and the prefix method names push 28 Nov 2026 06:42AM UTC afxres github
92.56
46114353718 main Drop the executable bit from four non-script files `.editorconfig`, `binary-bench/src/collections.rs`, `buffer_contents.rs` and `common/cases.rs` were recorded as `100755`, so a fresh clone laid down an executable `.editorconfig`. None of them is... push 28 Nov 2026 05:57AM UTC afxres github
92.55
46113573563 api/slice-level-compact-int Drop the executable bit from four non-script files `.editorconfig`, `binary-bench/src/collections.rs`, `buffer_contents.rs` and `common/cases.rs` were recorded as `100755`, so a fresh clone lays down an executable `.editorconfig`. None of them is... push 28 Nov 2026 05:46AM UTC afxres github
92.55
46113105811 api/slice-level-compact-int Drop the volatile counts from DESIGN Test counts, snapshot counts and the coverage percentage change with every commit that touches the suite, so each was either already stale or one commit away from it. The same number also lived in several plac... push 28 Nov 2026 05:40AM UTC afxres github
92.55
46059048585 api/slice-level-compact-int Rename the named-member pair to encode / decode `write_named_member` / `read_named_member` were the only two free functions named outside the encode / decode vocabulary that `encode`, `decode`, `encode_to_slice`, `encode_with_length_prefix` and t... push 27 Nov 2026 07:47PM UTC afxres github
92.55
45842603572 main Record the NonZero and PhantomData decisions and fix the Uuid references push 26 Nov 2026 02:48PM UTC afxres github
92.71
See All Builds (18)

Badge your Repo: binary-rust

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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