# 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 = "2021" rust-version = "1.73.0" name = "zopfli" version = "0.8.1" build = false exclude = [ ".github/*", ".gitignore", "Makefile", "benchmark-builds/*", "rustfmt.toml", "test/*", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A Rust implementation of the Zopfli compression algorithm." homepage = "https://github.com/zopfli-rs/zopfli" readme = "README.md" keywords = ["compression"] categories = [ "compression", "no-std", ] license = "Apache-2.0" repository = "https://github.com/zopfli-rs/zopfli" [package.metadata.docs.rs] cargo-args = ["--all-features"] [profile.release] debug = 2 [lib] name = "zopfli" path = "src/lib.rs" [[bin]] name = "zopfli" path = "src/main.rs" required-features = [ "std", "gzip", "zlib", ] [dependencies.bumpalo] version = "3.16.0" [dependencies.crc32fast] version = "1.4.0" optional = true default-features = false [dependencies.lockfree-object-pool] version = "0.1.5" optional = true [dependencies.log] version = "0.4.21" optional = true [dependencies.once_cell] version = "1.19.0" optional = true [dependencies.simd-adler32] version = "0.3.7" optional = true default-features = false [dev-dependencies.miniz_oxide] version = "0.7.3" [dev-dependencies.proptest] version = "1.4.0" [dev-dependencies.proptest-derive] version = "0.4.0" [features] default = [ "std", "gzip", "zlib", ] gzip = ["dep:crc32fast"] nightly = ["crc32fast?/nightly"] std = [ "dep:log", "dep:lockfree-object-pool", "dep:once_cell", "crc32fast?/std", "simd-adler32?/std", ] zlib = ["dep:simd-adler32"]