mirror of
https://github.com/denoland/deno.git
synced 2024-12-24 08:09:08 -05:00
feat(ext/fetch): Add socks proxy support (#15372)
This commit is contained in:
parent
bfdce3cc35
commit
6e6912489c
2 changed files with 14 additions and 1 deletions
13
Cargo.lock
generated
13
Cargo.lock
generated
|
@ -3456,6 +3456,7 @@ dependencies = [
|
|||
"serde_urlencoded",
|
||||
"tokio",
|
||||
"tokio-rustls",
|
||||
"tokio-socks",
|
||||
"tokio-util",
|
||||
"tower-service",
|
||||
"url 2.2.2",
|
||||
|
@ -4716,6 +4717,18 @@ dependencies = [
|
|||
"webpki",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "tokio-socks"
|
||||
version = "0.5.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "51165dfa029d2a65969413a6cc96f354b86b464498702f174a4efa13608fd8c0"
|
||||
dependencies = [
|
||||
"either",
|
||||
"futures-util",
|
||||
"thiserror",
|
||||
"tokio",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "tokio-stream"
|
||||
version = "0.1.9"
|
||||
|
|
|
@ -20,7 +20,7 @@ deno_core = { version = "0.146.0", path = "../../core" }
|
|||
deno_tls = { version = "0.51.0", path = "../tls" }
|
||||
dyn-clone = "1"
|
||||
http = "0.2.6"
|
||||
reqwest = { version = "0.11.11", default-features = false, features = ["rustls-tls", "stream", "gzip", "brotli"] }
|
||||
reqwest = { version = "0.11.11", default-features = false, features = ["rustls-tls", "stream", "gzip", "brotli", "socks"] }
|
||||
serde = { version = "1.0.136", features = ["derive"] }
|
||||
tokio = { version = "1.17", features = ["full"] }
|
||||
tokio-stream = "0.1.8"
|
||||
|
|
Loading…
Reference in a new issue