Hi all,
I’ve been working on RustyCSV, a CSV parser and encoder for Elixir backed by Rust NIFs. Version 0.4.0 is now available.
The goal is to provide a drop-in replacement for NimbleCSV 1.3.0 for both parsing and encoding. NimbleCSV is an excellent pure-Elixir option. RustyCSV is for people who are comfortable using a precompiled Rust NIF to get some additional performance on very large CSV files.
The usual NimbleCSV functions are supported, including parse_string/2, parse_stream/2, parse_enumerable/2, dump_to_iodata/2, and dump_to_stream/1.
The 0.4.0 release adds stricter CSV validation, compatible encoding return shapes, Rustler 0.38, and verification on Elixir 1.20 with OTP 29.
I also ran NimbleCSV 1.3.0’s upstream tests against RustyCSV. The behavior matches across all 21 tests. Exact error messages differ in four cases because RustyCSV reports byte offsets without including the original CSV content.
I’d appreciate feedback from anyone willing to try it
Hex: rusty_csv | Hex
Documentation: RustyCSV v0.4.0 — Documentation






















