IROX CSV Encoder/Decoder
Inspired by Python's csv
module, a very basic csv reader & writer.
The primary use-case of this library is interacting with unstructured, variably structured, or dubiously structured data. As such, you probably want the far more robust and far better implemented csv
crate.
Goals:
- Provide a
String
-based mechanism to read and write CSV files inrfc4180
format. - Handle mixed formats resiliently, such as mismatched and newlines within quotes.
Non-Goals:
- Any interpretation of the contents of the CSV structure itself - everything is an owned
String
serde
support - if you need it, go use thecsv
crate.
Examples:
- Straight Iteration:
use CSVError;
- Map Iteration:
use CSVError;
- Writing