mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-14 22:35:26 +00:00
The timer test now holds the recovery writer at the start of its write through a handshake (`recovery::testing`, behind the engine's `testing` feature), checks that frames and edits go on while the write is held, and fails when the write runs on the interface thread. The engine tests wait for the writer to go idle instead of polling with sleeps. `file.recovery.save` rejects a `background` that is not true or false.
59 lines
1.8 KiB
TOML
59 lines
1.8 KiB
TOML
[package]
|
|
name = "designcraft-engine"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "DesignCraft engine: session, documents, history, selection, command registry, tool hosting"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
# Recovery-writer handshakes for other crates' tests (`designcraft_engine::recovery::testing`).
|
|
testing = []
|
|
|
|
[dependencies]
|
|
craft-print = { workspace = true }
|
|
craft-docpath = { workspace = true }
|
|
designcraft-images = { workspace = true }
|
|
designcraft-geom = { workspace = true }
|
|
designcraft-color = { workspace = true }
|
|
designcraft-doc = { workspace = true }
|
|
designcraft-fonts = { workspace = true }
|
|
designcraft-compose = { workspace = true }
|
|
designcraft-render = { workspace = true }
|
|
designcraft-format = { workspace = true }
|
|
designcraft-epub = { workspace = true }
|
|
designcraft-pptx = { workspace = true }
|
|
designcraft-textimport = { workspace = true }
|
|
designcraft-pdf = { workspace = true }
|
|
craft-prepress = { workspace = true }
|
|
designcraft-tools = { workspace = true }
|
|
designcraft-idml = { workspace = true }
|
|
indd = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
log = { workspace = true }
|
|
quick-xml = { workspace = true }
|
|
caseless = { workspace = true }
|
|
unicode-segmentation = { workspace = true }
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
craft-atomic = { workspace = true }
|
|
tempfile = { workspace = true }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
same-file = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
designcraft-fonts = { workspace = true, features = ["testing"] }
|
|
zip = { workspace = true }
|
|
hayro-syntax = "0.7.2"
|
|
hayro-interpret = { version = "0.7.0", default-features = false, features = ["embed-fonts"] }
|
|
hayro-cmap = "0.1"
|
|
kurbo = { workspace = true }
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
|
wasm-bindgen-test = "0.3"
|