midi-harbor/crates/gui/Cargo.toml
James Coleman ebe6302baf build(gui): update libcosmic to master 03d7dcb832bc
- The interface moves from 87ab8179 to libcosmic master of 2026-09-24, which brings its newer winit and accesskit forks and upstream's menu, context-menu and maximized-window fixes.
- The accesskit_winit build failure newer libcosmic has on Windows does not reach this build: macOS and Windows disable libcosmic's default features, a11y with them, so no accesskit crate compiles there. Enabling a11y on Windows would need a patched accesskit, as the pin's comment notes.
- The lock keeps gpu-allocator on windows 0.62.2, the version wgpu-hal 28.0.1 passes it; the update had re-resolved it to an older windows, breaking the Windows build with mismatched Direct3D types, and a later cargo update can do so again.
2026-09-29 14:35:56 -05:00

45 lines
1.5 KiB
TOML

[package]
name = "midi-harbor-gui"
description = "libcosmic graphical interface over the daemon IPC contract"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
[lints]
workspace = true
[dependencies]
midi-harbor-core.workspace = true
midi-harbor-ipc.workspace = true
midi-harbor-platform.workspace = true
midi-harbor-service.workspace = true
jiff.workspace = true
prost-types.workspace = true
serde.workspace = true
serde_yaml_ng.workspace = true
thiserror.workspace = true
tokio.workspace = true
tonic.workspace = true
tracing.workspace = true
# libcosmic is pinned to an exact revision: upstream has no macOS CI, so bumps are
# deliberate and re-verified by hand (research R-001).
[target.'cfg(target_os = "macos")'.dependencies.libcosmic]
git = "https://github.com/pop-os/libcosmic.git"
rev = "03d7dcb832bc"
default-features = false
features = ["winit", "wgpu", "tokio", "multi-window"]
[target.'cfg(target_os = "linux")'.dependencies.libcosmic]
git = "https://github.com/pop-os/libcosmic.git"
rev = "03d7dcb832bc"
features = ["winit", "wgpu", "tokio", "multi-window", "wayland"]
# Without `a11y` no accesskit crate is built here, so the accesskit_winit fix newer libcosmic needs
# on Windows does not apply; enabling it would need the override in R-001.
[target.'cfg(windows)'.dependencies.libcosmic]
git = "https://github.com/pop-os/libcosmic.git"
rev = "03d7dcb832bc"
default-features = false
features = ["winit", "wgpu", "tokio", "multi-window"]