baimax 0.1.0

Type-safe BAIv2 serialization library for Rust
baimax-0.1.0 doesn't have any documentation.

baimax Build Status Cargo

API documentation | Changelog

Baimax is a type-safe BAIv2 deserialization library for Rust. It is currently in an alpha state, and is probably not going to be restructured majorly soon.

Baimax requires nightly Rust due to the try_from feature (tracking issue).

Compliance

The physical record length header isn't checked while parsing.

Record number checks in trailers aren't supported because I haven't figured out an efficient encoding for them in the AST yet. You'd think some bitflags would do, but any 88 Continuation record can be followed by another continuation, turning your nice set of bits to cover everything into a u8 tagging the code and every field of every record type, which is less nice.

Pull requests are welcome to increase spec compliance.