mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-15 15:55:33 +00:00
* 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
33 lines
978 B
TOML
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
|