11 unstable releases (3 breaking)

Uses new Rust 2024

0.19.2 Sep 1, 2025
0.19.1 Jul 10, 2025
0.19.0 May 31, 2025
0.18.3 May 16, 2025
0.16.0 Feb 21, 2025

#178 in #mysql

Download history 73/week @ 2025-09-25 46/week @ 2025-10-02 36/week @ 2025-10-09 62/week @ 2025-10-16 47/week @ 2025-10-23 22/week @ 2025-10-30 20/week @ 2025-11-06 34/week @ 2025-11-13 19/week @ 2025-11-20 26/week @ 2025-11-27 23/week @ 2025-12-04 15/week @ 2025-12-11 28/week @ 2025-12-18 24/week @ 2025-12-25 22/week @ 2026-01-01 2/week @ 2026-01-08

82 downloads per month
Used in 12 crates (11 directly)

Apache-2.0 OR MIT

135KB
2K SLoC

rsql_driver_csv

ci Documentation Code Coverage Benchmarks Latest version License Semantic Versioning

rsql_driver_csv is a data driver for Comma Separated Values (CSV) files.

Usage

Driver url format: csv://<file>[?has_header=<true|false>][&quote=<char>][&skip_rows=<n>]

The driver is implemented using Polars SQL.

Driver Configuration

Parameter Description Default
has_header Whether the file has a header row. true
separator The character used to separate fields in the file. ,
quote The character used to quote fields in the file. "
eol The character used to separate lines in the file. \n
skip_rows The number of rows to skip before reading the data. 0
skip_rows_after_header The number of rows to skip after the header. 0
truncate_ragged_lines Whether to truncate lines that are longer than the schema. false
infer_schema_length The number of rows to use when inferring the schema. 100
ignore_errors Whether to ignore errors. If true, errors will be ignored. If false, errors will cause the query to fail. false

Safety

These crates use #![forbid(unsafe_code)] to ensure everything is implemented in 100% safe Rust.

License

Licensed under either of:

Dependencies

~104MB
~2M SLoC