mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 04:02:00 -06:00
Remove duplicated native-tls entry (#235)
This commit is contained in:
parent
6da292f013
commit
f45bb19cd7
3 changed files with 7 additions and 22 deletions
18
Cargo.lock
generated
18
Cargo.lock
generated
|
|
@ -399,7 +399,6 @@ dependencies = [
|
|||
"indicatif",
|
||||
"lazy_static",
|
||||
"log",
|
||||
"native-tls 0.2.11 (git+https://github.com/crunchy-labs/rust-not-so-native-tls.git?rev=570100d)",
|
||||
"num_cpus",
|
||||
"regex",
|
||||
"reqwest",
|
||||
|
|
@ -888,7 +887,7 @@ checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905"
|
|||
dependencies = [
|
||||
"bytes",
|
||||
"hyper",
|
||||
"native-tls 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"native-tls",
|
||||
"tokio",
|
||||
"tokio-native-tls",
|
||||
]
|
||||
|
|
@ -1144,17 +1143,6 @@ dependencies = [
|
|||
"tempfile",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "native-tls"
|
||||
version = "0.2.11"
|
||||
source = "git+https://github.com/crunchy-labs/rust-not-so-native-tls.git?rev=570100d#570100d3391bd9aab7a390cfef0d1a28e8efe200"
|
||||
dependencies = [
|
||||
"log",
|
||||
"openssl",
|
||||
"openssl-probe",
|
||||
"openssl-sys",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nix"
|
||||
version = "0.26.2"
|
||||
|
|
@ -1432,7 +1420,7 @@ dependencies = [
|
|||
"js-sys",
|
||||
"log",
|
||||
"mime",
|
||||
"native-tls 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"native-tls",
|
||||
"once_cell",
|
||||
"percent-encoding",
|
||||
"pin-project-lite",
|
||||
|
|
@ -1876,7 +1864,7 @@ version = "0.3.1"
|
|||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2"
|
||||
dependencies = [
|
||||
"native-tls 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"native-tls",
|
||||
"tokio",
|
||||
]
|
||||
|
||||
|
|
|
|||
1
crunchy-cli-core/Cargo.lock
generated
1
crunchy-cli-core/Cargo.lock
generated
|
|
@ -358,7 +358,6 @@ dependencies = [
|
|||
"indicatif",
|
||||
"lazy_static",
|
||||
"log",
|
||||
"native-tls",
|
||||
"num_cpus",
|
||||
"regex",
|
||||
"reqwest",
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@ edition = "2021"
|
|||
license = "MIT"
|
||||
|
||||
[features]
|
||||
openssl = ["dep:native-tls", "reqwest/native-tls-alpn"]
|
||||
openssl-static = ["dep:native-tls", "native-tls?/vendored", "reqwest/native-tls-alpn", "reqwest/native-tls-vendored"]
|
||||
openssl = ["reqwest/native-tls-alpn"]
|
||||
openssl-static = ["reqwest/native-tls-alpn", "reqwest/native-tls-vendored"]
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0"
|
||||
|
|
@ -35,12 +35,10 @@ tempfile = "3.7"
|
|||
tokio = { version = "1.31", features = ["macros", "rt-multi-thread", "time"] }
|
||||
sys-locale = "0.3"
|
||||
|
||||
# fork of the `native-tls` crate which uses openssl as backend on every platform. this is done as `reqwest` only supports
|
||||
# `rustls` and `native-tls` as tls backend
|
||||
native-tls = { git = "https://github.com/crunchy-labs/rust-not-so-native-tls.git", rev = "570100d", features = ["alpn"], optional = true }
|
||||
|
||||
[build-dependencies]
|
||||
chrono = "0.4"
|
||||
|
||||
[patch.crates-io]
|
||||
# fork of the `native-tls` crate which uses openssl as backend on every platform. this is done as `reqwest` only supports
|
||||
# `rustls` and `native-tls` as tls backend
|
||||
native-tls = { git = "https://github.com/crunchy-labs/rust-not-so-native-tls.git", rev = "570100d" }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue