3 releases

0.1.2 Feb 13, 2022
0.1.1 Oct 26, 2020
0.1.0 Apr 16, 2019

#790 in Procedural macros

Download history 15/week @ 2023-10-29 13/week @ 2023-11-05 10/week @ 2023-11-12 10/week @ 2023-11-19 20/week @ 2023-11-26 9/week @ 2023-12-03 6/week @ 2023-12-10 12/week @ 2023-12-17 15/week @ 2023-12-24 8/week @ 2023-12-31 8/week @ 2024-01-07 9/week @ 2024-01-14 11/week @ 2024-01-21 10/week @ 2024-01-28 11/week @ 2024-02-04 20/week @ 2024-02-11

53 downloads per month
Used in 2 crates

MIT license

37KB
814 lines

restruct is used to interpret binary data stored in files or other sources or convert between C structs and Rust types and when using a parser-generator is considered disproportionate. It is a brainchild of Python's struct-module.

See the restruct_derive-crate for documentation.


lib.rs:

restruct is used to interpret binary data stored in files or other sources or convert between C structs and Rust types and when using a parser-generator is considered disproportionate. It is a brainchild of Python's struct-module.

See the restruct_derive-crate for documentation.

Dependencies

~3–12MB
~139K SLoC