mirror of
https://github.com/storytold/wordcraft.git
synced 2026-10-25 10:57:14 -06:00
31 lines
908 B
TOML
31 lines
908 B
TOML
[package]
|
|
name = "wordcraft-pdf"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "WordCraft PDF export (craft-pdf / Krilla): embedded font subsets with selectable text, links, outline, tagging"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
wordcraft-doc = { workspace = true }
|
|
wordcraft-geom = { workspace = true }
|
|
wordcraft-fonts = { workspace = true }
|
|
wordcraft-layout = { workspace = true }
|
|
wordcraft-metafile = { workspace = true }
|
|
craft-pdf = { workspace = true }
|
|
kurbo = { workspace = true }
|
|
image = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
log = { workspace = true }
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
# The browser clock (`SystemTime::now()` panics on wasm32).
|
|
js-sys = "0.3"
|
|
|
|
[dev-dependencies]
|
|
hayro-syntax = "0.7.2"
|
|
hayro-interpret = { version = "0.7.0", default-features = false, features = ["embed-fonts"] }
|
|
hayro-cmap = "0.1"
|