From 72e5532873c25cd68bff03e36233a294247ba6fc Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Tue, 25 Jul 2017 20:16:07 -0400 Subject: fix config bug In the move to csv 1.0, the ReaderBuilder wasn't being configured with the quote flag if it was present. This commit fixes that. --- src/config.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/config.rs b/src/config.rs index 063d2dc..a0843bb 100644 --- a/src/config.rs +++ b/src/config.rs @@ -53,6 +53,7 @@ impl Decodable for Delimiter { } } +#[derive(Debug)] pub struct Config { path: Option, // None implies idx_path: Option, @@ -275,6 +276,7 @@ impl Config { .flexible(self.flexible) .delimiter(self.delimiter) .has_headers(!self.no_headers) + .quote(self.quote) .from_reader(rdr) } -- cgit v1.2.3