This project follows Semantic Versioning.
Unreleased
0.1.0
- Add
Delimited.Schema, declaring the columns of a delimited file as a struct withdelimited_schema/3andfield/3. - Add
Delimited.read/3,read!/3,stream/3,decode/3, anddecode!/3for reading, andwrite/4,write!/4, andencode!/3for writing. - Add a resumable RFC 4180 parser that reads a file in slices, reports the line and column of a failure, and reads the same rows however the input is sliced.
- Add the built-in types
:string,:integer,:float,:boolean,:date,:time,:naive_datetime,:utc_datetime,:decimal, and{:enum, values}, and theDelimited.Typebehaviour for declaring others. - Add
Delimited.Dialect, covering the delimiter, quote character, header row, null strings, trimming, skipped rows, line ending, byte order mark, and formula escaping. - Add
Delimited.Error, carrying a reason to match on and a message that states the next action.