mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-09 12:11:37 +00:00
Keep upstream's split of layout_para and install the pinned fonts at its start. Refit the main tests added since (#4250 widow and footnote length, #4720 chart fallback font) to the pinned test fonts. Merge the two wordcraft-layout dev-dependency tables. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
33 lines
1.1 KiB
TOML
33 lines
1.1 KiB
TOML
[package]
|
|
name = "wordcraft-layout"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "WordCraft layout: shaping, line breaking, tabs, lists, tables, pagination, headers/footers, hit testing"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
wordcraft-geom = { workspace = true, features = ["image"] }
|
|
wordcraft-doc = { workspace = true }
|
|
wordcraft-fonts = { workspace = true }
|
|
wordcraft-proof = { workspace = true }
|
|
wordcraft-metafile = { workspace = true }
|
|
kurbo = { workspace = true }
|
|
unicode-bidi = { workspace = true }
|
|
unicode-linebreak = { workspace = true }
|
|
unicode-segmentation = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
image = { workspace = true }
|
|
log = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
wordcraft-doc = { workspace = true, features = ["test-support"] }
|
|
wordcraft-fonts = { workspace = true, features = ["test-support"] }
|
|
|
|
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies]
|
|
# The browser clock (`SystemTime::now()`/`Instant::now()` panic on wasm32-unknown-unknown).
|
|
js-sys = "0.3"
|