mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-26 08:00:02 +00:00
eeeeb13f0e
The merges from main dropped three parts of 86f6199b:
- `winsafe` from crates/engine/Cargo.toml (Cargo.lock still listed it, so every
`--locked` CI step failed). It now sits in the engine's existing `cfg(windows)`
dependency table next to `same-file`.
- the `require_windows_pdf()` call. Main moved `craft_print::submit` into
`spool_job`, so the check now runs there, right before the Windows spooler
route; that is the only call that reaches winprint's `WinPdfPrinter`
(Windows.Data.Pdf.dll). The native RGB route, IPP, the app spooler and
Save as PDF don't need the DLL and are unchanged.
- the Windows load test and the no-op test for other platforms.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
66 lines
2.4 KiB
TOML
66 lines
2.4 KiB
TOML
[package]
|
|
name = "photocraft-engine"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
# Real-file corpus tests (opt-in; `cargo xtask test-corpus`). Fail when the corpus is missing.
|
|
corpus = []
|
|
|
|
[dependencies]
|
|
photocraft-geom = { workspace = true }
|
|
photocraft-color = { workspace = true }
|
|
photocraft-cms = { workspace = true }
|
|
photocraft-raster = { workspace = true }
|
|
photocraft-doc = { workspace = true }
|
|
photocraft-ops = { workspace = true }
|
|
photocraft-compose = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
rayon = { workspace = true }
|
|
photocraft-paint = { workspace = true }
|
|
photocraft-algo = { workspace = true }
|
|
photocraft-text = { workspace = true }
|
|
photocraft-vector = { workspace = true }
|
|
photocraft-io = { workspace = true }
|
|
photocraft-psd = { workspace = true }
|
|
photocraft-format = { workspace = true }
|
|
photocraft-plugins = { workspace = true }
|
|
blake3 = { version = "1.8", default-features = false, features = ["pure"] }
|
|
photocraft-codecs = { workspace = true }
|
|
flate2 = { workspace = true }
|
|
craft-print = { workspace = true }
|
|
|
|
# Photoshop `.kys` shortcut sets (`edit.keyboardShortcuts` `importKys`); already in the tree
|
|
# through photocraft-ui-egui and usvg.
|
|
roxmltree = "0.20"
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
tempfile = "3"
|
|
|
|
# `file_cmds::same_file` on Windows: the volume serial number and file index, so a hard link to a
|
|
# file is that file (std's `MetadataExt::file_index` is unstable).
|
|
[target.'cfg(windows)'.dependencies]
|
|
same-file = "1"
|
|
# `file.print` loads Windows.Data.Pdf.dll before calling into it (#5884): the safe binding
|
|
# ui-egui and craft-print already use, pinned to the same version.
|
|
winsafe = { version = "=0.0.29", default-features = false, features = ["kernel"] }
|
|
|
|
# Printing on Unix: an IPP client for CUPS (pure Rust); the web build cannot print.
|
|
[target.'cfg(all(not(target_arch = "wasm32"), not(target_os = "windows")))'.dependencies]
|
|
photocraft-ipp = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
photocraft-affinity = { workspace = true, features = ["synth"] }
|
|
# Synthetic camera raw files for the open tests.
|
|
photocraft-raw = { workspace = true, features = ["testgen"] }
|
|
# WebAssembly text -> binary for plug-in test modules (Apache-2.0 WITH LLVM-exception).
|
|
wat = "1.228"
|
|
# Synthetic multi-part EXR fixtures for the parts-commands tests.
|
|
exr = { version = "1.73", default-features = false }
|