Skip to content

Commit ae22687

Browse files
author
Jay Jackson
committed
custom quote support
basic custom quote support remove extra file more consistent styling allow actually using the feature fix logic issue fmt
1 parent add7406 commit ae22687

File tree

11 files changed

+436
-83
lines changed

11 files changed

+436
-83
lines changed

Cargo.toml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ include = ["src/*", "LICENSE-MIT.md", "README.md"]
1717
document-features = { version = "0.2", optional = true }
1818
encoding_rs = { version = "0.8", optional = true }
1919
serde = { version = "1.0.100", optional = true }
20-
tokio = { version = "1.0", optional = true, default-features = false, features = ["io-util"] }
20+
tokio = { version = "1.0", optional = true, default-features = false, features = [
21+
"io-util",
22+
] }
2123
memchr = "2.0"
2224

2325
[dev-dependencies]
@@ -26,7 +28,10 @@ pretty_assertions = "1.3"
2628
regex = "1"
2729
serde = { version = "1.0", features = ["derive"] }
2830
serde-value = "0.7"
29-
tokio = { version = "1.21", default-features = false, features = ["macros", "rt"] }
31+
tokio = { version = "1.21", default-features = false, features = [
32+
"macros",
33+
"rt",
34+
] }
3035
tokio-test = "0.4"
3136

3237
[lib]

src/de/map.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ where
173173
de: &'a mut Deserializer<'de, R>,
174174
/// State of the iterator over attributes. Contains the next position in the
175175
/// inner `start` slice, from which next attribute should be parsed.
176-
iter: IterState,
176+
iter: IterState<'a>,
177177
/// Current state of the accessor that determines what next call to API
178178
/// methods should return.
179179
source: ValueSource,
@@ -201,7 +201,7 @@ where
201201
) -> Result<Self, DeError> {
202202
Ok(MapAccess {
203203
de,
204-
iter: IterState::new(start.name().as_ref().len(), false),
204+
iter: IterState::new(start.name().as_ref().len(), false, &[]),
205205
start,
206206
source: ValueSource::Unknown,
207207
fields,

0 commit comments

Comments
 (0)