aquatic http: use serde_bencode for deserialization

bendy seems not to manage lack of trailing newline
This commit is contained in:
Joakim Frostegård 2020-08-12 04:26:09 +02:00
parent 7a96313173
commit bc5cd90371
3 changed files with 15 additions and 3 deletions

View file

@ -25,7 +25,6 @@ harness = false
[dependencies]
anyhow = "1"
bendy = { version = "0.3", features = ["std", "serde"] }
hashbrown = "0.8"
hex = { version = "0.4", default-features = false }
httparse = "1"
@ -34,10 +33,12 @@ log = "0.4"
memchr = "2"
rand = { version = "0.7", features = ["small_rng"] }
serde = { version = "1", features = ["derive"] }
serde_bencode = "0.2"
smartstring = "0.2"
urlencoding = "1"
[dev-dependencies]
bendy = { version = "0.3", features = ["std", "serde"] }
criterion = "0.3"
quickcheck = "0.9"
quickcheck_macros = "0.9"