mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-22 13:38:43 +00:00
Add new feature rustls (enabled by default)
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
6fe2762f11
commit
162e4838d8
1 changed files with 4 additions and 3 deletions
|
@ -24,7 +24,7 @@ bytes = "1.1.0"
|
|||
bzip2 = "0.4.3"
|
||||
cargo_toml = "0.11.4"
|
||||
clap = { version = "3.2.12", features = ["derive"] }
|
||||
crates_io_api = { version = "0.8.0", default-features = false, features = ["rustls"] }
|
||||
crates_io_api = { version = "0.8.0", default-features = false }
|
||||
dirs = "4.0.0"
|
||||
flate2 = { version = "1.0.24", default-features = false }
|
||||
fs4 = "0.6.2"
|
||||
|
@ -35,7 +35,7 @@ log = "0.4.14"
|
|||
miette = { version = "5.1.1", features = ["fancy-no-backtrace"] }
|
||||
mimalloc = { version = "0.1.29", default-features = false, optional = true }
|
||||
once_cell = "1.13.0"
|
||||
reqwest = { version = "0.11.11", features = ["rustls-tls", "stream"], default-features = false }
|
||||
reqwest = { version = "0.11.11", features = ["stream"], default-features = false }
|
||||
scopeguard = "1.1.0"
|
||||
semver = "1.0.12"
|
||||
serde = { version = "1.0.139", features = ["derive"] }
|
||||
|
@ -69,11 +69,12 @@ zstd = { version = "0.10.0", default-features = false }
|
|||
guess_host_triple = "0.1.3"
|
||||
|
||||
[features]
|
||||
default = ["static", "zlib-ng"]
|
||||
default = ["static", "zlib-ng", "rustls"]
|
||||
mimalloc = ["dep:mimalloc"]
|
||||
static = ["bzip2/static", "xz2/static"]
|
||||
pkg-config = ["zstd/pkg-config"]
|
||||
zlib-ng = ["flate2/zlib-ng"]
|
||||
rustls = ["crates_io_api/rustls", "reqwest/rustls-tls"]
|
||||
|
||||
[dev-dependencies]
|
||||
env_logger = "0.9.0"
|
||||
|
|
Loading…
Add table
Reference in a new issue