mirror of
https://github.com/shadowsocks/shadowsocks-rust.git
synced 2026-02-09 01:59:16 +08:00
fix(deps): update rust crate reqwest to 0.13 (#2058)
* fix(deps): update rust crate reqwest to 0.13 * fix(shadowsocks-rust): reqwest features updated * chore: allow OpenSSL license --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: ty <zonyitoo@users.noreply.github.com>
This commit is contained in:
14
Cargo.toml
14
Cargo.toml
@@ -241,6 +241,7 @@ futures = "0.3"
|
|||||||
tokio = { version = "1", features = ["rt", "signal"] }
|
tokio = { version = "1", features = ["rt", "signal"] }
|
||||||
|
|
||||||
ipnet = { version = "2.10", optional = true }
|
ipnet = { version = "2.10", optional = true }
|
||||||
|
reqwest = { version = "0.13", features = ["blocking"], optional = true }
|
||||||
|
|
||||||
mimalloc = { version = "0.1", default-features = false, optional = true }
|
mimalloc = { version = "0.1", default-features = false, optional = true }
|
||||||
tcmalloc = { version = "0.3", optional = true }
|
tcmalloc = { version = "0.3", optional = true }
|
||||||
@@ -255,19 +256,6 @@ windows-service = { version = "0.8", optional = true }
|
|||||||
[target.'cfg(unix)'.dependencies]
|
[target.'cfg(unix)'.dependencies]
|
||||||
xdg = "3.0"
|
xdg = "3.0"
|
||||||
|
|
||||||
[target.'cfg(any(target_arch = "x86", target_arch = "x86_64", target_arch = "aarch64"))'.dependencies]
|
|
||||||
reqwest = { version = "0.12", features = [
|
|
||||||
"blocking",
|
|
||||||
"rustls-tls",
|
|
||||||
"rustls-tls-native-roots",
|
|
||||||
], default-features = false, optional = true }
|
|
||||||
|
|
||||||
[target.'cfg(not(any(target_arch = "x86", target_arch = "x86_64", target_arch = "aarch64")))'.dependencies]
|
|
||||||
reqwest = { version = "0.12", features = [
|
|
||||||
"blocking",
|
|
||||||
"native-tls-vendored",
|
|
||||||
], optional = true }
|
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
byteorder = "1.5"
|
byteorder = "1.5"
|
||||||
env_logger = "0.11"
|
env_logger = "0.11"
|
||||||
|
|||||||
@@ -100,6 +100,7 @@ allow = [
|
|||||||
"CDLA-Permissive-2.0",
|
"CDLA-Permissive-2.0",
|
||||||
"CC0-1.0",
|
"CC0-1.0",
|
||||||
"0BSD",
|
"0BSD",
|
||||||
|
"OpenSSL",
|
||||||
]
|
]
|
||||||
# The confidence threshold for detecting a license from license text.
|
# The confidence threshold for detecting a license from license text.
|
||||||
# The higher the value, the more closely the license text must be to the
|
# The higher the value, the more closely the license text must be to the
|
||||||
|
|||||||
Reference in New Issue
Block a user