Skip to content

Commit

Permalink
Support cloudfire optimized version of zlib as a backend
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurprs committed Feb 8, 2020
1 parent d4d8ab5 commit ea91453
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
- run: cargo test --features miniz-sys
- run: cargo test --features zlib --no-default-features
- run: cargo test --features cloudflare_zlib --no-default-features
if: matrix.build != 'mingw'
- run: cargo test --features miniz-sys --no-default-features
- run: cargo test --features tokio

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ flate2 = { version = "1.0", features = ["zlib"], default-features = false }

The cloudflare optimized version of zlib is also available.
While it's significantly faster it requires a x86-64 CPU with SSE 4.2 or ARM64 with NEON & CRC.
It does not support 32-bit CPUs at all. For more information check the [crate documentation](https://crates.io/crates/cloudflare-zlib-sys).
It does not support 32-bit CPUs at all and is incompatible with mingw.
For more information check the [crate documentation](https://crates.io/crates/cloudflare-zlib-sys).

```toml
[dependencies]
Expand Down

0 comments on commit ea91453

Please sign in to comment.