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:
Crate | Link |
---|---|
Memmap2 | memmap2 crate |
Memchr | memchr crate |
num_cpus | num_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§
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!