Repository navigation
Feature release
Made CSV readers behavior on i/o errors configurable:
- By default when underlying AsyncReader raise i/o error during read operation, CSV reader will propagate it and will end records' stream (return None on next invocation). This is usually expected and prevents infinite loops when records' source is persistently broken. Prevoius version (1.1.1) worked in this way as well as latest version of
csvcrate. - If reader is for instance network reader and user wants to re-try reading from it, described above behavior can be changed by calling
end_on_io_error(false)onAsyncReaderBuilder. This restores behavior implemented in version 1.0.0 of this crate and incsvversions before 1.1.4.