Files
pdfcraft/crates/optimize/Cargo.toml
T
Dylan M. Taylor eead454105 Cut over remaining codecs, xfa XML, and export packaging to craft-libs (#7326)
* chore: cut over image, png, tiff, and zune-jpeg to craft-image-codecs

* chore: cut over xfa XML parsing from roxmltree to craft-xml

* chore: cut over export DOCX and PPTX packaging to craft-opc and craft-xml

* style: cargo fmt
2026-11-14 13:49:46 -05:00

33 lines
978 B
TOML

[package]
name = "pdfcraft-optimize"
description = "The PDF Optimizer: image downsampling and recompression, discarding objects, clean-up"
version.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
repository.workspace = true
[lints]
workspace = true
[dependencies]
pdfcraft-cos = { workspace = true }
pdfcraft-filters = { workspace = true }
pdfcraft-content = { workspace = true }
pdfcraft-model = { workspace = true }
pdfcraft-annot = { workspace = true }
thiserror.workspace = true
# Bicubic resampling; zero codec features.
image = { version = "0.25", default-features = false }
# JPEG decoding and encoding via craft-libs.
craft-jpeg = { workspace = true }
craft-image-codecs = { workspace = true }
# Lets other programs go first while a copy is being made.
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
thread-priority = "3.1"
[dev-dependencies]
pdfcraft-render = { workspace = true }
proptest.workspace = true