#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

#2391 in Encoding

Download history 735359/week @ 2024-10-01 933598/week @ 2024-10-08 789435/week @ 2024-10-15 378338/week @ 2024-10-22 322655/week @ 2024-10-29 315212/week @ 2024-11-05 299150/week @ 2024-11-12 310681/week @ 2024-11-19 278208/week @ 2024-11-26 324108/week @ 2024-12-03 307710/week @ 2024-12-10 283031/week @ 2024-12-17 171238/week @ 2024-12-24 213618/week @ 2024-12-31 340434/week @ 2025-01-07 301156/week @ 2025-01-14

1,063,796 downloads per month
Used in 4,564 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–650KB
~16K SLoC