trimdown 0.1.6

Fast file compression tool for Office documents (PPTX, DOCX, XLSX), PDFs, videos, images, OpenDocument formats, and archives with streaming support
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"
name = "trimdown"
version = "0.1.6"
authors = ["Ying Kit WONG"]
build = false
exclude = [
    "examples/output/*",
    ".github/*",
    "*.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast file compression tool for Office documents (PPTX, DOCX, XLSX), PDFs, videos, images, OpenDocument formats, and archives with streaming support"
homepage = "https://github.com/yingkitw/trimdown-rs"
documentation = "https://docs.rs/trimdown"
readme = "README.md"
keywords = [
    "compression",
    "office",
    "pdf",
    "video",
    "optimization",
]
categories = [
    "command-line-utilities",
    "multimedia",
    "compression",
]
license = "Apache-2.0"
repository = "https://github.com/yingkitw/trimdown-rs"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

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

[[bin]]
name = "trimdown"
path = "src/main.rs"

[[example]]
name = "image_compression"
path = "examples/image_compression.rs"

[[example]]
name = "office_compression"
path = "examples/office_compression.rs"

[[example]]
name = "opendocument_compression"
path = "examples/opendocument_compression.rs"

[[example]]
name = "pdf_compression"
path = "examples/pdf_compression.rs"

[[example]]
name = "video_compression"
path = "examples/video_compression.rs"

[[example]]
name = "video_concat"
path = "examples/video_concat.rs"

[[test]]
name = "compression_helpers_test"
path = "tests/compression_helpers_test.rs"

[[test]]
name = "compression_test"
path = "tests/compression_test.rs"

[[test]]
name = "config_test"
path = "tests/config_test.rs"

[[test]]
name = "error_handling_test"
path = "tests/error_handling_test.rs"

[[test]]
name = "examples_test"
path = "tests/examples_test.rs"

[[test]]
name = "extended_formats_test"
path = "tests/extended_formats_test.rs"

[[test]]
name = "fixtures_test"
path = "tests/fixtures_test.rs"

[[test]]
name = "integration_test"
path = "tests/integration_test.rs"

[[test]]
name = "new_examples_test"
path = "tests/new_examples_test.rs"

[[test]]
name = "new_formats_test"
path = "tests/new_formats_test.rs"

[[test]]
name = "quality_validation_test"
path = "tests/quality_validation_test.rs"

[[test]]
name = "utils_test"
path = "tests/utils_test.rs"

[[test]]
name = "video_test"
path = "tests/video_test.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.clap]
version = "4.4"
features = ["derive"]

[dependencies.colored]
version = "3.1"

[dependencies.console]
version = "0.16"

[dependencies.dirs]
version = "6.0"

[dependencies.env_logger]
version = "0.11"

[dependencies.flate2]
version = "1.0"

[dependencies.generic-array]
version = "0.14.9"

[dependencies.gif]
version = "0.14"

[dependencies.image]
version = "0.25"
features = [
    "jpeg",
    "png",
    "gif",
    "webp",
    "avif",
]
default-features = false

[dependencies.indicatif]
version = "0.18"

[dependencies.log]
version = "0.4"

[dependencies.lopdf]
version = "0.39"

[dependencies.num_cpus]
version = "1.16"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.tar]
version = "0.4"

[dependencies.tempfile]
version = "3.8"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.0"
features = [
    "rt-multi-thread",
    "macros",
    "net",
    "fs",
    "io-util",
    "time",
    "sync",
]
default-features = false

[dependencies.walkdir]
version = "2.4"

[dependencies.zip]
version = "8.1"

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
debug = 0
panic = "abort"
strip = true