Rust's Serde already implements this: https://docs.rs/fixed_width/latest/fixed_width/
I'd be willing to take a stab at this. I keep running into these types of files and while deserializing using ranges in a constructor that accepts a string is fine, it can be time consuming for large types with lots of fields.
Rust's Serde already implements this: https://docs.rs/fixed_width/latest/fixed_width/
I'd be willing to take a stab at this. I keep running into these types of files and while deserializing using ranges in a constructor that accepts a string is fine, it can be time consuming for large types with lots of fields.