mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-04-28 02:18:01 -04:00
78 lines
2.6 KiB
TOML
78 lines
2.6 KiB
TOML
[package]
|
|
name = "sd-desktop"
|
|
version = "0.4.1"
|
|
description = "The universal file manager."
|
|
authors = ["Spacedrive Technology Inc <support@spacedrive.com>"]
|
|
default-run = "sd-desktop"
|
|
license = { workspace = true }
|
|
repository = { workspace = true }
|
|
edition = { workspace = true }
|
|
|
|
[dependencies]
|
|
# Spacedrive Sub-crates
|
|
sd-core = { path = "../../../core", features = ["ffmpeg", "heif"] }
|
|
sd-fda = { path = "../../../crates/fda" }
|
|
sd-prisma = { path = "../../../crates/prisma" }
|
|
|
|
# Workspace dependencies
|
|
axum = { workspace = true, features = ["headers", "query"] }
|
|
directories = { workspace = true }
|
|
futures = { workspace = true }
|
|
hyper = { workspace = true }
|
|
http = { workspace = true }
|
|
prisma-client-rust = { workspace = true }
|
|
rand = { workspace = true }
|
|
rspc = { workspace = true, features = ["tauri", "tracing"] }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
specta = { workspace = true }
|
|
strum = { workspace = true, features = ["derive"] }
|
|
tokio = { workspace = true, features = ["sync"] }
|
|
tracing = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
uuid = { workspace = true, features = ["serde"] }
|
|
|
|
# Specific Desktop dependencies
|
|
# WARNING: Do NOT enable default features, as that vendors dbus (see below)
|
|
opener = { version = "0.7.1", features = ["reveal"], default-features = false }
|
|
tauri = { version = "=2.0.0-beta.17", features = [
|
|
"macos-private-api",
|
|
"unstable",
|
|
"linux-libxdo",
|
|
] } # Update blocked by rspc
|
|
tauri-plugin-updater = "2.0.0-beta"
|
|
tauri-plugin-dialog = "2.0.0-beta"
|
|
tauri-plugin-os = "2.0.0-beta"
|
|
tauri-plugin-shell = "2.0.0-beta"
|
|
tauri-runtime = { version = "=2.0.0-beta.15" } # Update blocked by tauri
|
|
tauri-specta = { version = "=2.0.0-rc.8", features = ["typescript"] }
|
|
tauri-utils = { version = "=2.0.0-beta.16" } # Update blocked by tauri
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
# Spacedrive Sub-crates
|
|
sd-desktop-linux = { path = "../crates/linux" }
|
|
|
|
# Specific Desktop dependencies
|
|
# WARNING: dbus must NOT be vendored, as that breaks the app on Linux,X11,Nvidia
|
|
dbus = { version = "0.9.7", features = ["stdfd"] }
|
|
# https://github.com/tauri-apps/tauri/blob/tauri-v2.0.0-beta.17/core/tauri/Cargo.toml#L86
|
|
webkit2gtk = { version = "=2.0.1", features = ["v2_38"] }
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
# Spacedrive Sub-crates
|
|
sd-desktop-macos = { path = "../crates/macos" }
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
# Spacedrive Sub-crates
|
|
sd-desktop-windows = { path = "../crates/windows" }
|
|
|
|
[build-dependencies]
|
|
# Specific Desktop dependencies
|
|
tauri-build = "2.0.0-beta"
|
|
|
|
[features]
|
|
default = ["custom-protocol"]
|
|
devtools = ["tauri/devtools"]
|
|
ai-models = ["sd-core/ai"]
|
|
custom-protocol = ["tauri/custom-protocol"]
|