Files
craft-libs/crates/plate-test/Cargo.toml
Dylan M. Taylor b96da36713 plate-test: separate plates in a private random temporary directory
The Ghostscript work directory had a predictable name under the shared
temporary directory, and a failed removal of an existing one was ignored.
Another local user could create it first with an in.pdf symlink, and
writing the input would follow it. The directory is now created with
tempfile (random name, owner-only permissions, fails if it exists), and
in.pdf is created with create_new.
2026-11-02 20:39:35 -05:00

22 lines
583 B
TOML

[package]
name = "craft-plate-test"
description = "Print-color test scenes for Craft apps: reference PDFs and PDF structure checks"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
publish = false
[lints]
workspace = true
[dependencies]
craft-cms = { workspace = true }
craft-pdf = { workspace = true, features = ["write-pdf", "write-simple-text"] }
hayro-syntax = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
tempfile = "3"
thiserror = { workspace = true }