From ec0c58bc78d15f28b1dd80068844c177c1f69c46 Mon Sep 17 00:00:00 2001 From: LGUG2Z Date: Fri, 30 Oct 2026 20:05:15 -0700 Subject: [PATCH] refactor(mac): depend on the layouts and themes crates of this repository by path Step 0 for macOS: replaces the git revision dependencies on komorebi-layouts and komorebi-themes with path dependencies on the root crates, keeping the darwin and schemars features. Verified: macOS type-check with the fake C compiler (check only, nothing linked or run). --- komorebi-for-mac/Cargo.lock | 3 --- komorebi-for-mac/Cargo.toml | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/komorebi-for-mac/Cargo.lock b/komorebi-for-mac/Cargo.lock index 6e7650de..032c9c4c 100644 --- a/komorebi-for-mac/Cargo.lock +++ b/komorebi-for-mac/Cargo.lock @@ -3247,7 +3247,6 @@ dependencies = [ [[package]] name = "komorebi-layouts" version = "0.1.42" -source = "git+https://github.com/LGUG2Z/komorebi?rev=e8216924cbcf1d6559c8d65f92bcb3496a304924#e8216924cbcf1d6559c8d65f92bcb3496a304924" dependencies = [ "clap", "color-eyre", @@ -3264,12 +3263,10 @@ dependencies = [ [[package]] name = "komorebi-scrolling" version = "0.1.42" -source = "git+https://github.com/LGUG2Z/komorebi?rev=e8216924cbcf1d6559c8d65f92bcb3496a304924#e8216924cbcf1d6559c8d65f92bcb3496a304924" [[package]] name = "komorebi-themes" version = "0.1.42" -source = "git+https://github.com/LGUG2Z/komorebi?rev=e8216924cbcf1d6559c8d65f92bcb3496a304924#e8216924cbcf1d6559c8d65f92bcb3496a304924" dependencies = [ "base16-egui-themes", "catppuccin-egui", diff --git a/komorebi-for-mac/Cargo.toml b/komorebi-for-mac/Cargo.toml index 7f9bbdbb..9b0b3bc5 100644 --- a/komorebi-for-mac/Cargo.toml +++ b/komorebi-for-mac/Cargo.toml @@ -13,8 +13,8 @@ members = [ version = "0.1.0" [workspace.dependencies] -komorebi-themes = { git = "https://github.com/LGUG2Z/komorebi", rev = "e8216924cbcf1d6559c8d65f92bcb3496a304924" } -komorebi-layouts = { git = "https://github.com/LGUG2Z/komorebi", rev = "e8216924cbcf1d6559c8d65f92bcb3496a304924", features = [ +komorebi-themes = { path = "../komorebi-themes" } +komorebi-layouts = { path = "../komorebi-layouts", features = [ "darwin", "schemars", ] }