#byte #casting #transmute

macro no-std bytemuck_derive

derive proc-macros for bytemuck

12 stable releases

1.7.0 May 28, 2024
1.6.0 Mar 10, 2024
1.5.0 Sep 5, 2023
1.4.1 Mar 23, 2023
1.0.1 Nov 27, 2020

#1565 in Encoding

Download history 227410/week @ 2024-04-05 217205/week @ 2024-04-12 235570/week @ 2024-04-19 228340/week @ 2024-04-26 217470/week @ 2024-05-03 221820/week @ 2024-05-10 224463/week @ 2024-05-17 245441/week @ 2024-05-24 262377/week @ 2024-05-31 254327/week @ 2024-06-07 256010/week @ 2024-06-14 277836/week @ 2024-06-21 258158/week @ 2024-06-28 257403/week @ 2024-07-05 264723/week @ 2024-07-12 227518/week @ 2024-07-19

1,057,087 downloads per month
Used in 3,707 crates (22 directly)

Zlib OR Apache-2.0 OR MIT

66KB
1.5K SLoC

bytemuck_derive

Derive macros for bytemuck traits.

MSRV: None!

This is an opt-in bonus feature for bytemuck that doesn't particularly do anything you couldn't do yourself, and so MSRV is not a strong consideration for this crate.


lib.rs:

Derive macros for bytemuck traits.

Dependencies

~270–720KB
~17K SLoC