mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-12-23 10:11:54 +00:00
* macos native menu bar * fix nix build * Add shortcut symbols to menu * fix fmt * fix vendoring * cleanup intercept frontend message * accept into editor message in queue function
76 lines
2.5 KiB
TOML
76 lines
2.5 KiB
TOML
[package]
|
|
name = "graphite-desktop"
|
|
version = "0.1.0"
|
|
description = "Graphite Desktop"
|
|
authors = ["Graphite Authors <contact@graphite.rs>"]
|
|
license = "Apache-2.0"
|
|
repository = ""
|
|
edition = "2024"
|
|
rust-version = "1.87"
|
|
|
|
[features]
|
|
default = ["recommended", "embedded_resources"]
|
|
recommended = ["gpu", "accelerated_paint"]
|
|
embedded_resources = ["dep:graphite-desktop-embedded-resources"]
|
|
gpu = ["graphite-desktop-wrapper/gpu"]
|
|
|
|
# Hardware acceleration features
|
|
accelerated_paint = ["accelerated_paint_dmabuf", "accelerated_paint_d3d11", "accelerated_paint_iosurface"]
|
|
accelerated_paint_dmabuf = ["libc", "ash"]
|
|
accelerated_paint_d3d11 = ["windows", "ash"]
|
|
accelerated_paint_iosurface = ["metal", "objc", "core-foundation"]
|
|
|
|
[dependencies]
|
|
# Local dependencies
|
|
graphite-desktop-wrapper = { path = "wrapper" }
|
|
graphite-desktop-embedded-resources = { path = "embedded-resources", optional = true }
|
|
|
|
wgpu = { workspace = true }
|
|
winit = { workspace = true, features = [ "wayland-csd-adwaita-notitlebar", "serde" ] }
|
|
thiserror = { workspace = true }
|
|
futures = { workspace = true }
|
|
cef = { workspace = true }
|
|
cef-dll-sys = { workspace = true }
|
|
tracing-subscriber = { workspace = true }
|
|
tracing = { workspace = true }
|
|
dirs = { workspace = true }
|
|
ron = { workspace = true }
|
|
bytemuck = { workspace = true }
|
|
glam = { workspace = true }
|
|
vello = { workspace = true }
|
|
derivative = { workspace = true }
|
|
rfd = { workspace = true }
|
|
open = { workspace = true }
|
|
rand = { workspace = true, features = ["thread_rng"] }
|
|
serde = { workspace = true }
|
|
clap = { workspace = true, features = ["derive"] }
|
|
|
|
# Hardware acceleration dependencies
|
|
ash = { version = "0.38", optional = true }
|
|
|
|
# Windows-specific dependencies
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
windows = { version = "0.58.0", features = [
|
|
"Win32_Foundation",
|
|
"Win32_Graphics_Direct3D11",
|
|
"Win32_Graphics_Direct3D12",
|
|
"Win32_Graphics_Dxgi",
|
|
"Win32_Graphics_Dxgi_Common",
|
|
"Win32_Graphics_Dwm",
|
|
"Win32_Graphics_Gdi",
|
|
"Win32_System_LibraryLoader",
|
|
"Win32_UI_Controls",
|
|
"Win32_UI_WindowsAndMessaging",
|
|
"Win32_UI_HiDpi",
|
|
], optional = true }
|
|
|
|
# macOS-specific dependencies
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
muda = { git = "https://github.com/tauri-apps/muda.git", rev = "3f460b8fbaed59cda6d95ceea6904f000f093f15", default-features = false }
|
|
metal = { version = "0.31.0", optional = true }
|
|
objc = { version = "0.2", optional = true }
|
|
core-foundation = { version = "0.10", optional = true }
|
|
|
|
# Linux-specific dependencies
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
libc = { version = "0.2", optional = true }
|