#binary-file #parser #format #macro #no-alloc

no-std format-struct

A library for quick and easy format structure definitions for use in binary file parsing

2 releases

0.1.1 Jan 28, 2024
0.1.0 Jan 20, 2024

#1107 in Parser implementations

30 downloads per month

MIT/Apache

19KB
230 lines

format-struct

crate documentation

A library for quick and easy format structure definitions for use in binary file parsing.

See crate docs for more info and usage examples.

Features

  • std: Implements std::error::Error on all errors (one error) provided by this crate.

Minimum Supported Rust Version

This crate requires Rust 1.56 at a minimum. It may work with Rust 1.31 (MSRV of paste), but since I have no convenient way to test this it is not officially supported.

The MSRV may be changed in the future, but it will be accompanied by a minor version bump.

License

Licensed under either of

at your option.

Contribution

Contributions are welcome and should be submitted as merge requests to this repository.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies