#bit #struct #generate #emulator #bitfields

no-std bitfields

Macro for generating flexible bitfields. Useful for low-level code (embedded or emulators).

18 releases (8 breaking)

0.12.4 Jan 19, 2025
0.12.3 Dec 25, 2024
0.11.0 Dec 22, 2024
0.2.0 Mar 20, 2019
0.1.0 Aug 8, 2018

#233 in Embedded development

Download history 15/week @ 2024-10-06 40/week @ 2024-10-13 35/week @ 2024-10-20 31/week @ 2024-10-27 54/week @ 2024-11-03 20/week @ 2024-11-10 28/week @ 2024-11-17 54/week @ 2024-11-24 44/week @ 2024-12-01 62/week @ 2024-12-08 812/week @ 2024-12-15 558/week @ 2024-12-22 12/week @ 2024-12-29 15/week @ 2025-01-05 84/week @ 2025-01-12 155/week @ 2025-01-19

282 downloads per month
Used in 3 crates (via ez-bencoding)

MIT license

27KB
282 lines

Bitfields

Public Bitfields API.

Dependencies

~245–700KB
~16K SLoC