Crate csv_lib

Source
Expand description

§Csv_lib Crate

A Rust library to read/write CSV files in the fastest way I know.

For further information, and complete docs, you can check the repo here

§3rd Party Crates Used:

CrateLink
Memmap2memmap2 crate
Memchrmemchr crate
num_cpusnum_cpus crate

§Features

  • Zero-copy parsing
  • Custom delimiters support
  • Escape string support
  • Direct mapping from memory
  • Multicore Process
  • Low Ram Usage, even on big files

§Performance

This library is designed to process large CSV files.
Successfully tested on a 1 billion lines CSV file. To test performance, run in release config, it improves a lot the performance

§Contact

If you have any questions, contact me on LinkedIn

Modules§

csv
decoders
encoders
extensions
features
helpers
io
macros
models
parallel

Macros§

get_bool
get_cow
get_f32
get_f64
get_i8
get_i16
get_i32
get_i64
get_raw
get_str
get_string
get_u8
get_u16
get_u32
get_u64
is_empty_field
is_numeric_like