#byte #cast #transmute

macro no-std bytemuck_derive

derive proc-macros for bytemuck

19 stable releases

new 1.9.3 Mar 27, 2025
1.9.0 Jan 9, 2025
1.8.1 Dec 20, 2024
1.8.0 Oct 6, 2024
1.0.1 Nov 27, 2020

#1789 in Encoding

Download history 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 487067/week @ 2025-02-07 575589/week @ 2025-02-14 591587/week @ 2025-02-21 553907/week @ 2025-02-28 539043/week @ 2025-03-07 573640/week @ 2025-03-14 492765/week @ 2025-03-21

2,250,731 downloads per month
Used in 4,976 crates (40 directly)

Zlib OR Apache-2.0 OR MIT

69KB
1.5K SLoC

bytemuck_derive

Derive macros for bytemuck traits.


lib.rs:

Derive macros for bytemuck traits.

Dependencies

~200–630KB
~15K SLoC