#byte #casting #transmute

macro no-std bytemuck_derive

derive proc-macros for bytemuck

15 stable releases

new 1.8.1 Dec 20, 2024
1.8.0 Oct 6, 2024
1.7.1 Aug 16, 2024
1.7.0 May 28, 2024
1.0.1 Nov 27, 2020

#2402 in Encoding

Download history 297135/week @ 2024-08-30 282340/week @ 2024-09-06 243448/week @ 2024-09-13 434325/week @ 2024-09-20 434366/week @ 2024-09-27 880102/week @ 2024-10-04 769838/week @ 2024-10-11 808426/week @ 2024-10-18 356586/week @ 2024-10-25 318557/week @ 2024-11-01 298382/week @ 2024-11-08 309931/week @ 2024-11-15 290118/week @ 2024-11-22 307087/week @ 2024-11-29 316306/week @ 2024-12-06 245864/week @ 2024-12-13

1,211,998 downloads per month
Used in 4,404 crates (26 directly)

Zlib OR Apache-2.0 OR MIT

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

~220–660KB
~16K SLoC