utopia-compression 0.1.0

Compression algorithms (Brotli, Deflate, GZIP, LZ4, Snappy, XZ, Zstd) and Accept-Encoding negotiation, byte for byte as PHP's extensions.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.97"
name = "utopia-compression"
version = "0.1.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Compression algorithms (Brotli, Deflate, GZIP, LZ4, Snappy, XZ, Zstd) and Accept-Encoding negotiation, byte for byte as PHP's extensions."
readme = "README.md"
license = "BSD-3-Clause"
repository = "https://github.com/appwrite/appwrite"

[package.metadata.utopia]
category = "utilities"
php-sync = "8053de67394b55f7237191aa4569a16f666da749"

[features]
brotli = ["dep:brotlic-sys"]
default = [
    "brotli",
    "lz4",
    "zlib",
    "zstd",
]
lz4 = ["dep:lz4-sys"]
xz = ["dep:lzma-rust2"]
zlib = ["dep:libz-sys"]
zstd = ["dep:zstd-safe"]

[lib]
name = "utopia_compression"
path = "src/lib.rs"

[dependencies.brotlic-sys]
version = "0.2.5"
optional = true

[dependencies.libz-sys]
version = "1"
features = ["libc"]
optional = true
default-features = false

[dependencies.lz4-sys]
version = "1.11.1"
optional = true

[dependencies.lzma-rust2]
version = "0.22"
features = [
    "std",
    "encoder",
    "xz",
]
optional = true
default-features = false

[dependencies.php-std]
version = "0.1.0"
package = "utopia-php-std"

[dependencies.thiserror]
version = "2"

[dependencies.zstd-safe]
version = "8"
features = [
    "std",
    "legacy",
    "experimental",
]
optional = true
default-features = false