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 |
#2774 in Parser implementations
53KB
1.5K
SLoC
mule
Strong-headed (yet flexible) parser of columnar datasets from CSV, TSV or other delimiter-separated datasets
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
~4–10MB
~103K SLoC