http_protocol: implement axum IntoResponse, use in http_private

This commit is contained in:
Joakim Frostegård 2022-04-03 20:20:51 +02:00
parent 5e79df8e7e
commit 98e7e5cc13
6 changed files with 70 additions and 41 deletions

View file

@ -22,8 +22,12 @@ name = "bench_announce_response_to_bytes"
path = "benches/bench_announce_response_to_bytes.rs"
harness = false
[features]
with-axum = ["axum"]
[dependencies]
anyhow = "1"
axum = { version = "0.5", optional = true, default-features = false }
hex = { version = "0.4", default-features = false }
httparse = "1"
itoa = "1"