#transmute #bytes #byte #casting

no-std bytemuck

A crate for mucking around with piles of bytes

11 releases (stable)

1.5.0 Jan 13, 2021
1.4.1 Sep 8, 2020
1.4.0 Aug 28, 2020
1.3.1 Jul 25, 2020
0.1.2 Nov 11, 2019

#24 in Encoding

Download history 39129/week @ 2020-10-05 35149/week @ 2020-10-12 37412/week @ 2020-10-19 36596/week @ 2020-10-26 37165/week @ 2020-11-02 38214/week @ 2020-11-09 41316/week @ 2020-11-16 42060/week @ 2020-11-23 43398/week @ 2020-11-30 41962/week @ 2020-12-07 39797/week @ 2020-12-14 25864/week @ 2020-12-21 29798/week @ 2020-12-28 39395/week @ 2021-01-04 42352/week @ 2021-01-11 40033/week @ 2021-01-18

161,671 downloads per month
Used in 599 crates (67 directly)

Zlib OR Apache-2.0 OR MIT

52KB
627 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

~125KB