#byte #casting #transmute

macro no-std bytemuck_derive

derive proc-macros for bytemuck

10 stable releases

1.6.0 Mar 10, 2024
1.5.0 Sep 5, 2023
1.4.1 Mar 23, 2023
1.3.0 Nov 5, 2022
1.0.1 Nov 27, 2020

#2151 in Encoding

Download history 172232/week @ 2024-01-23 171403/week @ 2024-01-30 170838/week @ 2024-02-06 176112/week @ 2024-02-13 195389/week @ 2024-02-20 190192/week @ 2024-02-27 197470/week @ 2024-03-05 209387/week @ 2024-03-12 225591/week @ 2024-03-19 209621/week @ 2024-03-26 255574/week @ 2024-04-02 204785/week @ 2024-04-09 228449/week @ 2024-04-16 232678/week @ 2024-04-23 221006/week @ 2024-04-30 176854/week @ 2024-05-07

898,010 downloads per month
Used in 3,402 crates (12 directly)

Zlib OR Apache-2.0 OR MIT

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

~315–770KB
~18K SLoC