mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 22:30:03 +00:00
Enable feature zstd-thin
by default (#741)
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
9047d99c1a
commit
283163bbda
2 changed files with 3 additions and 4 deletions
|
@ -47,7 +47,7 @@ tracing-subscriber = { version = "0.3.16", features = ["fmt", "json", "ansi"], d
|
|||
embed-resource = "1.8.0"
|
||||
|
||||
[features]
|
||||
default = ["static", "rustls", "trust-dns", "fancy-no-backtrace"]
|
||||
default = ["static", "rustls", "trust-dns", "fancy-no-backtrace", "zstd-thin"]
|
||||
|
||||
mimalloc = ["dep:mimalloc"]
|
||||
|
||||
|
|
5
justfile
5
justfile
|
@ -62,9 +62,8 @@ cargo-no-default-features := if default-features == "false" { " --no-default-fea
|
|||
} else { "" }
|
||||
|
||||
cargo-features := trim_end_match(if override-features != "" { override-features
|
||||
} else if (cargo-profile / ci-or-no) == "dev/ci" { "rustls,fancy-with-backtrace," + extra-features
|
||||
} else if (cargo-profile / ci-or-no / target-libc) == "release/ci/musl" { "rustls,fancy-with-backtrace,zstd-thin," + extra-features
|
||||
} else if (cargo-profile / ci-or-no) == "release/ci" { "rustls,fancy-with-backtrace," + extra-features
|
||||
} else if (cargo-profile / ci-or-no) == "dev/ci" { "rustls,fancy-with-backtrace,zstd-thin" + extra-features
|
||||
} else if (cargo-profile / ci-or-no) == "release/ci" { "rustls,fancy-with-backtrace,zstd-thin" + extra-features
|
||||
} else { extra-features
|
||||
}, ",")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue