mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-08 11:41:35 +00:00
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
58 lines
2.1 KiB
TOML
58 lines
2.1 KiB
TOML
[package]
|
|
name = "wordcraft-engine"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "WordCraft engine: session, selection, undo, the command registry (every action is a command), Word's command catalog, file I/O dispatch"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
# Front-end producer tests need to simulate a globally exhausted IME revision allocator. It only
|
|
# ever makes receipt classification fail closed. Never enable this for a production build; the
|
|
# UI's dev-dependencies enable it for its tests.
|
|
test-support = []
|
|
|
|
[dependencies]
|
|
wordcraft-geom = { workspace = true, features = ["image"] }
|
|
wordcraft-doc = { workspace = true }
|
|
wordcraft-fonts = { workspace = true }
|
|
wordcraft-layout = { workspace = true }
|
|
wordcraft-render = { workspace = true }
|
|
wordcraft-proof = { workspace = true }
|
|
wordcraft-docx = { workspace = true }
|
|
wordcraft-docbin = { workspace = true }
|
|
wordcraft-pdf = { workspace = true }
|
|
wordcraft-formats = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
log = { workspace = true }
|
|
chrono = { workspace = true }
|
|
regex = { workspace = true }
|
|
regex-automata = { workspace = true }
|
|
image = { workspace = true }
|
|
zeroize = { workspace = true }
|
|
|
|
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies]
|
|
# The browser clock for `now_iso` (`SystemTime::now()` panics on wasm32-unknown-unknown).
|
|
js-sys = "0.3"
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
getrandom = { workspace = true }
|
|
# Language packs (CP4.3): downloaded, verified and unpacked by the suite's font store.
|
|
craft-font-store = { workspace = true }
|
|
craft-font-catalog = { workspace = true }
|
|
# The local time zone's offset for Insert ▸ Date & Time and date fields (#1707); the web asks the browser's Date.
|
|
chrono = { workspace = true, features = ["clock"] }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
# O_NONBLOCK, so a path swapped for a named pipe can't block `open` (#3666).
|
|
libc = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
encoding_rs = { workspace = true }
|
|
zip = { workspace = true }
|
|
cfb = { workspace = true }
|