@@ -38,34 +38,39 @@ jobs:
3838 bin : rnk
3939 name : rnk-x86_64-unknown-linux-musl-${{ needs.compute.outputs.RNK_RELEASE_VERSION}}.tar.gz
4040 cargo_command : cargo
41+ features : " --no-default-features --features rustls"
4142
4243 - os_name : Linux-aarch64
4344 os : ubuntu-24.04-arm
4445 target : aarch64-unknown-linux-musl
4546 bin : rnk
4647 name : rnk-aarch64-unknown-linux-musl-${{ needs.compute.outputs.RNK_RELEASE_VERSION}}.tar.gz
4748 cargo_command : cargo
49+ features : " --no-default-features --features rustls"
4850
4951 - os_name : Windows-x86_64
5052 os : windows-latest
5153 target : x86_64-pc-windows-msvc
5254 bin : rnk.exe
5355 name : rnk-x86_64-pc-windows-msvc-${{ needs.compute.outputs.RNK_RELEASE_VERSION}}.zip
5456 cargo_command : cargo
57+ features : " "
5558
5659 - os_name : macOS-x86_64
5760 os : macOS-latest
5861 target : x86_64-apple-darwin
5962 bin : rnk
6063 name : rnk-x86_64-apple-darwin-${{ needs.compute.outputs.RNK_RELEASE_VERSION}}.tar.gz
6164 cargo_command : cargo
65+ features : " "
6266
6367 - os_name : macOS-aarch64
6468 os : macOS-latest
6569 target : aarch64-apple-darwin
6670 bin : rnk
6771 name : rnk-aarch64-apple-darwin-${{ needs.compute.outputs.RNK_RELEASE_VERSION}}.tar.gz
6872 cargo_command : cargo
73+ features : " "
6974
7075 runs-on : ${{ matrix.platform.os }}
7176 steps :
@@ -97,15 +102,15 @@ jobs:
97102 - name : Build binary (*nix)
98103 shell : bash
99104 run : |
100- ${{ matrix.platform.cargo_command }} build --locked --release --target ${{ matrix.platform.target }}
105+ ${{ matrix.platform.cargo_command }} build --locked --release ${{ matrix.platform.features }} --target ${{ matrix.platform.target }}
101106 if : ${{ !contains(matrix.platform.os, 'windows') }}
102107 - name : Build binary (Windows)
103108 # We have to use the platform's native shell. If we use bash on
104109 # Windows then OpenSSL complains that the Perl it finds doesn't use
105110 # the platform's native paths and refuses to build.
106111 shell : powershell
107112 run : |
108- & ${{ matrix.platform.cargo_command }} build --locked --release --target ${{ matrix.platform.target }}
113+ & ${{ matrix.platform.cargo_command }} build --locked --release ${{ matrix.platform.features }} --target ${{ matrix.platform.target }}
109114 if : contains(matrix.platform.os, 'windows')
110115 - name : Package as archive
111116 shell : bash
0 commit comments