git.lucas.co / cce-calendar
calendar
git clone https://git.lucas.co/cce-calendar.git

commitf5a564596cc7e59c0badba38190a88fba6ee2753
parent51c8019552
authorLucas Galante <[email protected]>
date2026-09-19 23:25
Depend on cce-ui 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, 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         | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

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 d0bae8b..3f949fb 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,7 +4,7 @@ version = "0.1.0"
 edition = "2021"
 
 [dependencies]
-cce-ui = { path = "../cce-ui" }
+cce-ui = { git = "https://git.lucas.co/cce-ui.git", rev = "c4b83f53af631b5534f94d0b35bb91c319e2ce26" }
 calloop = "0.13.0"
 wayland-client = { version = "0.31", features = ["system"] }
 chrono = "0.4"