#byte #casting #transmute

macro no-std bytemuck_derive

derive proc-macros for bytemuck

16 stable releases

new 1.9.0 Jan 9, 2025
1.8.1 Dec 20, 2024
1.8.0 Oct 6, 2024
1.7.0 May 28, 2024
1.0.1 Nov 27, 2020

#2399 in Encoding

Download history 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 295151/week @ 2024-12-13 201155/week @ 2024-12-20 178846/week @ 2024-12-27 248859/week @ 2025-01-03

977,312 downloads per month
Used in 4,483 crates (28 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

~215–660KB
~16K SLoC