3 releases

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

#1119 in Procedural macros

28 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

~2–13MB
~163K SLoC