2 releases
0.1.1 | Feb 14, 2022 |
---|---|
0.1.0 | Feb 9, 2022 |
#9 in #separated
8KB
152 lines
A CSV Parser/Reader (UTF-8 & ASCII only) library for Rust.
Three functions are exposed:
read(filename) This reads a file and returns a Vec of the raw data
parse(buf) This takes a Vec and parses the data as either UTF-8/ASCII into a row/col Vec<Vec>
to_lines(row_cols) This takes a row/col of a Vec<Vec> and returns a Vec with a dynamic column size for all columns