Skip to content

bb010g/baimax

Repository files navigation

Baymax 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.

About

A type-safe BAI serialization library for Rust

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages