Skip to content

Commit 9fd17f7

Browse files
committed
Do not use cloudflare-zlib-sys 0.3.4
1 parent c63acc8 commit 9fd17f7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/main.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ jobs:
4545
- run: cargo test --features zlib-rs --no-default-features
4646
if: matrix.build != 'mingw'
4747
- run: cargo test --features cloudflare_zlib --no-default-features
48-
# cloudflare doesn't seem to work on CI anymore for some reason, it's not reproducible locally.
49-
if: matrix.build != 'mingw' && matrix.os != 'ubuntu-latest' && matrix.os != 'windows-2022'
48+
if: matrix.build != 'mingw'
5049
- run: |
5150
if ! cargo check --no-default-features 2>&1 | grep "You need to choose"; then
5251
echo "expected message stating a zlib backend must be chosen"

Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ libz-sys = { version = "1.1.20", optional = true, default-features = false }
2323
libz-ng-sys = { version = "1.1.16", optional = true }
2424
# this matches the default features, but we don't want to depend on the default features staying the same
2525
libz-rs-sys = { version = "0.4.0", optional = true, default-features = false, features = ["std", "rust-allocator"] }
26-
cloudflare-zlib-sys = { version = "0.3.0", optional = true }
26+
# cloudflare-zlib-sys 0.3.4 does not work in CI
27+
cloudflare-zlib-sys = { version = ">= 0.3.0, < 0.3.4", optional = true }
2728
miniz_oxide = { version = "0.8.0", optional = true, default-features = false, features = ["with-alloc"] }
2829
crc32fast = "1.2.0"
2930

0 commit comments

Comments
 (0)