mirror of
https://github.com/storytold/deckcraft.git
synced 2026-12-01 10:13:09 -06:00
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
244 lines
14 KiB
TOML
244 lines
14 KiB
TOML
[workspace]
|
|
resolver = "3"
|
|
members = ["crates/*", "apps/*", "xtask"]
|
|
default-members = ["crates/*", "apps/deckcraft", "apps/deckcraft-cli"]
|
|
|
|
[workspace.package]
|
|
version = "0.19.0"
|
|
edition = "2024"
|
|
license = "MIT OR Apache-2.0"
|
|
rust-version = "1.95"
|
|
repository = "https://github.com/storytold/deckcraft"
|
|
|
|
[workspace.dependencies]
|
|
# OPC part-name primitives and package reader/writer.
|
|
craft-opc = { git = "https://github.com/storytold/craft-libs", rev = "0b8bbaf4c842da2d47de7b3fddd7170ba6115541", version = "0.1.0" }
|
|
# Compound File Binary directory reads (password-protected deck detection).
|
|
craft-cfb = { git = "https://github.com/storytold/craft-libs", rev = "0b8bbaf4c842da2d47de7b3fddd7170ba6115541", version = "0.1.0" }
|
|
# Bounded XML reader and writer primitives.
|
|
craft-xml = { git = "https://github.com/storytold/craft-libs", rev = "0b8bbaf4c842da2d47de7b3fddd7170ba6115541", version = "0.1.0" }
|
|
# DrawingML colours, themes, charts, tables and text (craft-libs#778, #792).
|
|
craft-drawingml = { git = "https://github.com/storytold/craft-libs", rev = "0b8bbaf4c842da2d47de7b3fddd7170ba6115541", version = "0.1.0" }
|
|
# PresentationML PPTX/POTX/PPSX reader and writer (craft-libs#778).
|
|
craft-pptx = { git = "https://github.com/storytold/craft-libs", rev = "0b8bbaf4c842da2d47de7b3fddd7170ba6115541", version = "0.1.0" }
|
|
# The craft facade: UI framework, platform, settings, window and the suite crates DeckCraft's UI uses.
|
|
craft = { git = "https://github.com/storytold/craft-libs", rev = "0b8bbaf4c842da2d47de7b3fddd7170ba6115541", version = "0.1.0" }
|
|
# Shared MCP stdio framing and protocol constants (craft-libs#778).
|
|
craft-mcp-server = { git = "https://github.com/storytold/craft-libs", rev = "0b8bbaf4c842da2d47de7b3fddd7170ba6115541", version = "0.1.0" }
|
|
# internal
|
|
deckcraft-geom = { path = "crates/geom" }
|
|
deckcraft-color = { path = "crates/color" }
|
|
deckcraft-model = { path = "crates/model" }
|
|
deckcraft-fonts = { path = "crates/fonts" }
|
|
deckcraft-text = { path = "crates/text" }
|
|
deckcraft-render = { path = "crates/render" }
|
|
deckcraft-pdf = { path = "crates/pdf" }
|
|
deckcraft-pptx = { path = "crates/pptx" }
|
|
deckcraft-ppt = { path = "crates/ppt" }
|
|
deckcraft-format = { path = "crates/format" }
|
|
deckcraft-anim = { path = "crates/anim" }
|
|
deckcraft-engine = { path = "crates/engine" }
|
|
deckcraft-mcp = { path = "crates/mcp" }
|
|
deckcraft-ui-egui = { path = "crates/ui-egui" }
|
|
deckcraft-media = { path = "crates/media" }
|
|
|
|
# foundation
|
|
kurbo = { version = "0.13", features = ["serde"] }
|
|
thiserror = "2"
|
|
serde = { version = "1", features = ["derive", "rc"] }
|
|
serde_json = { version = "1", features = ["float_roundtrip"] }
|
|
log = "0.4"
|
|
proptest = "1"
|
|
rayon = "1"
|
|
unicode-bidi = "0.3"
|
|
unicode-segmentation = "1"
|
|
unicode-linebreak = "0.1"
|
|
# Base features are wasm-safe (`std` only). The non-wasm `clock` feature is requested
|
|
# per-crate for targets that read the local clock (see crates/text).
|
|
chrono = { version = "0.4", default-features = false, features = ["std"] }
|
|
|
|
# text / rendering / formats
|
|
skrifa = "0.47"
|
|
harfrust = "0.13"
|
|
vello_cpu = "0.2"
|
|
vello_common = { version = "0.2", default-features = false }
|
|
image = { version = "0.25", default-features = false, features = ["png", "jpeg", "webp", "gif", "tiff", "bmp"] }
|
|
# Base64 for command payloads (engine); base64_compat keeps the legacy lenient decoder. Same rev as craft-deckcraft-format.
|
|
craft-mime = { git = "https://github.com/storytold/craft-libs", rev = "0b8bbaf4c842da2d47de7b3fddd7170ba6115541", version = "=0.1.0" }
|
|
# craft-media, craft-audio and craft-video share types and stay on one rev.
|
|
# The .deckcraft package layer (identity, manifest, member names, bounded reads); crates/format maps the presentation onto it.
|
|
craft-deckcraft-format = { git = "https://github.com/storytold/craft-libs", rev = "0b8bbaf4c842da2d47de7b3fddd7170ba6115541", version = "=0.1.0" }
|
|
craft-rtf = { git = "https://github.com/storytold/craft-libs", rev = "0b8bbaf4c842da2d47de7b3fddd7170ba6115541", version = "=0.1.0" }
|
|
craft-media = { git = "https://github.com/storytold/craft-libs", rev = "0b8bbaf4c842da2d47de7b3fddd7170ba6115541", version = "=0.1.0", default-features = false }
|
|
craft-audio = { git = "https://github.com/storytold/craft-libs", rev = "0b8bbaf4c842da2d47de7b3fddd7170ba6115541", version = "=0.1.0", default-features = false, features = ["opus-decode"] }
|
|
# H.264, HEVC, VP9 and AV1 decoders.
|
|
craft-video = { git = "https://github.com/storytold/craft-libs", rev = "0b8bbaf4c842da2d47de7b3fddd7170ba6115541", version = "=0.1.0", default-features = false, features = ["h264-decode", "hevc-decode", "vp9-decode", "av1-decode", "threads"] }
|
|
# WMF, EMF and EMF+ reader.
|
|
craft-metafile = { git = "https://github.com/storytold/craft-libs", rev = "0b8bbaf4c842da2d47de7b3fddd7170ba6115541", version = "=0.1.0" }
|
|
craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "0b8bbaf4c842da2d47de7b3fddd7170ba6115541", version = "=0.1.0", default-features = false, features = ["write", "write-simple-text"] }
|
|
# craft-update: app-specific pretend versions apply to startup and manual checks.
|
|
craft-update = { git = "https://github.com/storytold/craft-libs", version = "=0.1.0", rev = "0b8bbaf4c842da2d47de7b3fddd7170ba6115541", features = ["ui"] }
|
|
craft-ui = { git = "https://github.com/storytold/craft-libs", rev = "0b8bbaf4c842da2d47de7b3fddd7170ba6115541", version = "=0.1.0" }
|
|
i_overlay = "9"
|
|
quick-xml = "0.41"
|
|
zip = { version = "3", default-features = false, features = ["deflate"] }
|
|
miniz_oxide = { version = "0.9", default-features = false, features = ["with-alloc"] }
|
|
|
|
# ui
|
|
egui = { version = "0.37", default-features = false }
|
|
eframe = { version = "0.37", default-features = false }
|
|
egui_kittest = "0.37"
|
|
web-time = "1.1"
|
|
rfd = "0.17"
|
|
|
|
[workspace.lints.rust]
|
|
unsafe_code = "forbid"
|
|
|
|
[workspace.lints.clippy]
|
|
cognitive_complexity = "deny"
|
|
too_many_arguments = "deny"
|
|
wildcard_imports = "deny"
|
|
dbg_macro = "warn"
|
|
todo = "warn"
|
|
type_complexity = "allow"
|
|
self_named_constructors = "allow"
|
|
large_enum_variant = "allow"
|
|
result_large_err = "allow"
|
|
|
|
# Line tables keep file and line in panics and backtraces; full debug info
|
|
# for every test binary and dependency would multiply the target dir size.
|
|
# The test profile inherits both settings.
|
|
[profile.dev.package."*"]
|
|
opt-level = 2
|
|
debug = false
|
|
|
|
[profile.dev]
|
|
opt-level = 1
|
|
debug = "line-tables-only"
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
lto = "thin"
|
|
codegen-units = 16
|
|
debug = 0
|
|
|
|
[patch.crates-io]
|
|
# BEGIN port-kit framework overrides
|
|
krilla = { path = "../craft-libs/vendor/krilla" }
|
|
hayro = { path = "../craft-libs/vendor/hayro" }
|
|
hayro-interpret = { path = "../craft-libs/vendor/hayro-interpret" }
|
|
hayro-syntax = { path = "../craft-libs/vendor/hayro-syntax" }
|
|
hayro-jbig2 = { path = "../craft-libs/vendor/hayro-jbig2" }
|
|
hayro-cmap = { path = "../craft-libs/vendor/hayro-cmap" }
|
|
hayro-postscript = { path = "../craft-libs/vendor/hayro-postscript" }
|
|
linesweeper = { path = "../craft-libs/vendor/linesweeper" }
|
|
vello_common = { path = "../craft-libs/vendor/vello_common" }
|
|
vello_cpu = { path = "../craft-libs/vendor/vello_cpu" }
|
|
ecolor = { path = "../egui/crates/ecolor" }
|
|
emath = { path = "../egui/crates/emath" }
|
|
epaint = { path = "../egui/crates/epaint" }
|
|
epaint_default_fonts = { path = "../egui/crates/epaint_default_fonts" }
|
|
egui = { path = "../egui/crates/egui" }
|
|
egui-winit = { path = "../egui/crates/egui-winit" }
|
|
egui-wgpu = { path = "../egui/crates/egui-wgpu" }
|
|
egui_glow = { path = "../egui/crates/egui_glow" }
|
|
egui_extras = { path = "../egui/crates/egui_extras" }
|
|
egui_kittest = { path = "../egui/crates/egui_kittest" }
|
|
egui_system_font_provider = { path = "../egui/crates/egui_system_font_provider" }
|
|
eframe = { path = "../egui/crates/eframe" }
|
|
egui_demo_lib = { path = "../egui/crates/egui_demo_lib" }
|
|
egui_inspection = { path = "../egui/crates/egui_inspection" }
|
|
winit = { git = "https://github.com/storytold/winit.git", rev = "a517b3846ee8457d84ee4975110bfda6797c44dc" }
|
|
# END port-kit framework overrides
|
|
# port-kit overridden: krilla = { git = "https://github.com/storytold/craft-libs", rev = "0b8bbaf4c842da2d47de7b3fddd7170ba6115541", version = "=0.8.2" }
|
|
# port-kit overridden: ecolor = { git = "https://github.com/storytold/egui.git", rev = "b9770908e0f304896f9658d239a7b29cf8af1564" }
|
|
# port-kit overridden: emath = { git = "https://github.com/storytold/egui.git", rev = "b9770908e0f304896f9658d239a7b29cf8af1564" }
|
|
# port-kit overridden: epaint = { git = "https://github.com/storytold/egui.git", rev = "b9770908e0f304896f9658d239a7b29cf8af1564" }
|
|
# port-kit overridden: epaint_default_fonts = { git = "https://github.com/storytold/egui.git", rev = "b9770908e0f304896f9658d239a7b29cf8af1564" }
|
|
# port-kit overridden: egui = { git = "https://github.com/storytold/egui.git", rev = "b9770908e0f304896f9658d239a7b29cf8af1564" }
|
|
# port-kit overridden: egui-winit = { git = "https://github.com/storytold/egui.git", rev = "b9770908e0f304896f9658d239a7b29cf8af1564" }
|
|
# port-kit overridden: egui-wgpu = { git = "https://github.com/storytold/egui.git", rev = "b9770908e0f304896f9658d239a7b29cf8af1564" }
|
|
# port-kit overridden: egui_glow = { git = "https://github.com/storytold/egui.git", rev = "b9770908e0f304896f9658d239a7b29cf8af1564" }
|
|
# port-kit overridden: egui_extras = { git = "https://github.com/storytold/egui.git", rev = "b9770908e0f304896f9658d239a7b29cf8af1564" }
|
|
# port-kit overridden: egui_kittest = { git = "https://github.com/storytold/egui.git", rev = "b9770908e0f304896f9658d239a7b29cf8af1564" }
|
|
# port-kit overridden: egui_system_font_provider = { git = "https://github.com/storytold/egui.git", rev = "b9770908e0f304896f9658d239a7b29cf8af1564" }
|
|
# port-kit overridden: eframe = { git = "https://github.com/storytold/egui.git", rev = "b9770908e0f304896f9658d239a7b29cf8af1564" }
|
|
# port-kit overridden: egui_demo_lib = { git = "https://github.com/storytold/egui.git", rev = "b9770908e0f304896f9658d239a7b29cf8af1564" }
|
|
# port-kit overridden: egui_inspection = { git = "https://github.com/storytold/egui.git", rev = "b9770908e0f304896f9658d239a7b29cf8af1564" }
|
|
# port-kit overridden: winit = { git = "https://github.com/storytold/winit.git", rev = "a517b3846ee8457d84ee4975110bfda6797c44dc" }
|
|
|
|
[workspace.metadata.cl]
|
|
selection = ["deckcraft", "deckcraft-anim", "deckcraft-cli", "deckcraft-color", "deckcraft-engine", "deckcraft-format", "deckcraft-geom", "deckcraft-mcp", "deckcraft-model", "deckcraft-pdf", "deckcraft-ppt", "deckcraft-pptx", "deckcraft-render", "deckcraft-text", "deckcraft-ui-egui", "deckcraft-web"]
|
|
tracked = ["egui", "eframe", "craft-ui", "craft-pptx", "craft-drawingml"]
|
|
unset_env = ["DECKCRAFT_BUILD_CHANNEL", "DECKCRAFT_VERSION", "DECKCRAFT_REQUIRE_WINRES", "CRAFT_FONTS_REQUIRED"]
|
|
|
|
# BEGIN port-kit framework patch
|
|
[patch."https://github.com/storytold/craft-libs"]
|
|
craft = { path = "../craft-libs/crates/craft" }
|
|
craft-appkit = { path = "../craft-libs/crates/appkit" }
|
|
craft-atomic = { path = "../craft-libs/crates/atomic" }
|
|
craft-audio = { path = "../craft-libs/crates/audio" }
|
|
craft-automation = { path = "../craft-libs/crates/automation" }
|
|
craft-behavior = { path = "../craft-libs/crates/behavior" }
|
|
craft-browse = { path = "../craft-libs/crates/browse" }
|
|
craft-cfb = { path = "../craft-libs/crates/cfb" }
|
|
craft-cloud-ui = { path = "../craft-libs/crates/cloud-ui" }
|
|
craft-cms = { path = "../craft-libs/crates/cms" }
|
|
craft-codepage = { path = "../craft-libs/crates/codepage" }
|
|
craft-color-ui = { path = "../craft-libs/crates/color-ui" }
|
|
craft-control = { path = "../craft-libs/crates/control" }
|
|
craft-deckcraft-format = { path = "../craft-libs/crates/deckcraft-format" }
|
|
craft-dialogs = { path = "../craft-libs/crates/dialogs" }
|
|
craft-docpath = { path = "../craft-libs/crates/docpath" }
|
|
craft-draw = { path = "../craft-libs/crates/draw" }
|
|
craft-drawingml = { path = "../craft-libs/crates/drawingml" }
|
|
craft-font-catalog = { path = "../craft-libs/crates/font-catalog" }
|
|
craft-font-manager = { path = "../craft-libs/crates/font-manager" }
|
|
craft-font-os-windows = { path = "../craft-libs/crates/font-os-windows" }
|
|
craft-font-store = { path = "../craft-libs/crates/font-store" }
|
|
craft-fonts-build = { path = "../craft-libs/crates/fonts-build" }
|
|
craft-host = { path = "../craft-libs/crates/host" }
|
|
craft-i18n = { path = "../craft-libs/crates/i18n" }
|
|
craft-imaging = { path = "../craft-libs/crates/imaging" }
|
|
craft-keymap = { path = "../craft-libs/crates/keymap" }
|
|
craft-mcp-server = { path = "../craft-libs/crates/mcp-server" }
|
|
craft-media = { path = "../craft-libs/crates/media" }
|
|
craft-menu = { path = "../craft-libs/crates/menu" }
|
|
craft-metafile = { path = "../craft-libs/crates/metafile" }
|
|
craft-mime = { path = "../craft-libs/crates/mime" }
|
|
craft-opc = { path = "../craft-libs/crates/opc" }
|
|
craft-pages = { path = "../craft-libs/crates/pages" }
|
|
craft-pdf = { path = "../craft-libs/crates/pdf" }
|
|
craft-platform = { path = "../craft-libs/crates/platform" }
|
|
craft-pptx = { path = "../craft-libs/crates/pptx" }
|
|
craft-print = { path = "../craft-libs/crates/print" }
|
|
craft-quit = { path = "../craft-libs/crates/quit" }
|
|
craft-review = { path = "../craft-libs/crates/review" }
|
|
craft-rtf = { path = "../craft-libs/crates/rtf" }
|
|
craft-settings = { path = "../craft-libs/crates/settings" }
|
|
craft-svg = { path = "../craft-libs/crates/svg" }
|
|
craft-table = { path = "../craft-libs/crates/table" }
|
|
craft-text = { path = "../craft-libs/crates/text" }
|
|
craft-theme = { path = "../craft-libs/crates/theme" }
|
|
craft-theme-store = { path = "../craft-libs/crates/theme-store" }
|
|
craft-time = { path = "../craft-libs/crates/time" }
|
|
craft-timeline = { path = "../craft-libs/crates/timeline" }
|
|
craft-tracked = { path = "../craft-libs/crates/tracked" }
|
|
craft-ui = { path = "../craft-libs/crates/ui" }
|
|
craft-ui-canvas = { path = "../craft-libs/crates/ui-canvas" }
|
|
craft-ui-contract = { path = "../craft-libs/crates/ui-contract" }
|
|
craft-ui-macros = { path = "../craft-libs/crates/ui-macros" }
|
|
craft-ui-panels = { path = "../craft-libs/crates/ui-panels" }
|
|
craft-ui-patterns = { path = "../craft-libs/crates/ui-patterns" }
|
|
craft-ui-shell = { path = "../craft-libs/crates/ui-shell" }
|
|
craft-ui-widgets = { path = "../craft-libs/crates/ui-widgets" }
|
|
craft-update = { path = "../craft-libs/crates/update" }
|
|
craft-video = { path = "../craft-libs/crates/video" }
|
|
craft-web-api = { path = "../craft-libs/crates/web-api" }
|
|
craft-web-host = { path = "../craft-libs/crates/web-host" }
|
|
craft-win32 = { path = "../craft-libs/crates/win32" }
|
|
craft-window = { path = "../craft-libs/crates/window" }
|
|
craft-xml = { path = "../craft-libs/crates/xml" }
|
|
craft-zip = { path = "../craft-libs/crates/zip" }
|
|
# END port-kit framework patch
|