mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-22 21:48:42 +00:00
Add new feature static
that is enabled by default
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
3889d122a7
commit
818f4da577
1 changed files with 4 additions and 3 deletions
|
@ -21,7 +21,7 @@ pkg-fmt = "zip"
|
||||||
[dependencies]
|
[dependencies]
|
||||||
async-trait = "0.1.56"
|
async-trait = "0.1.56"
|
||||||
bytes = "1.1.0"
|
bytes = "1.1.0"
|
||||||
bzip2 = { version = "0.4.3", features = ["static"] }
|
bzip2 = "0.4.3"
|
||||||
cargo_toml = "0.11.4"
|
cargo_toml = "0.11.4"
|
||||||
clap = { version = "3.2.12", features = ["derive"] }
|
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, features = ["rustls"] }
|
||||||
|
@ -50,7 +50,7 @@ tinytemplate = "1.2.1"
|
||||||
tokio = { version = "1.20.0", features = ["rt-multi-thread", "process", "sync"], default-features = false }
|
tokio = { version = "1.20.0", features = ["rt-multi-thread", "process", "sync"], default-features = false }
|
||||||
toml = "0.5.9"
|
toml = "0.5.9"
|
||||||
url = "2.2.2"
|
url = "2.2.2"
|
||||||
xz2 = { version = "0.1.6", features = ["static"] }
|
xz2 = "0.1.6"
|
||||||
|
|
||||||
# Disable all features of zip except for features of compression algorithms:
|
# Disable all features of zip except for features of compression algorithms:
|
||||||
# Disabled features include:
|
# Disabled features include:
|
||||||
|
@ -69,8 +69,9 @@ zstd = { version = "0.10.0", default-features = false }
|
||||||
guess_host_triple = "0.1.3"
|
guess_host_triple = "0.1.3"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = ["static"]
|
||||||
mimalloc = ["dep:mimalloc"]
|
mimalloc = ["dep:mimalloc"]
|
||||||
|
static = ["bzip2/static", "xz2/static"]
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
env_logger = "0.9.0"
|
env_logger = "0.9.0"
|
||||||
|
|
Loading…
Add table
Reference in a new issue