cosmic-workspaces/Cargo.toml

94 lines
3.2 KiB
TOML

[package]
name = "cosmic-workspaces"
version = "1.0.12"
edition = "2024"
rust-version = "1.93"
[dependencies]
anyhow = "1.0.102"
calloop = { version = "0.14.4", features = ["executor"] }
clap = { version = "4", features = ["derive"] }
cosmic-bg-config = { path = "../cosmic-bg/config" }
cosmic-comp-config = { git = "https://github.com/pop-os/cosmic-comp" }
env_logger = "0.11.9"
gbm = "0.18.0"
cosmic = { package = "libcosmic-yoda", path = "../libcosmic", default-features = false, features = [
"tokio",
"wayland",
"single-instance",
"desktop",
"multi-window",
"winit",
] }
cosmic-config = { path = "../libcosmic/cosmic-config" }
freedesktop-icons = { package = "cosmic-freedesktop-icons", git = "https://github.com/pop-os/freedesktop-icons" }
memmap2 = "0.9.10"
tokio = "1.49.0"
wayland-protocols = "0.32.10"
delegate = "0.13.5"
itertools = "0.14.0"
log = "0.4.29"
i18n-embed-fl = "0.10"
rust-embed = "8.11.0"
rustix = { version = "1.1.3", features = ["fs", "shm"] }
calloop-wayland-source = "0.4.1"
aliasable = "0.1.3"
zbus = "5.13.2"
tokio-stream = { version = "0.1.18", features = ["sync"] }
ash = { version = "0.38.0", features = ["loaded"] }
bytemuck = "1.25.0"
cosmic-panel-config = { path = "../cosmic-panel/cosmic-panel-config" }
[dependencies.i18n-embed]
version = "0.16"
features = ["fluent-system", "desktop-requester"]
[features]
default = ["wgpu"]
wgpu = ["cosmic/wgpu"]
# Debugging features
force-shm-screencopy = []
no-subsurfaces = ["force-shm-screencopy"]
mock-backend = []
[patch.'https://github.com/pop-os/libcosmic']
cosmic-config = { path = "../libcosmic/cosmic-config" }
cosmic-theme = { path = "../libcosmic/cosmic-theme" }
iced = { path = "../libcosmic/iced" }
iced_accessibility = { path = "../libcosmic/iced/accessibility" }
iced_core = { path = "../libcosmic/iced/core" }
iced_futures = { path = "../libcosmic/iced/futures" }
iced_graphics = { path = "../libcosmic/iced/graphics" }
iced_renderer = { path = "../libcosmic/iced/renderer" }
iced_runtime = { path = "../libcosmic/iced/runtime" }
iced_tiny_skia = { path = "../libcosmic/iced/tiny_skia" }
iced_wgpu = { path = "../libcosmic/iced/wgpu" }
iced_widget = { path = "../libcosmic/iced/widget" }
iced_winit = { path = "../libcosmic/iced/winit" }
[patch.'https://github.com/pop-os/cosmic-protocols']
cosmic-protocols = { path = "../cosmic-protocols" }
cosmic-client-toolkit = { path = "../cosmic-protocols/client-toolkit" }
[patch.'https://github.com/pop-os/cosmic-text.git']
cosmic-text = { git = "https://forge.aditua.com/leyoda/cosmic-text.git", branch = "local/pr-503" }
[patch.'https://github.com/pop-os/cosmic-bg']
cosmic-bg-config = { path = "../cosmic-bg/config" }
[patch.'https://github.com/pop-os/cosmic-panel']
cosmic-panel-config = { path = "../cosmic-panel/cosmic-panel-config" }
xdg-shell-wrapper-config = { path = "../cosmic-panel/xdg-shell-wrapper-config" }
[patch.'https://github.com/pop-os/cosmic-settings-daemon']
cosmic-settings-config = { path = "../cosmic-settings-daemon/config" }
[patch.'https://forge.aditua.com/leyoda/window_clipboard.git']
window_clipboard = { path = "../window_clipboard" }
dnd = { path = "../window_clipboard/dnd" }
mime = { path = "../window_clipboard/mime" }
[profile.dev]
# Not usable at opt-level 0, at least with software renderer
opt-level = 1