There is quite a few different formats here to parse:
[ ] "uniVang-ParametersFile_Ver_1" (PRM). Contains structured data: arrays and tables. Not very convenient to decode systematically, but relatively easy to do manually.
[ ] regular PRM. Contains a number of key: value pairs, should be easy to map (#2).
[ ] Lists (LST). Contains a number of different sections, each having a homogeneous array of data. Should be possible to parse.
One way to approach it would be to implement Decoder trait for the new parsers and then reflect to structs using #[derive(RustcDecodable)].
There is quite a few different formats here to parse:
One way to approach it would be to implement
Decoder
trait for the new parsers and then reflect to structs using#[derive(RustcDecodable)]
.