mirror of
https://github.com/storytold/deckcraft.git
synced 2026-10-24 02:27:08 -06:00
* PDF: pin craft-pdf and krilla to craft-libs main (PNG decode bound) * PDF: pin craft-pdf and krilla to craft-libs at 9f75d3dc (#254)
33 lines
1.2 KiB
TOML
33 lines
1.2 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", default-features = false, features = ["rayon"] }
|