mirror of
https://github.com/nushell/nushell.git
synced 2025-05-05 15:32:56 +00:00
Enable socks proxy support in ureq (#15597)
# Description Enable socks-proxy feature in ureq. This allows use of socks protocol in proxy env variables when using nushell http client. eg. to use a socks5 proxy on localhost ``` ALL_PROXY=socks5://localhost:8080 http get ... ``` # User-Facing Changes None # Tests + Formatting # After Submitting
This commit is contained in:
parent
5c59611083
commit
b5b63d2bf9
12
Cargo.lock
generated
12
Cargo.lock
generated
@ -6797,6 +6797,17 @@ dependencies = [
|
||||
"windows-sys 0.52.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "socks"
|
||||
version = "0.3.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f0c3dbbd9ae980613c6dd8e28a9407b50509d3803b57624d5dfe8315218cd58b"
|
||||
dependencies = [
|
||||
"byteorder",
|
||||
"libc",
|
||||
"winapi",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "sqlparser"
|
||||
version = "0.53.0"
|
||||
@ -7627,6 +7638,7 @@ dependencies = [
|
||||
"once_cell",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"socks",
|
||||
"url",
|
||||
]
|
||||
|
||||
|
@ -168,7 +168,7 @@ update-informer = { version = "1.2.0", default-features = false, features = ["gi
|
||||
umask = "2.1"
|
||||
unicode-segmentation = "1.12"
|
||||
unicode-width = "0.2"
|
||||
ureq = { version = "2.12", default-features = false }
|
||||
ureq = { version = "2.12", default-features = false, features = ["socks-proxy"] }
|
||||
url = "2.2"
|
||||
uu_cp = "0.0.30"
|
||||
uu_mkdir = "0.0.30"
|
||||
|
Loading…
x
Reference in New Issue
Block a user