Dependencies
utopia_compression depends on, read from its Cargo.toml with versions from the workspace's Cargo.lock, and what depends on it across the Utopia ecosystem.Used by#
1 Rust crate depends on utopia_compression.
Utopia crates#
Other libraries of this repository it builds on.
PHP engine semantics (the value model, juggling and comparison, string, number, JSON, serialize, igbinary, sorting, filter and URL functions) for crates that must behave exactly like PHP.
Third-party crates#
Crates from crates.io, each with the version it asks for and the features it turns on.
9locked at 9.0.0optional · brotlino default featuresstdBrotli (utopia-compression; utopia-http through it); Dropbox's pure-Rust port of Google's C library. Its encoder is not byte for byte C brotli 1.2.0 (PHP's ext-brotli) at qualities 2-11, nor is any maintained binding's bundled C (brotlic-sys: a 2023 snapshot); 9 brings the decoder's metablock length checks.
1locked at 1.1.29optional · zlibno default featuresstaticlibczlib 1.3.2, the version PHP's ext-zlib links, built from the bundled sources (utopia-compression's Deflate and GZIP). C: gzdeflate()/gzencode() output is zlib's deflate at memLevel 9, which no Rust encoder reproduces byte for byte (miniz_oxide and zlib-rs choose other matches) and flate2 cannot configure (it hardcodes memLevel 8).
1locked at 1.28.1optional · lz4LZ4 1.10.0, the version PHP's ext-lz4 links (utopia-compression's LZ4). C: lz4_compress() levels 1-12 are LZ4_compress_HC, which no Rust crate implements, and lz4_flex's fast mode picks other matches than LZ4's.
0.22locked at 0.22.0optional · xzno default featuresstdencoderxzXZ (LZMA2 in an .xz container with CRC64) for utopia-compression's optional XZ algorithm; pure Rust, maintained.
2locked at 2.0.210.13locked at 0.13.3optional · zstdno default featureslegacyLegacy frames (zstd v0.5 to v0.7) are recognised, as by the libzstd PHP links.