#byte #casting #transmute

macro no-std bytemuck_derive

derive proc-macros for bytemuck

15 stable releases

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

#2431 in Encoding

Download history 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 178743/week @ 2024-12-27 304441/week @ 2025-01-03 361091/week @ 2025-01-10 335839/week @ 2025-01-17 337211/week @ 2025-01-24 396842/week @ 2025-01-31 393257/week @ 2025-02-07

1,528,474 downloads per month
Used in 4,731 crates (30 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

~205–640KB
~15K SLoC