Skip to content

Commit

Permalink
Merge pull request #5 from roblabla/mapping-csv
Browse files Browse the repository at this point in the history
Allow CSV rows to have different sizes
  • Loading branch information
roblabla authored Dec 21, 2023
2 parents b293783 + a767d59 commit f85cac7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bin/satsuki.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ fn main() -> Result<(), Box<dyn Error>> {
let mapping = if is_csv {
let mut rdr = csv::ReaderBuilder::new()
.has_headers(false)
.flexible(true)
.from_reader(raw_mapping.as_bytes());
Mapping {
function: Some(Result::from_iter(rdr.deserialize())?)
Expand Down

0 comments on commit f85cac7

Please sign in to comment.