Crates / bytemuck / Alternatives
Rust crate alternatives · data Oct 24, 2026
Alternatives to bytemuck
Short answerThe closest alternatives to bytemuck on crates.io data are zerocopy (3.2M real downloads a day), bstr (1.3M real downloads a day), serde_bytes (545K real downloads a day). Of the 8 we list, the most used is base64, and 5 shipped a release in the last year. bytemuck itself gets 1,311,229 a day with 4,338 dependents.
Every alternative we found
| Alternative | Real downloads a day | vs bytemuck | Dependents | Last release | Why it is listed | |
|---|---|---|---|---|---|---|
| zerocopy Established | 3,245,504 | 2.48x | 878 | 11d | category Encoding, keyword "transmute" | side by side |
| bstr Established | 1,252,630 | 0.96x | 676 | 2mo | category Encoding, keyword "bytes" | compare |
| serde_bytes Widely used | 545,340 | 0.42x | 1,610 | 13mo | category Encoding, category No standard library, keyword "bytes" | compare |
| os_str_bytes Pulled in | 211,293 | 0.16x | 47 | 3mo | category Encoding, keyword "bytes" | compare |
| bytes-utils Pulled in | 540,925 | 0.41x | 24 | 2.9y | keyword "bytes" | compare |
| scroll Established | 252,238 | 0.19x | 122 | 17mo | keyword "bytes" | compare |
| bytestring Established | 166,386 | 0.13x | 101 | 6mo | category No standard library, keyword "bytes" | compare |
| base64 Foundational | 4,638,981 | 3.54x | 19,537 | 3mo | category Encoding | compare |
How to choose
- Same job, not the same API. Each line is listed because it shares a crates.io category or keyword with bytemuck; read its description before you swap.
- More dependents means more answered questions and a smaller chance it disappears.
- Check the last release against how fast you need fixes. For bytemuck: is it still maintained?
Rules
Alternatives = tracked crates (top 1000 by downloads) that share a specific crates.io category (2 points each) or keyword (3 points each) with bytemuck, most similar first; its own parts (same name prefix) and crates it depends on or that depend on it are left out, because those are companions, not substitutes. Real downloads = quiet-day median, crates.io data Oct 24, 2026. Built when we find 3 or more.
Up next
The closest alternative: Established and steady. 3,245,504 real downloads a day.zerocopyRust crate. Zerocopy makes zero-cost memory manipulation effortless. We write "unsafe" so you don't have to. Real use: 3.2M downloads a day on quiet days; 878 crates...Read it next →Also worth your time