# use-csv
Practical CSV utility primitives for lightweight delimiter detection, field escaping, and row splitting.
> Warning: versions below `0.3.0` are experimental and may change as the crate matures.
## Example Usage
```rust
use use_csv::{csv_join_row, detect_delimiter, parse_csv_basic, split_csv_line_basic};
let rows = parse_csv_basic("name,enabled\nRustUse,true\n");
assert_eq!(detect_delimiter("name;enabled\nRustUse;true\n"), Some(';'));
assert_eq!(split_csv_line_basic("a,\"b,c\",d"), vec!["a", "b,c", "d"]);
assert_eq!(rows[1].fields[0], "RustUse");
assert_eq!(csv_join_row(&["one", "two,three"]), "one,\"two,three\"");
```
## Scope
- common delimiter detection for comma, tab, semicolon, and pipe separated data
- conservative quoted-field splitting
- lightweight row parsing for fixtures, CLIs, docs, and config helpers
## Non-Goals
- full RFC 4180 support
- streaming CSV parsing
- encoding detection
## License
Licensed under either of the following, at your option:
- MIT License
- Apache License, Version 2.0