chore: bump hyper to 1.1.0

This commit is contained in:
Sandro Eiler 2023-12-23 14:10:35 +01:00
parent e1e544267d
commit 8f0a25c521
3 changed files with 7 additions and 7 deletions

11
Cargo.lock generated
View file

@ -47,7 +47,7 @@ dependencies = [
"http 1.0.0",
"http-body 1.0.0",
"http-body-util",
"hyper 1.0.1",
"hyper 1.1.0",
"hyper-util",
"itoa",
"matchit",
@ -424,9 +424,9 @@ dependencies = [
[[package]]
name = "hyper"
version = "1.0.1"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "403f9214f3e703236b221f1a9cd88ec8b4adfa5296de01ab96216361f4692f56"
checksum = "fb5aa53871fc917b1a9ed87b683a5d86db645e23acb32c2e0785a353e522fb75"
dependencies = [
"bytes",
"futures-channel",
@ -439,6 +439,7 @@ dependencies = [
"itoa",
"pin-project-lite",
"tokio",
"want",
]
[[package]]
@ -465,7 +466,7 @@ dependencies = [
"futures-util",
"http 1.0.0",
"http-body 1.0.0",
"hyper 1.0.1",
"hyper 1.1.0",
"pin-project-lite",
"socket2 0.5.4",
"tokio",
@ -556,7 +557,7 @@ name = "learn_axum"
version = "0.1.0"
dependencies = [
"axum",
"hyper 0.14.27",
"hyper 1.1.0",
"reqwest",
"serde",
"serde_json",

View file

@ -14,7 +14,7 @@ name = "learn_axum"
[dependencies]
tokio = { version = "1.32.0", features = ["full"] }
hyper = { version = "0.14.27", features = ["full"] }
hyper = { version = "1.1.0", features = ["full"] }
# Serde / json
serde = { version = "1.0", features = ["derive"] }
serde_json = "1"

View file

@ -5,7 +5,6 @@ use axum::response::{Html, IntoResponse, Response};
use axum::routing::{get, get_service, post, IntoMakeService};
use axum::serve::Serve;
use axum::{middleware, Json, Router};
use hyper::server::conn::AddrIncoming;
use serde::Deserialize;
use serde_json::{json, Value};
use std::net::SocketAddr;