#transpiler #migration #translation #c

macro c2rust-bitfields-derive

C-compatible struct bitfield derive implementation used in the C2Rust project

4 releases (2 breaking)

0.17.0 Feb 1, 2023
0.2.1 Mar 11, 2020
0.2.0 Aug 15, 2019
0.1.0 Jun 7, 2019

#12 in #security-hardening

Download history 679/week @ 2022-11-28 572/week @ 2022-12-05 1264/week @ 2022-12-12 1048/week @ 2022-12-19 386/week @ 2022-12-26 697/week @ 2023-01-02 864/week @ 2023-01-09 846/week @ 2023-01-16 1975/week @ 2023-01-23 1536/week @ 2023-01-30 1326/week @ 2023-02-06 2156/week @ 2023-02-13 2317/week @ 2023-02-20 2230/week @ 2023-02-27 2201/week @ 2023-03-06 2283/week @ 2023-03-13

9,179 downloads per month
Used in 23 crates (via c2rust-bitfields)

BSD-3-Clause

11KB
214 lines

C2Rust-Bitfields-Derive

This crate is used to generate a proc macro in c2rust-bitfields and should not be a direct dependency. c2rust-bitfields re-exports the proc macro as well as other types and should be used instead.

Dependencies

~0.7–1MB
~26K SLoC