Crates.io | baimax |
lib.rs | baimax |
version | 0.1.0 |
source | src |
created_at | 2017-07-06 06:12:48.296629 |
updated_at | 2017-07-06 06:12:48.296629 |
description | Type-safe BAIv2 serialization library for Rust |
homepage | |
repository | https://github.com/bb010g/baimax |
max_upload_size | |
id | 22145 |
size | 2,176,554 |
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).
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.