From 2b8e095009451706d9a0e632b9dfd13cf5e33abd Mon Sep 17 00:00:00 2001 From: PeterDing Date: Fri, 15 Dec 2023 16:27:02 +0800 Subject: [PATCH] Update --- .github/workflows/release.yml | 2 +- Cargo.toml | 2 +- ci/before_install.bash | 5 ----- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d295695..0d01779 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: release +name: Release # Only do the release on x.y.z tags. on: diff --git a/Cargo.toml b/Cargo.toml index e014164..a0c9246 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,7 +33,7 @@ actix-rt = "2.9" # for http http = "1.0" url = "2.5" -reqwest = { version = "0.11", features = ["default", "stream", "gzip", "brotli", "deflate"] } +reqwest = { version = "0.11", features = ["rustls-tls", "stream", "gzip", "brotli", "deflate"], default-features = false } # for errors thiserror = "1.0" diff --git a/ci/before_install.bash b/ci/before_install.bash index ec0ea6b..5633908 100755 --- a/ci/before_install.bash +++ b/ci/before_install.bash @@ -1,9 +1,5 @@ #!/usr/bin/env bash -set -ex - -echo "-: before_install.bash" - if ! command -V sudo; then apt-get update apt-get install -y --no-install-recommends sudo @@ -14,5 +10,4 @@ sudo apt-get install -y --no-install-recommends \ build-essential openssl libssl-dev pkg-config # needed to build deb packages -echo "-: sudo apt-get install -y fakeroot" sudo apt-get install -y --no-install-recommends fakeroot