Crates.io | mule |
lib.rs | mule |
version | 0.5.0 |
source | src |
created_at | 2021-04-04 18:03:37.570912 |
updated_at | 2021-04-25 14:30:40.68915 |
description | Strong-headed (yet flexible) parser of columnar datasets from CSV, TSV and other delimiter-separated datasets |
homepage | |
repository | https://github.com/amrhassan/mule-rs |
max_upload_size | |
id | 378890 |
size | 95,854 |
Strong-headed (yet flexible) parser of columnar datasets from CSV, TSV or other delimiter-separated datasets
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.