#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

#1590 in Encoding

Download history 154272/week @ 2024-01-02 156405/week @ 2024-01-09 180687/week @ 2024-01-16 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 204786/week @ 2024-04-09 187874/week @ 2024-04-16

898,021 downloads per month
Used in 3,304 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

~295–740KB
~18K SLoC