#csv-tsv #dataset #csv #columnar #tsv

mule

Strong-headed (yet flexible) parser of columnar datasets from CSV, TSV and other delimiter-separated datasets

6 releases (breaking)

0.5.0 Apr 25, 2021
0.4.0 Apr 10, 2021
0.3.0 Apr 9, 2021
0.2.0 Apr 8, 2021
0.0.0 Apr 4, 2021

#2646 in Parser implementations

MIT license

53KB
1.5K SLoC

mule

Strong-headed (yet flexible) parser of columnar datasets from CSV, TSV or other delimiter-separated datasets

Crates.io Documentation Crates.io

Usage

use mule::{read_file, Result};

#[tokio::main]
pub async fn main() -> Result<()> {
    let file_path = "datasets/sales-10.csv";
    let dataset = read_file(file_path).await?;
    println!("Got dataset: {:#?}", dataset);
    Ok(())
}

Other examples are available in the examples directory.

Dependencies

~6.5MB
~118K SLoC