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
|
|
@ -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