#transmute #bytes #casting

no-std bytemuck

A crate for mucking around with piles of bytes

12 releases (stable)

1.5.1 Feb 18, 2021
1.4.1 Sep 8, 2020
1.3.1 Jul 25, 2020
1.2.0 Feb 7, 2020
0.1.2 Nov 11, 2019

#23 in Encoding

Download history 42166/week @ 2021-01-14 44895/week @ 2021-01-21 45114/week @ 2021-01-28 44498/week @ 2021-02-04 44572/week @ 2021-02-11 54997/week @ 2021-02-18 50498/week @ 2021-02-25 51990/week @ 2021-03-04 49389/week @ 2021-03-11 49792/week @ 2021-03-18 51413/week @ 2021-03-25 52176/week @ 2021-04-01 56595/week @ 2021-04-08 52591/week @ 2021-04-15 54901/week @ 2021-04-22 47545/week @ 2021-04-29

180,696 downloads per month
Used in 816 crates (102 directly)

Zlib OR Apache-2.0 OR MIT

53KB
635 lines

License:Zlib Minimum Rust Version crates.io docs.rs

bytemuck

A crate for mucking around with piles of bytes.

Extensions

There is experimental support for the Zeroable trait being derived through a proc-macro. I'm not the author of that crate, please file bugs with that crate in the other repo.

Stability

The goal is to stay at 1.y.z until at least the next edition of Rust.

I consider any increase of the Minimum Rust Version to be a semver breaking change, so rustc-1.34 will continue to be supported for at least the rest of the bytemuck-1.y.z series of the crate.

(The secret goal is to get all of this functionality into the standard library some day so that we don't even need to import a crate to do all this fun stuff.)

Dependencies

~115KB