#bit-field #proc-macro #proc-bitfield

macro proc-bitfield-macros

The supporting proc-macro library for the proc-bitfield crate

11 unstable releases (5 breaking)

0.5.2 Dec 26, 2024
0.5.0 Aug 28, 2024
0.4.0 Apr 5, 2024
0.3.1 Jan 22, 2024
0.1.0 Jul 30, 2022

#1461 in Procedural macros

Download history 59/week @ 2025-01-11 59/week @ 2025-01-18 179/week @ 2025-01-25 227/week @ 2025-02-01 163/week @ 2025-02-08 92/week @ 2025-02-15 137/week @ 2025-02-22 204/week @ 2025-03-01 126/week @ 2025-03-08 131/week @ 2025-03-15 72/week @ 2025-03-22 105/week @ 2025-03-29 157/week @ 2025-04-05 132/week @ 2025-04-12 146/week @ 2025-04-19 176/week @ 2025-04-26

632 downloads per month
Used in 9 crates (via proc-bitfield)

MIT/Apache

87KB
2K SLoC

proc-bitfield

crates.io docs.rs

A Rust crate to expressively declare bitfield-like structs, automatically ensuring their correctness at compile time and declaring accessors.

API and syntax docs

Usage examples

License

This project is licensed under a dual MIT/Apache 2.0 license.

Dependencies

~195–620KB
~15K SLoC