git.lucas.co / cce-compositor
Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git

commit1b61645c46db5d0763bf45624c6c6a001493ae0e
parentc6fb1b49a0
authorLucas Galante <[email protected]>
date2026-09-19 23:25
Depend on cce-ui and cce-window-manager through git.lucas.co, so this crate builds alone

A path dependency on a sibling checkout meant a standalone clone could not
resolve at all: installing one app required the whole workspace on disk,
which is the opposite of what the separate repos are for. The dependency is
now a git dependency pinned to the published revision, and the workspace
root patches that source back to the local crate -- so builds inside the
workspace still compile the working tree and cross-crate edits stay live.

The pinned rev only affects builds outside the workspace, which means it can
go stale without anything here failing. After pushing cce-ui and cce-window-manager, bump it.

.cargo/config.toml sets net.git-fetch-with-cli because git.lucas.co is
static hosting: it speaks git's dumb HTTP protocol, and cargo's built-in git
client fails on the response content-type. Committed here rather than left
to the installing machine's environment.

Co-Authored-By: Claude Opus 5 <[email protected]>

 .cargo/config.toml | 7 +++++++
 Cargo.toml         | 4 ++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/.cargo/config.toml b/.cargo/config.toml
new file mode 100644
index 0000000..93c6cb4
--- /dev/null
+++ b/.cargo/config.toml
@@ -0,0 +1,7 @@
+# git.lucas.co is static hosting, so it speaks git's dumb HTTP protocol only.
+# Cargo's built-in git client tries smart HTTP first and fails on the response
+# content-type; the git CLI handles dumb HTTP the same way `git clone` does.
+# Needed by anyone building this crate on its own, so it is committed here
+# rather than left to the installing machine's environment.
+[net]
+git-fetch-with-cli = true
diff --git a/Cargo.toml b/Cargo.toml
index 68421cc..fb640c9 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -7,8 +7,8 @@ edition = "2021"
 doctest = false
 
 [dependencies]
-cce-ui = { path = "../cce-ui" }
-cce-window-manager = { path = "../cce-window-manager" }
+cce-ui = { git = "https://git.lucas.co/cce-ui.git", rev = "c4b83f53af631b5534f94d0b35bb91c319e2ce26" }
+cce-window-manager = { git = "https://git.lucas.co/cce-window-manager.git", rev = "054f6f053f7e54fca3ecdf70bb83487640129d57" }
 xkbcommon = "0.7"
 serde = { version = "1", features = ["derive"] }
 nix = { version = "0.29", features = ["signal", "process", "fs", "poll", "resource"] }