#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

#2459 in Encoding

Download history 318261/week @ 2024-10-30 307295/week @ 2024-11-06 304392/week @ 2024-11-13 306879/week @ 2024-11-20 284212/week @ 2024-11-27 322348/week @ 2024-12-04 300457/week @ 2024-12-11 261673/week @ 2024-12-18 169079/week @ 2024-12-25 242504/week @ 2025-01-01 344767/week @ 2025-01-08 344993/week @ 2025-01-15 339801/week @ 2025-01-22 368871/week @ 2025-01-29 438728/week @ 2025-02-05 404079/week @ 2025-02-12

1,606,599 downloads per month
Used in 4,762 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

~215–650KB
~16K SLoC