Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

Commit

Permalink
Update serde_bytes and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Eijebong committed Oct 11, 2019
1 parent 72049a5 commit 31a9cee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "hyper_serde"
version = "0.11.0"
version = "0.11.1"
edition = "2018"
authors = ["Anthony Ramine <n.oxyde@gmail.com>"]
description = "Serde support for Hyper types"
Expand All @@ -22,7 +22,7 @@ http = "0.1"
hyper = { version = "0.12" }
mime = "0.3"
serde = "1.0"
serde_bytes = "0.10"
serde_bytes = "0.11"
time = "0.1"
headers = "0.2"

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -372,7 +372,7 @@ impl<'de> Deserialize<'de> for De<HeaderMap> {
let capacity = cmp::min(visitor.size_hint().unwrap_or(0), 64);
let mut values = Vec::with_capacity(capacity);
while let Some(v) = visitor.next_element::<ByteBuf>()? {
values.push(v.into());
values.push(v.into_vec());
}
Ok(Value(values))
}
Expand Down

0 comments on commit 31a9cee

Please sign in to comment.