mirror of
https://github.com/storytold/deckcraft.git
synced 2026-12-01 18:23:52 -06:00
46 lines
1.7 KiB
TOML
46 lines
1.7 KiB
TOML
[package]
|
|
name = "deckcraft"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "DeckCraft desktop app"
|
|
publish = false
|
|
default-run = "deckcraft"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
deckcraft-engine = { workspace = true }
|
|
deckcraft-ui-egui = { workspace = true }
|
|
deckcraft-media = { workspace = true }
|
|
craft = { workspace = true, features = ["ui-app", "window", "gpu-startup", "quit", "dialogs", "platform", "platform-clipboard-system", "automation", "settings", "font-catalog"] }
|
|
# `clipboard` is the OS clipboard (Ctrl+C/X/V with other apps). Without it egui simulates one inside
|
|
# the app; the egui 0.37 migration (#1350) dropped it from this list.
|
|
eframe = { workspace = true, features = ["default_fonts", "wgpu", "accesskit", "clipboard", "links", "wayland", "x11"] }
|
|
egui = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
log = { workspace = true }
|
|
chrono = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
|
|
[build-dependencies]
|
|
# Icon + VERSIONINFO for deckcraft.exe; build.rs only uses it when the target is Windows.
|
|
winresource = "0.1"
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
craft-update = { workspace = true }
|
|
rfd = { workspace = true }
|
|
image = { workspace = true }
|
|
cpal = "0.16"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
# An explicit AppUserModelID for DeckCraft Nightly, so its taskbar group and toasts are not stable's.
|
|
winsafe = { version = "0.0.29", features = ["user", "shell"] }
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
craft = { workspace = true, features = ["platform-apple-events"] }
|
|
|
|
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies]
|
|
winit = { version = "0.30", default-features = false, features = ["x11"] }
|