#byte #casting #transmute

macro no-std bytemuck_derive

derive proc-macros for bytemuck

14 stable releases

1.8.0 Oct 6, 2024
1.7.0 May 28, 2024
1.6.0 Mar 10, 2024
1.5.0 Sep 5, 2023
1.0.1 Nov 27, 2020

#2335 in Encoding

Download history 274916/week @ 2024-07-30 286654/week @ 2024-08-06 287676/week @ 2024-08-13 285849/week @ 2024-08-20 292489/week @ 2024-08-27 307306/week @ 2024-09-03 263080/week @ 2024-09-10 399143/week @ 2024-09-17 389114/week @ 2024-09-24 735359/week @ 2024-10-01 933598/week @ 2024-10-08 789435/week @ 2024-10-15 378338/week @ 2024-10-22 322655/week @ 2024-10-29 315233/week @ 2024-11-05 249979/week @ 2024-11-12

1,379,737 downloads per month
Used in 4,242 crates (24 directly)

Zlib OR Apache-2.0 OR MIT

71KB
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

~235–680KB
~16K SLoC