#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

#1558 in Encoding

Download history 85650/week @ 2023-12-24 134803/week @ 2023-12-31 163156/week @ 2024-01-07 169045/week @ 2024-01-14 178102/week @ 2024-01-21 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 158424/week @ 2024-04-07

862,804 downloads per month
Used in 3,294 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

~335–790KB
~19K SLoC