| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.73.0" |
| 15 |
name = "zopfli" |
| 16 |
version = "0.8.3" |
| 17 |
build = false |
| 18 |
exclude = [ |
| 19 |
".github/*", |
| 20 |
".gitignore", |
| 21 |
"Makefile", |
| 22 |
"benchmark-builds/*", |
| 23 |
"rustfmt.toml", |
| 24 |
"test/*", |
| 25 |
] |
| 26 |
autolib = false |
| 27 |
autobins = false |
| 28 |
autoexamples = false |
| 29 |
autotests = false |
| 30 |
autobenches = false |
| 31 |
description = "A Rust implementation of the Zopfli compression algorithm." |
| 32 |
homepage = "https://github.com/zopfli-rs/zopfli" |
| 33 |
readme = "README.md" |
| 34 |
keywords = ["compression"] |
| 35 |
categories = [ |
| 36 |
"compression", |
| 37 |
"no-std", |
| 38 |
] |
| 39 |
license = "Apache-2.0" |
| 40 |
repository = "https://github.com/zopfli-rs/zopfli" |
| 41 |
|
| 42 |
[package.metadata.docs.rs] |
| 43 |
cargo-args = ["--all-features"] |
| 44 |
|
| 45 |
[features] |
| 46 |
default = [ |
| 47 |
"gzip", |
| 48 |
"std", |
| 49 |
"zlib", |
| 50 |
] |
| 51 |
gzip = ["dep:crc32fast"] |
| 52 |
nightly = ["crc32fast?/nightly"] |
| 53 |
std = [ |
| 54 |
"crc32fast?/std", |
| 55 |
"dep:log", |
| 56 |
"simd-adler32?/std", |
| 57 |
] |
| 58 |
zlib = ["dep:simd-adler32"] |
| 59 |
|
| 60 |
[lib] |
| 61 |
name = "zopfli" |
| 62 |
path = "src/lib.rs" |
| 63 |
|
| 64 |
[[bin]] |
| 65 |
name = "zopfli" |
| 66 |
path = "src/main.rs" |
| 67 |
required-features = [ |
| 68 |
"gzip", |
| 69 |
"std", |
| 70 |
"zlib", |
| 71 |
] |
| 72 |
|
| 73 |
[dependencies.bumpalo] |
| 74 |
version = "3.19.0" |
| 75 |
|
| 76 |
[dependencies.crc32fast] |
| 77 |
version = "1.5.0" |
| 78 |
optional = true |
| 79 |
default-features = false |
| 80 |
|
| 81 |
[dependencies.log] |
| 82 |
version = "0.4.28" |
| 83 |
optional = true |
| 84 |
|
| 85 |
[dependencies.simd-adler32] |
| 86 |
version = "0.3.7" |
| 87 |
optional = true |
| 88 |
default-features = false |
| 89 |
|
| 90 |
[dev-dependencies.miniz_oxide] |
| 91 |
version = "0.8.9" |
| 92 |
|
| 93 |
[dev-dependencies.proptest] |
| 94 |
version = "1.7.0" |
| 95 |
|
| 96 |
[dev-dependencies.proptest-derive] |
| 97 |
version = "0.6.0" |
| 98 |
|
| 99 |
[profile.release] |
| 100 |
debug = 2 |