mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-12 08:52:32 +00:00
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.
22 lines
583 B
TOML
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 }
|