1 unstable release
Uses old Rust 2015
0.1.0 | Jul 6, 2017 |
---|
#44 in #bank
2MB
3K
SLoC
baimax
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.