chore: align workspaces with local cosmic stack

This commit is contained in:
Lionel DARNIS 2026-05-24 11:11:12 +02:00
parent cd729d045b
commit 7393ce1ff1
5 changed files with 155 additions and 278 deletions

View file

@ -8,11 +8,11 @@ rust-version = "1.93"
anyhow = "1.0.102"
calloop = { version = "0.14.4", features = ["executor"] }
clap = { version = "4", features = ["derive"] }
cosmic-bg-config = { git = "https://github.com/pop-os/cosmic-bg" }
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"
libcosmic = { git = "https://github.com/pop-os/libcosmic", default-features = false, features = [
cosmic = { package = "libcosmic-yoda", path = "../libcosmic", default-features = false, features = [
"tokio",
"wayland",
"single-instance",
@ -20,7 +20,7 @@ libcosmic = { git = "https://github.com/pop-os/libcosmic", default-features = fa
"multi-window",
"winit",
] }
cosmic-config = { git = "https://github.com/pop-os/libcosmic" }
cosmic-config = { path = "../libcosmic/cosmic-config" }
freedesktop-icons = { package = "cosmic-freedesktop-icons", git = "https://github.com/pop-os/freedesktop-icons" }
memmap2 = "0.9.10"
@ -38,7 +38,7 @@ 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 = { git = "https://github.com/pop-os/cosmic-panel" }
cosmic-panel-config = { path = "../cosmic-panel/cosmic-panel-config" }
[dependencies.i18n-embed]
version = "0.16"
@ -46,12 +46,49 @@ features = ["fluent-system", "desktop-requester"]
[features]
default = ["wgpu"]
wgpu = ["libcosmic/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