Files
komorebi/komorebi-for-kde/Cargo.toml
T
LGUG2Z 1497e5d62a refactor(kde): the fake backend wraps komorebi-backend's FakeBackend
komorebi::backend::fake::FakeBackend (and Command) keep their paths, signatures (u32 ids, eyre errors, the 18-variant Command) and behaviour, but the desktop is now komorebi_backend::fake::FakeBackend. The KDE type wraps it and translates ids and errors ('no such window: <id>' text is unchanged); the commands and state that only KDE has (apply_look, set_border_colours, set_wallpaper, drag_end and their getters) stay in the wrapper, and their commands are logged in the shared fake's log (Command::Ext) so their order among the others is kept. KDE's own trait Backend is untouched: that is the least invasive route, no call site and no test body changes (the 26 unit tests of fake.rs stay in the file byte for byte and now test the wrapper).

Cargo: komorebi-for-kde gains the komorebi-backend path dependency (workspace dependency plus komorebi/Cargo.toml; Cargo.lock updated).

Verified: in komorebi-for-kde, cargo test --workspace --no-fail-fast: 876 passed, 0 failed over 80 binaries (identical to the baseline; counts unchanged because the fake.rs tests were kept and the crate's tests are additional). The shared crate's own tests are counted separately.
2026-10-31 01:37:54 -07:00

55 lines
1.9 KiB
TOML

[workspace]
resolver = "2"
members = [
"komorebi",
"komorebi-client",
"komorebi-hotkeys",
"komorebic",
"version",
]
[workspace.package]
version = "0.1.0"
[workspace.dependencies]
# the Backend trait every komorebi shares, and its in-memory fake
komorebi-backend = { path = "../crates/komorebi-backend" }
# upstream's layouts, at a revision of its `next` branch that has the fix for resizing a tile by
# dragging its edge (LGUG2Z/komorebi#1765), the placement helpers komorebi for KDE uses and the
# platform-free half of the rework of the Scrolling layout
komorebi-collections = { path = "../crates/komorebi-collections" }
komorebi-layouts = { path = "../komorebi-layouts", features = [
"schemars",
] }
# the model of a strip of columns that the Scrolling layout is laid out with, from the same
# revision, whose layouts re-export it as `komorebi_layouts::scrolling::model`
komorebi-scrolling = { path = "../komorebi-scrolling" }
# the wire types shared with the other komorebi daemons
komorebi-config = { path = "../crates/komorebi-config", default-features = false, features = ["schemars"] }
komorebi-protocol = { path = "../crates/komorebi-protocol", default-features = false, features = ["schemars"] }
komorebi-transport = { path = "../crates/komorebi-transport" }
# the themes (and the palettes made from pictures), from the same upstream revision
komorebi-themes = { path = "../komorebi-themes" }
chrono = "0.4"
clap = { version = "4", features = ["derive", "wrap_help"] }
color-eyre = "0.6"
crossbeam-channel = "0.5"
crossbeam-utils = "0.8"
dirs = "7"
hotwatch = "0.5"
lazy_static = "1"
pastey = "0.2"
schemars = "1.1"
serde = { version = "1", features = ["derive"] }
serde_json = { package = "serde_json_lenient", version = "0.2" }
shadow-rs = "2"
sysinfo = "0.40"
tracing = "0.1"
tracing-appender = "0.2"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
[workspace.metadata.crane]
name = "komorebi-workspace"