chore: switch to deno_tunnel crate (#30049)

switch to `deno_tunnel` crate for shared code with deploy
This commit is contained in:
snek 2025-07-14 16:11:02 +02:00 committed by GitHub
parent 1dd0db2e16
commit 46009f7368
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 132 additions and 378 deletions

View file

@ -500,7 +500,7 @@ mod hyper_client {
use std::pin::Pin;
use std::task::Poll;
use deno_net::tunnel::TunnelListener;
use deno_net::tunnel::TunnelConnection;
use deno_net::tunnel::TunnelStream;
use deno_net::tunnel::get_tunnel;
use deno_tls::SocketUse;
@ -544,7 +544,7 @@ mod hyper_client {
#[derive(Debug, Clone)]
enum Connector {
Http(HttpsConnector<HttpConnector>),
Tunnel(TunnelListener),
Tunnel(TunnelConnection),
#[cfg(any(target_os = "linux", target_os = "macos"))]
Vsock(VsockAddr),
}