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
Macro get_bool!
get_cow
Macro get_cow!
get_f32
Macro get_f32!
get_f64
Macro get_f64!
get_i8
Macro get_i8!
get_i16
Macro get_i16!
get_i32
Macro get_i32!
get_i64
Macro get_i64!
get_raw
Macro get_raw!
get_str
Macro get_str!
get_str_utf8
Macro get_str_utf8!
get_string
Macro get_string!
get_u8
Macro get_u8!
get_u16
Macro get_u16!
get_u32
Macro get_u32!
get_u64
Macro get_u64!
is_empty_field
Macro is_empty_field!
is_numeric_like
Macro is_numeric_like!