mirror of
https://github.com/storytold/deckcraft.git
synced 2026-10-26 03:27:03 -06:00
krilla compressed each slide's print-resolution artwork on the export thread; with its rayon feature (desktop only) the deflate runs in the background while the next slide renders. The rendered pixels are also moved into the image instead of copied.
26 lines
839 B
TOML
26 lines
839 B
TOML
[package]
|
|
name = "deckcraft-pdf"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "DeckCraft PDF export (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 }
|
|
krilla = { workspace = true }
|
|
kurbo = { workspace = true }
|
|
serde = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
log = { workspace = true }
|
|
|
|
# Off the web build, krilla compresses each slide's artwork on a background thread while the next
|
|
# slide renders (the same bytes, in parallel).
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
krilla = { workspace = true, features = ["rayon"] }
|