#binary-file #binary-format #binary-parser #file-format #parser #format #macro

no-std format-struct

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

8 unstable releases (3 breaking)

0.4.0 Oct 8, 2024
0.3.1 May 20, 2024
0.2.3 May 13, 2024
0.1.1 Jan 28, 2024

#2248 in Parser implementations

MIT/Apache

33KB
480 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.

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.

No runtime deps

Features