zenzop 0.3.0

A faster fork of the Zopfli DEFLATE compressor with optional ECT-derived optimizations.
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.85.0"
name = "zenzop"
version = "0.3.0"
build = false
exclude = [
    ".github/*",
    ".gitignore",
    "Makefile",
    "benchmark-builds/*",
    "rustfmt.toml",
    "test/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A faster fork of the Zopfli DEFLATE compressor with optional ECT-derived optimizations."
readme = "README.md"
keywords = [
    "compression",
    "deflate",
    "zopfli",
]
categories = [
    "compression",
    "no-std",
]
license = "Apache-2.0"
repository = "https://github.com/imazen/zenzop"

[package.metadata.docs.rs]
cargo-args = ["--all-features"]

[features]
default = [
    "gzip",
    "std",
    "zlib",
]
gzip = ["dep:zenflate"]
nightly = []
parallel = [
    "dep:rayon",
    "std",
]
std = [
    "dep:log",
    "zenflate?/std",
]
zlib = ["dep:zenflate"]

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

[[bin]]
name = "zenzop"
path = "src/main.rs"
required-features = [
    "gzip",
    "std",
    "zlib",
]

[[bench]]
name = "compress"
path = "benches/compress.rs"
harness = false

[dependencies.enough]
version = "0.4"
default-features = false

[dependencies.log]
version = "0.4.28"
optional = true

[dependencies.rayon]
version = "1.10"
optional = true

[dependencies.zenflate]
version = "0.2.1"
optional = true
default-features = false

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.miniz_oxide]
version = "0.8.9"

[dev-dependencies.proptest]
version = "1.7.0"

[dev-dependencies.proptest-derive]
version = "0.7.0"

[dev-dependencies.zopfli]
version = "0.8"

[profile.bench]
debug = 2

[profile.release]
debug = 2