2021-12-15 17:25:15 +01:00
|
|
|
[package]
|
2024-02-07 12:33:32 +01:00
|
|
|
authors = ["Victoria Brekenfeld"]
|
2025-07-21 14:56:53 +02:00
|
|
|
edition = "2024"
|
2021-12-15 17:25:15 +01:00
|
|
|
license = "GPL-3.0-only"
|
2024-02-07 12:33:32 +01:00
|
|
|
name = "cosmic-comp"
|
2025-12-19 18:59:31 +01:00
|
|
|
version = "1.0.0"
|
|
|
|
|
rust-version = "1.90"
|
2021-12-15 17:25:15 +01:00
|
|
|
|
2023-08-29 13:49:41 -07:00
|
|
|
[workspace]
|
2025-07-21 14:54:21 +02:00
|
|
|
members = ["cosmic-comp-config"]
|
2023-08-29 13:49:41 -07:00
|
|
|
|
2021-12-15 17:25:15 +01:00
|
|
|
[dependencies]
|
2026-02-17 14:28:04 +01:00
|
|
|
anyhow = { version = "1.0.102", features = ["backtrace"] }
|
|
|
|
|
bitflags = "2.11.0"
|
|
|
|
|
calloop = { version = "0.14.4", features = ["executor"] }
|
2025-07-21 14:54:21 +02:00
|
|
|
cosmic-comp-config = { path = "cosmic-comp-config", features = [
|
|
|
|
|
"libdisplay-info",
|
2025-08-20 17:59:06 -04:00
|
|
|
"output",
|
2025-07-21 14:54:21 +02:00
|
|
|
] }
|
2026-05-24 11:40:51 +02:00
|
|
|
cosmic-config = { path = "../libcosmic/cosmic-config", features = [
|
2026-05-24 18:18:51 +02:00
|
|
|
"async-std",
|
2025-07-21 14:54:21 +02:00
|
|
|
"calloop",
|
|
|
|
|
"macro",
|
2026-03-04 19:15:34 -05:00
|
|
|
] }
|
2026-05-24 11:40:51 +02:00
|
|
|
cosmic-protocols = { path = "../cosmic-protocols", default-features = false, features = [
|
2025-07-21 14:54:21 +02:00
|
|
|
"server",
|
|
|
|
|
] }
|
2026-05-24 11:40:51 +02:00
|
|
|
cosmic-settings-config = { path = "../cosmic-settings-daemon/config" }
|
|
|
|
|
cosmic-settings-daemon-config = { path = "../cosmic-settings-daemon/cosmic-settings-daemon-config", features = [
|
2025-07-21 14:54:21 +02:00
|
|
|
"greeter",
|
2026-03-04 19:15:34 -05:00
|
|
|
] }
|
2026-05-25 11:34:38 +02:00
|
|
|
cosmic-text = { path = "../cosmic-text", features = [
|
2025-07-21 14:54:21 +02:00
|
|
|
"shape-run-cache",
|
|
|
|
|
] }
|
2025-10-16 13:39:28 +02:00
|
|
|
libdisplay-info = "0.3.0"
|
|
|
|
|
egui = { version = "0.31.1", optional = true }
|
2025-07-21 14:54:21 +02:00
|
|
|
egui_plot = { version = "0.31.0", optional = true }
|
|
|
|
|
i18n-embed = { version = "0.16", features = [
|
|
|
|
|
"fluent-system",
|
|
|
|
|
"desktop-requester",
|
|
|
|
|
] }
|
|
|
|
|
i18n-embed-fl = "0.10"
|
2026-05-24 11:40:51 +02:00
|
|
|
iced_tiny_skia = { path = "../libcosmic/iced/tiny_skia" }
|
2026-02-17 14:28:04 +01:00
|
|
|
indexmap = "2.13"
|
2024-02-07 12:33:32 +01:00
|
|
|
keyframe = "1.1.1"
|
2026-05-24 11:40:51 +02:00
|
|
|
cosmic = { package = "libcosmic-yoda", path = "../libcosmic", default-features = false, features = [
|
2026-05-24 18:18:51 +02:00
|
|
|
"async-std",
|
2026-05-24 11:40:51 +02:00
|
|
|
"wayland",
|
|
|
|
|
"multi-window",
|
|
|
|
|
] }
|
2025-07-21 14:54:21 +02:00
|
|
|
libsystemd = { version = "0.7", optional = true }
|
|
|
|
|
log-panics = { version = "2", features = ["with-backtrace"] }
|
2025-10-16 13:39:28 +02:00
|
|
|
ordered-float = "5.1"
|
|
|
|
|
png = "0.18"
|
2022-07-06 23:36:25 +02:00
|
|
|
regex = "1"
|
2026-02-17 14:28:04 +01:00
|
|
|
ron = "0.12"
|
|
|
|
|
rust-embed = { version = "8.11", features = ["debug-embed"] }
|
2025-05-15 12:05:04 -07:00
|
|
|
sanitize-filename = "0.6.0"
|
2025-07-21 14:54:21 +02:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
2024-02-07 12:33:32 +01:00
|
|
|
serde_json = "1"
|
2026-02-17 14:28:04 +01:00
|
|
|
thiserror = "2.0.18"
|
2026-03-17 16:31:19 +01:00
|
|
|
jiff = "0.2"
|
2023-12-14 15:02:45 -08:00
|
|
|
tiny-skia = "0.11"
|
2026-02-17 14:28:04 +01:00
|
|
|
tracing = { version = "0.1.44", features = [
|
2025-07-21 14:54:21 +02:00
|
|
|
"max_level_debug",
|
|
|
|
|
"release_max_level_info",
|
|
|
|
|
] }
|
2026-02-17 14:28:04 +01:00
|
|
|
tracing-journald = "0.3.2"
|
|
|
|
|
tracing-subscriber = { version = "0.3.22", features = [
|
2025-07-21 14:54:21 +02:00
|
|
|
"env-filter",
|
|
|
|
|
"tracing-log",
|
|
|
|
|
] }
|
2026-02-17 14:28:04 +01:00
|
|
|
tracy-client = { version = "0.18.4", default-features = false }
|
|
|
|
|
wayland-backend = "0.3.12"
|
|
|
|
|
wayland-scanner = "0.31.8"
|
2025-07-21 14:54:21 +02:00
|
|
|
xcursor = "0.3.10"
|
|
|
|
|
xdg = "^3.0"
|
2023-12-07 19:53:41 +00:00
|
|
|
xdg-user = "0.2.1"
|
2025-10-16 13:39:28 +02:00
|
|
|
xkbcommon = "0.9"
|
2026-02-17 14:28:04 +01:00
|
|
|
zbus = "5.14.0"
|
2023-10-07 19:15:44 -07:00
|
|
|
profiling = { version = "1.0" }
|
2026-02-17 14:28:04 +01:00
|
|
|
rustix = { version = "1.1.4", features = ["process"] }
|
|
|
|
|
rand = "0.10"
|
2025-03-25 16:44:55 -04:00
|
|
|
# CLI arguments
|
2026-02-17 14:28:04 +01:00
|
|
|
clap_lex = "1.0"
|
2025-10-16 13:39:28 +02:00
|
|
|
parking_lot = "0.12.5"
|
2025-07-29 15:57:38 +02:00
|
|
|
logind-zbus = { version = "5.3.2", optional = true }
|
2026-02-17 14:28:04 +01:00
|
|
|
futures-executor = { version = "0.3.32", features = ["thread-pool"] }
|
|
|
|
|
futures-util = "0.3.32"
|
2025-12-08 17:58:38 +01:00
|
|
|
cgmath = "0.18.0"
|
2026-01-22 16:10:57 +01:00
|
|
|
smallvec = "1.15.1"
|
2023-05-12 20:01:37 +02:00
|
|
|
|
|
|
|
|
[dependencies.id_tree]
|
|
|
|
|
branch = "feature/copy_clone"
|
2024-02-07 12:33:32 +01:00
|
|
|
git = "https://github.com/Drakulix/id-tree.git"
|
2021-12-15 17:25:15 +01:00
|
|
|
|
|
|
|
|
[dependencies.smithay]
|
2025-06-24 20:09:20 -07:00
|
|
|
version = "0.7.0"
|
2024-02-07 12:33:32 +01:00
|
|
|
default-features = false
|
|
|
|
|
features = [
|
2025-07-21 14:54:21 +02:00
|
|
|
"backend_drm",
|
|
|
|
|
"backend_gbm",
|
|
|
|
|
"backend_egl",
|
|
|
|
|
"backend_libinput",
|
|
|
|
|
"backend_session_libseat",
|
|
|
|
|
"backend_udev",
|
|
|
|
|
"backend_winit",
|
|
|
|
|
"backend_vulkan",
|
|
|
|
|
"backend_x11",
|
|
|
|
|
"desktop",
|
|
|
|
|
"renderer_glow",
|
|
|
|
|
"renderer_multi",
|
|
|
|
|
"renderer_pixman",
|
|
|
|
|
"wayland_frontend",
|
|
|
|
|
"xwayland",
|
2024-02-07 12:33:32 +01:00
|
|
|
]
|
2022-01-11 17:22:23 +01:00
|
|
|
|
|
|
|
|
[dependencies.smithay-egui]
|
2025-06-24 20:09:20 -07:00
|
|
|
version = "0.2.0"
|
2022-11-21 10:10:50 +01:00
|
|
|
features = ["svg"]
|
2022-01-11 17:22:23 +01:00
|
|
|
optional = true
|
|
|
|
|
|
|
|
|
|
[features]
|
2024-06-07 18:58:33 +02:00
|
|
|
debug = ["egui", "egui_plot", "smithay-egui", "anyhow/backtrace"]
|
2023-02-27 16:24:01 -08:00
|
|
|
default = ["systemd"]
|
2025-07-29 15:57:38 +02:00
|
|
|
systemd = ["libsystemd", "logind-zbus"]
|
2025-04-24 18:50:16 +02:00
|
|
|
profile-with-tracy = ["profiling/profile-with-tracy", "tracy-client/default"]
|
2026-02-03 12:42:16 -08:00
|
|
|
profile-with-tracy-gpu = ["profile-with-tracy", "smithay/tracy_gpu_profiling"]
|
2022-03-22 12:31:19 +01:00
|
|
|
|
2024-03-22 09:50:30 -07:00
|
|
|
[profile.dev.package.tiny-skia]
|
|
|
|
|
opt-level = 2
|
|
|
|
|
|
|
|
|
|
[profile.dev.package.rustybuzz]
|
|
|
|
|
opt-level = 2
|
|
|
|
|
|
|
|
|
|
[profile.dev.package.ttf-parser]
|
|
|
|
|
opt-level = 2
|
|
|
|
|
|
2022-03-22 12:31:19 +01:00
|
|
|
[profile.fastdebug]
|
|
|
|
|
debug = true
|
2024-02-07 12:33:32 +01:00
|
|
|
inherits = "release"
|
2022-03-22 12:31:19 +01:00
|
|
|
|
|
|
|
|
[profile.release]
|
2022-08-11 17:13:56 +02:00
|
|
|
lto = "fat"
|
|
|
|
|
|
2026-05-24 11:40:51 +02:00
|
|
|
[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-settings-daemon']
|
|
|
|
|
cosmic-settings-config = { path = "../cosmic-settings-daemon/config" }
|
|
|
|
|
cosmic-settings-daemon-config = { path = "../cosmic-settings-daemon/cosmic-settings-daemon-config" }
|
|
|
|
|
|
|
|
|
|
[patch.'https://github.com/pop-os/cosmic-text.git']
|
2026-05-25 11:34:38 +02:00
|
|
|
cosmic-text = { path = "../cosmic-text" }
|
2026-05-24 11:40:51 +02:00
|
|
|
|
|
|
|
|
[patch.'https://forge.aditua.com/leyoda/window_clipboard.git']
|
|
|
|
|
window_clipboard = { path = "../window_clipboard" }
|
|
|
|
|
dnd = { path = "../window_clipboard/dnd" }
|
|
|
|
|
mime = { path = "../window_clipboard/mime" }
|
2025-03-13 13:28:23 -07:00
|
|
|
|
2025-05-21 22:04:02 +02:00
|
|
|
[patch.crates-io]
|
2026-05-07 19:33:35 +02:00
|
|
|
smithay = { git = "https://github.com/smithay/smithay.git", rev = "774f2ab" }
|