Saturday, July 22, 2023

Announcement: automated CSV parsing in Rust

 🦀🦀🦀cRUSTaceans!🦀🦀🦀 

I've added a new fn to my csv_utils:

parse_csv<T>(skip: usize, f: Fn, lines: Lines)



  • skips <skip> lines (header
  • parses CSV with <f>
  • returns Vec<T> objects from CSV <lines>

This goes a long way towards automating CSV parsing for me.


No comments:

Post a Comment