mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-25 10:39:01 -06:00
ROADMAP.md: kept both progress lines. crates/optimize/README.md: PR's decoder sentence plus the target-version section from main. Cargo.lock: auto-merged.
27 lines
863 B
TOML
27 lines
863 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
|
|
# JPEG decoding (zune-jpeg) and encoding, and bicubic resampling; already in the tree.
|
|
image = { version = "0.25", default-features = false, features = ["jpeg"] }
|
|
# The same JPEG decoder, used directly to read samples untransformed (/ColorTransform 0).
|
|
zune-jpeg = "0.5"
|
|
|
|
[dev-dependencies]
|
|
pdfcraft-render = { workspace = true }
|