Files
pdfcraft/Cargo.toml
T
Brandon ThomasandClaude Opus 5.5 d3db99818f Rename PrintCraft to PdfCraft (#174)
The app, crates, binaries, bundle id, packaging, icons, screenshots and docs are now
PdfCraft / pdfcraft (repo storytold/pdfcraft). On first launch the desktop app moves the
PrintCraft settings and crash-recovery folders to the new name, and both apps read settings
saved under the old storage key, so upgrades keep recent files, preferences and unsaved work.
The signing test fixtures keep their PrintCraft subject names (they are binary).

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 16:03:57 -04:00

92 lines
3.1 KiB
TOML

[workspace]
resolver = "3"
members = ["crates/*", "apps/*", "xtask"]
exclude = ["vendor"]
default-members = ["crates/*", "apps/pdfcraft", "apps/pdfcraft-cli", "xtask"]
[workspace.package]
version = "0.2.1"
edition = "2024"
license = "MIT OR Apache-2.0"
rust-version = "1.90"
repository = "https://github.com/storytold/pdfcraft"
[workspace.dependencies]
# internal
pdfcraft-geom = { path = "crates/geom", version = "0.2.0" }
pdfcraft-filters = { path = "crates/filters", version = "0.2.0" }
pdfcraft-cos = { path = "crates/cos", version = "0.2.0" }
pdfcraft-crypt = { path = "crates/crypt", version = "0.2.0" }
pdfcraft-organize = { path = "crates/organize", version = "0.2.0" }
pdfcraft-annot = { path = "crates/annot", version = "0.2.0" }
pdfcraft-fonts = { path = "crates/fonts", version = "0.2.0" }
pdfcraft-model = { path = "crates/model", version = "0.2.0" }
pdfcraft-content = { path = "crates/content", version = "0.2.0" }
pdfcraft-redact = { path = "crates/redact", version = "0.2.0" }
pdfcraft-print = { path = "crates/print", version = "0.2.0" }
pdfcraft-xfdf = { path = "crates/xfdf", version = "0.2.0" }
pdfcraft-sign = { path = "crates/sign", version = "0.2.0" }
pdfcraft-optimize = { path = "crates/optimize", version = "0.2.0" }
pdfcraft-a11y = { path = "crates/a11y", version = "0.2.0" }
pdfcraft-ocr = { path = "crates/ocr", version = "0.2.0" }
pdfcraft-js = { path = "crates/js", version = "0.2.0" }
pdfcraft-compare = { path = "crates/compare", version = "0.2.0" }
pdfcraft-preflight = { path = "crates/preflight", version = "0.2.0" }
pdfcraft-export = { path = "crates/export", version = "0.2.0" }
pdfcraft-edit = { path = "crates/edit", version = "0.2.0" }
pdfcraft-create = { path = "crates/create", version = "0.2.0" }
pdfcraft-forms = { path = "crates/forms", version = "0.2.0" }
pdfcraft-render = { path = "crates/render", version = "0.2.0" }
pdfcraft-engine = { path = "crates/engine", version = "0.2.0" }
pdfcraft-ui-egui = { path = "crates/ui-egui", version = "0.2.0" }
pdfcraft-automation = { path = "crates/automation", version = "0.2.0", default-features = false }
# pdf
hayro = "0.7.1"
hayro-syntax = "0.7.2"
lopdf = "0.45"
flate2 = { version = "1.1", default-features = false, features = ["rust_backend"] }
weezl = "0.2"
# foundation
thiserror = "2"
serde = { version = "1", features = ["derive", "rc"] }
serde_json = "1"
log = "0.4"
kurbo = "0.13"
# testing
proptest = "1"
# ui
egui = "0.36"
egui_extras = { version = "0.36", default-features = false, features = ["svg"] }
eframe = { version = "0.36", default-features = false }
egui_kittest = "0.36"
rfd = "0.17"
[workspace.lints.rust]
unsafe_code = "forbid"
[workspace.lints.clippy]
dbg_macro = "warn"
todo = "warn"
[profile.dev.package."*"]
opt-level = 2
[profile.dev]
opt-level = 1
[profile.release]
lto = "thin"
codegen-units = 1
# Vendored, patched third-party crates (see vendor/README.md). Each patch is meant to go upstream.
[patch.crates-io]
hayro-interpret = { path = "vendor/hayro-interpret" }
hayro = { path = "vendor/hayro" }
hayro-syntax = { path = "vendor/hayro-syntax" }
hayro-jbig2 = { path = "vendor/hayro-jbig2" }
lopdf = { path = "vendor/lopdf" }