#transmute #bytes #casting

no-std bytemuck

A crate for mucking around with piles of bytes

10 stable releases

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

#23 in Encoding

Download history 54775/week @ 2021-05-31 63201/week @ 2021-06-07 76661/week @ 2021-06-14 81931/week @ 2021-06-21 73436/week @ 2021-06-28 73160/week @ 2021-07-05 77004/week @ 2021-07-12 73324/week @ 2021-07-19 84668/week @ 2021-07-26 72118/week @ 2021-08-02 83550/week @ 2021-08-09 86842/week @ 2021-08-16 93685/week @ 2021-08-23 97119/week @ 2021-08-30 97366/week @ 2021-09-06 98924/week @ 2021-09-13

278,401 downloads per month
Used in 1,158 crates (146 directly)

Zlib OR Apache-2.0 OR MIT

61KB
811 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

~110KB