cargo add baskerville
```csv
Name,LOC,Species Ferris,42,Crab Corro,7,Urchin ```
```rust use baskerville::{infercsvwith_options, CsvInput, InferOptions};
fn main() { let fields = infercsvwithoptions( CsvInput::Path("mascots.csv"), &mut InferOptions { hasheaders: true, ..InferOptions::default() }, ) .unwrap(); println!("{fields}"); } ```
Output:
╭──────┬─────────┬─────────╮
│ Name │ LOC │ Species │
├──────┼─────────┼─────────┤
│ Text │ Integer │ Text │
│ │ Float │ │
│ │ Text │ │
╰──────┴─────────┴─────────╯
The repo bases versioning from Conventional Commits