# 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.74.0" name = "oxipng" version = "9.1.2" authors = ["Joshua Holmer "] exclude = [ ".editorconfig", ".gitattributes", ".github/*", ".gitignore", ".pre-commit-hooks.yaml", "Dockerfile", "scripts/*", "tests/*", ] description = "A lossless PNG compression optimizer" homepage = "https://github.com/shssoichiro/oxipng" documentation = "https://docs.rs/oxipng" readme = "README.md" categories = [ "command-line-utilities", "compression", ] license = "MIT" repository = "https://github.com/shssoichiro/oxipng" [package.metadata.deb] assets = [ [ "target/release/oxipng", "usr/bin/", "755", ], [ "target/release/assets/oxipng.1", "usr/share/man/man1/", "644", ], [ "README.md", "usr/share/doc/oxipng/", "644", ], [ "CHANGELOG.md", "usr/share/doc/oxipng/", "644", ], ] [profile.dev] opt-level = 2 [profile.release] lto = "fat" panic = "abort" strip = "symbols" [lib] name = "oxipng" path = "src/lib.rs" [[bin]] name = "oxipng" path = "src/main.rs" doc = false required-features = ["binary"] [[bench]] name = "zopfli" required-features = ["zopfli"] [dependencies.bitvec] version = "1.0.1" [dependencies.clap] version = "4.5.4" features = ["wrap_help"] optional = true [dependencies.crossbeam-channel] version = "0.5.12" optional = true [dependencies.env_logger] version = "0.11.3" features = ["auto-color"] optional = true default-features = false [dependencies.filetime] version = "0.2.23" optional = true [dependencies.image] version = "0.25.1" features = ["png"] optional = true default-features = false [dependencies.indexmap] version = "2.2.6" [dependencies.libdeflater] version = "1.20.0" [dependencies.log] version = "0.4.21" [dependencies.rayon] version = "1.10.0" optional = true [dependencies.rgb] version = "0.8.43" [dependencies.rustc-hash] version = "1.1.0" [dependencies.zopfli] version = "0.8.0" features = [ "std", "zlib", ] optional = true default-features = false [build-dependencies.clap] version = "4.5.4" [build-dependencies.clap_mangen] version = "0.2.20" [build-dependencies.rustc_version] version = "0.4.0" [features] binary = [ "dep:clap", "dep:glob", "dep:env_logger", ] default = [ "binary", "parallel", "zopfli", "filetime", ] filetime = ["dep:filetime"] freestanding = ["libdeflater/freestanding"] parallel = [ "dep:rayon", "indexmap/rayon", "dep:crossbeam-channel", ] sanity-checks = ["dep:image"] zopfli = ["dep:zopfli"] [target."cfg(windows)".dependencies.glob] version = "0.3.1" optional = true [badges.maintenance] status = "actively-developed" [badges.travis-ci] branch = "master" repository = "shssoichiro/oxipng"