#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

#2159 in Encoding

Download history 171367/week @ 2024-01-28 168143/week @ 2024-02-04 176998/week @ 2024-02-11 188786/week @ 2024-02-18 194349/week @ 2024-02-25 192365/week @ 2024-03-03 206578/week @ 2024-03-10 221075/week @ 2024-03-17 217745/week @ 2024-03-24 250407/week @ 2024-03-31 202770/week @ 2024-04-07 227024/week @ 2024-04-14 233371/week @ 2024-04-21 225062/week @ 2024-04-28 214218/week @ 2024-05-05 214549/week @ 2024-05-12

905,598 downloads per month
Used in 3,399 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–750KB
~18K SLoC