mirror of
https://github.com/storytold/deckcraft.git
synced 2026-10-25 11:07:01 -06:00
Preserve notes and handout master export, visible text and native parallel compression while propagating shared font errors through each export path. Keep the dependency check accurate for native and WASM feature resolution. PR #708.
33 lines
1.1 KiB
TOML
33 lines
1.1 KiB
TOML
[package]
|
|
name = "deckcraft-pdf"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "DeckCraft PDF export (craft-pdf/Krilla): slides, notes pages and handouts with a selectable text layer, links and bookmarks"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
deckcraft-model = { workspace = true }
|
|
deckcraft-fonts = { workspace = true }
|
|
deckcraft-text = { workspace = true }
|
|
deckcraft-render = { workspace = true }
|
|
craft-pdf = { workspace = true }
|
|
kurbo = { workspace = true }
|
|
serde = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
log = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
hayro-syntax = { version = "=0.7.2", default-features = false, features = ["std"] }
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
|
wasm-bindgen-test = "0.3"
|
|
|
|
# Off the web build, krilla compresses each slide's artwork on a background thread while the next
|
|
# slide renders (the same bytes, in parallel). The root patch selects the same pinned
|
|
# backend as craft-pdf; this dependency only enables its native compression feature.
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
krilla = { version = "=0.8.2", features = ["rayon"] }
|