Skip to content

Commit 8ce4ddc

Browse files
authored
chore(ext/http): fix E0446 on some compiler versions (#21362)
Rust 1.74 may have made this code temporarily valid in [#113126 Replace old private-in-public diagnostic with type privacy lints](rust-lang/rust#113126), so we didn't catch it at build time. It fails in 1.73 and +nightly, however.
1 parent 3e83d68 commit 8ce4ddc

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ deno_crypto = { version = "0.139.0", path = "./ext/crypto" }
6363
deno_fetch = { version = "0.149.0", path = "./ext/fetch" }
6464
deno_ffi = { version = "0.112.0", path = "./ext/ffi" }
6565
deno_fs = { version = "0.35.0", path = "./ext/fs" }
66-
deno_http = { version = "0.121.0", path = "./ext/http" }
66+
deno_http = { version = "0.122.0", path = "./ext/http" }
6767
deno_io = { version = "0.35.0", path = "./ext/io" }
6868
deno_net = { version = "0.117.0", path = "./ext/net" }
6969
deno_node = { version = "0.62.0", path = "./ext/node" }

ext/http/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[package]
44
name = "deno_http"
5-
version = "0.121.0"
5+
version = "0.122.0"
66
authors.workspace = true
77
edition.workspace = true
88
license.workspace = true

ext/http/service.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ impl Drop for HttpRequestBodyAutocloser {
176176
}
177177
}
178178

179-
pub async fn handle_request(
179+
pub(crate) async fn handle_request(
180180
request: Request,
181181
request_info: HttpConnectionProperties,
182182
server_state: SignallingRc<HttpServerState>, // Keep server alive for duration of this future.

0 commit comments

Comments
 (0)