mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-15 13:22:19 +01:00
Merge of wip-u-core (kfde: komorebi-core with Container, Workspace<P>, Monitor<P>) and wip-u-pkg-mig3. Conflicts and how they were resolved: - komorebi-for-kde/Cargo.toml, komorebi-for-kde/Cargo.lock: deleted, as in the migration (one root workspace); kfde's only edit there, the komorebi-core workspace dependency, is applied as a path dependency in the crate manifest. - komorebi-for-kde/komorebi/Cargo.toml: the migration's manifest (inlined dependencies, package name komorebi-linux, [lib]/[[bin]]) plus kfde's komorebi-core dependency and the komorebi-core/schemars feature. - Cargo.lock: the migration's lock re-resolved with cargo metadata --offline: the only change is the new komorebi-core 0.1.42 entry; no version of any other package moved (compared by name/version with both parents; kfde's Windows lock differs only by the komorebi -> komorebi-windows rename). - komorebi-bar/src/widgets/komorebi.rs: deleted (the Windows bar moved to komorebi-bar/src/windows/); kfde's one-line edit (title: value.title() instead of value.title().ok()) applied to komorebi-bar/src/windows/widgets/komorebi.rs. - komorebi-for-kde/nix/root-crates.json: crates/komorebi-core added (tools/kde-closure-check now ok with 11 root crates). Gates run: tools/fast-check --since wip-u-pkg-mig3: native tests, Windows clippy -D warnings, KDE check+lib+schemas, macOS fake-CC check, nix evaluation (root and both nested flakes) PASS; KDE cargo test -p komorebi-linux -p komorebic -p komorebi-client -p komorebi-hotkeys -p komorebi-core: 902 passed, 0 failed; CLI docs oracle identical x3; bar schema harness byte-identical for both bars (its Window::title stub now returns Option); bar-core tests 3+6; kde-closure-check ok; by evaluation an edit of the Windows bar or daemon leaves the kfde derivations unchanged, a KDE edit leaves Windows unchanged, and an edit of crates/komorebi-core changes Windows and kfde but not macOS. Not run: nix builds, VM, e2e (the Windows daemon changed: kfde's e2e gate applies), any Mac run.
137 lines
3.5 KiB
TOML
137 lines
3.5 KiB
TOML
[workspace]
|
|
|
|
resolver = "2"
|
|
members = [
|
|
"komorebi",
|
|
"komorebi-client",
|
|
"komorebi-gui",
|
|
"crates/komorebi-backend",
|
|
"crates/komorebi-collections",
|
|
"crates/komorebi-core",
|
|
"crates/komorebi-config",
|
|
"crates/komorebi-settings",
|
|
"komorebi-layouts",
|
|
"komorebi-scrolling",
|
|
"komorebic",
|
|
"komorebic-no-console",
|
|
"crates/komorebic-core",
|
|
"komorebi-bar",
|
|
"komorebi-themes",
|
|
"crates/komorebi-protocol",
|
|
"crates/komorebi-transport",
|
|
"crates/komorebi-bar-core",
|
|
"komorebi-shortcuts",
|
|
"e2e/guest/agent",
|
|
"e2e/guest/testwin",
|
|
# komorebi for KDE Plasma (Linux) and komorebi for macOS: built only on their own platform, selected
|
|
# with -p; `default-members` below is the Windows set that a bare cargo command builds
|
|
"komorebi-for-kde/komorebi",
|
|
"komorebi-for-kde/komorebic",
|
|
"komorebi-for-kde/komorebi-client",
|
|
"komorebi-for-kde/komorebi-hotkeys",
|
|
"komorebi-for-kde/version",
|
|
"komorebi-for-mac/komorebi",
|
|
"komorebi-for-mac/komorebic",
|
|
"komorebi-for-mac/komorebi-client",
|
|
"komorebi-for-mac/komorebi-bar",
|
|
"komorebi-for-mac/version",
|
|
]
|
|
|
|
default-members = [
|
|
"komorebi",
|
|
"komorebi-client",
|
|
"komorebi-gui",
|
|
"crates/komorebi-backend",
|
|
"crates/komorebi-collections",
|
|
"crates/komorebi-config",
|
|
"crates/komorebi-settings",
|
|
"komorebi-layouts",
|
|
"komorebi-scrolling",
|
|
"komorebic",
|
|
"komorebic-no-console",
|
|
"crates/komorebic-core",
|
|
"komorebi-bar",
|
|
"komorebi-themes",
|
|
"crates/komorebi-protocol",
|
|
"crates/komorebi-transport",
|
|
"crates/komorebi-bar-core",
|
|
"komorebi-shortcuts",
|
|
"e2e/guest/agent",
|
|
"e2e/guest/testwin",
|
|
]
|
|
|
|
[workspace.dependencies]
|
|
clap = { version = "4", features = ["derive", "wrap_help"] }
|
|
chrono-tz = "0.10"
|
|
chrono = "0.4"
|
|
crossbeam-channel = "0.5"
|
|
crossbeam-utils = "0.8"
|
|
color-eyre = "0.6"
|
|
eframe = "0.33"
|
|
egui_extras = "0.33"
|
|
dirs = "6"
|
|
dunce = "1"
|
|
hotwatch = "0.5"
|
|
schemars = "1.1"
|
|
lazy_static = "1"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = { package = "serde_json_lenient", version = "0.2" }
|
|
serde_yaml = "0.9"
|
|
strum = { version = "0.28", features = ["derive"] }
|
|
tracing = "0.1"
|
|
tracing-appender = "0.2"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
parking_lot = "0.12"
|
|
paste = "1"
|
|
sysinfo = "0.39"
|
|
uds_windows = "1"
|
|
win32-display-data = { git = "https://github.com/LGUG2Z/win32-display-data", rev = "8c42d8db257d30fe95bc98c2e5cd8f75da861021" }
|
|
windows-numerics = { version = "0.3" }
|
|
windows-implement = { version = "0.60" }
|
|
windows-interface = { version = "0.59" }
|
|
windows-core = { version = "0.62" }
|
|
shadow-rs = "2"
|
|
which = "8"
|
|
|
|
[workspace.dependencies.windows]
|
|
version = "0.62"
|
|
features = [
|
|
"Foundation_Numerics",
|
|
"Win32_Devices",
|
|
"Win32_Devices_Display",
|
|
"Win32_System_Com",
|
|
"Win32_UI_Shell_Common", # for IObjectArray
|
|
"Win32_Foundation",
|
|
"Win32_Globalization",
|
|
"Win32_Graphics_Dwm",
|
|
"Win32_Graphics_Gdi",
|
|
"Win32_Storage_Xps",
|
|
"Win32_Graphics_Direct2D",
|
|
"Win32_Graphics_Direct2D_Common",
|
|
"Win32_Graphics_Dxgi_Common",
|
|
"Win32_System_LibraryLoader",
|
|
"Win32_System_Power",
|
|
"Win32_System_RemoteDesktop",
|
|
"Win32_System_Threading",
|
|
"Win32_UI_Accessibility",
|
|
"Win32_UI_HiDpi",
|
|
"Win32_UI_Input_KeyboardAndMouse",
|
|
"Win32_UI_Shell",
|
|
"Win32_UI_Shell_Common",
|
|
"Win32_UI_WindowsAndMessaging",
|
|
"Win32_System_SystemServices",
|
|
"Win32_System_WindowsProgramming",
|
|
"Media",
|
|
"Media_Control",
|
|
]
|
|
|
|
[profile.release-opt]
|
|
inherits = "release"
|
|
lto = true
|
|
panic = "abort"
|
|
codegen-units = 1
|
|
strip = true
|
|
|
|
[workspace.metadata.crane]
|
|
name = "komorebi-workspace"
|