#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

#2436 in Encoding

Download history 329034/week @ 2024-10-27 324562/week @ 2024-11-03 298198/week @ 2024-11-10 305945/week @ 2024-11-17 275817/week @ 2024-11-24 325957/week @ 2024-12-01 308243/week @ 2024-12-08 299756/week @ 2024-12-15 174753/week @ 2024-12-22 194314/week @ 2024-12-29 331824/week @ 2025-01-05 354829/week @ 2025-01-12 332789/week @ 2025-01-19 342430/week @ 2025-01-26 416385/week @ 2025-02-02 506061/week @ 2025-02-09

1,622,392 downloads per month
Used in 4,716 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

~210–650KB
~15K SLoC