Enable feature zstd-thin by default (#741)

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2023-01-24 23:48:12 +11:00 committed by GitHub
parent 9047d99c1a
commit 283163bbda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View file

@ -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
}, ",")