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 |
#2515 in Parser implementations
40 downloads per month
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–6MB
~102K SLoC