Expand description
CSV reader: streaming rows via Stream<CsvError, Row>.
The reader wraps csv::Reader and exposes rows as a
comp-cat-rs Stream, with file lifecycle managed by Resource.
Structs§
- Reader
Config - Configuration for reading a CSV file.
Functions§
- from_
str - Read a CSV from a string (useful for testing and in-memory data).
- read_
all - Read all rows from a file path, returning an
Iothat produces aVec<Row>. - reader_
resource - Create a
Resourcefor a CSV reader. - stream_
rows - Stream rows from a file path.