feat: update dependencies

This commit is contained in:
2024-09-20 00:49:08 +08:00
parent 27fe7fec3f
commit c2eb073c91
3 changed files with 447 additions and 372 deletions

813
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -7,7 +7,7 @@ edition = "2021"
[dependencies]
pingora = { version = "0.1", features = ["proxy"] }
tokio = { version = "1.36", features = ["rt-multi-thread", "signal"] }
tokio = { version = "1.40", features = ["rt-multi-thread", "signal"] }
pretty_env_logger = "0.5"
async-trait = "0.1"
log = "0.4"
@@ -20,7 +20,7 @@ p256 = "0.13"
p384 = "0.13"
p521 = "0.13"
once_cell = "1.19"
bytes = "1.6"
bytes = "1.7"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio-dns-unofficial = "0.4"

View File

@@ -199,7 +199,7 @@ impl ProxyHttp for ProxyApp {
fn upstream_response_body_filter(
&self,
_session: &mut Session,
body: &Option<Bytes>,
body: &mut Option<Bytes>,
end_of_stream: bool,
_ctx: &mut Self::CTX,
) {