summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-11-12 23:17:17 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-11-12 23:17:17 +0100
commite55c99df67bc1e569d8754401923f220505a43da (patch)
treecee6a4e741ee264ce0278697f611fc3631c6b99f
parent242f48fc3a2f68ac9013525f1c9c057e976ac526 (diff)
workspace: keep libcosmic out of default builds
The wasm build scripts were never the culprit - they all build exactly `-p gipfel`. libcosmic (a large git dependency of the frozen gipfel-app) got compiled by plain `cargo build`/`cargo test` at the workspace root, which build ALL members by default. default-members now covers the four active crates; gipfel-app is still a member (explicit -p gipfel-app or --workspace builds it) but nothing implicit touches it anymore. Verified: dependency graph of `cargo build` at the root contains zero cosmic entries.
-rw-r--r--Cargo.toml6
1 files changed, 6 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 4ab4ab3..9cb64dc 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -2,6 +2,12 @@
resolver = "2"
members = ["crates/gipfel-core", "crates/gipfel-cli", "crates/gipfel-app", "crates/gipfel", "crates/gipfel-desktop"]
+# Plain `cargo build`/`cargo test` at the root skips the frozen libcosmic
+# app - libcosmic is a huge git dependency and must never be built unless
+# someone asks for gipfel-app explicitly with -p. Use --workspace to
+# include everything.
+default-members = ["crates/gipfel-core", "crates/gipfel-cli", "crates/gipfel", "crates/gipfel-desktop"]
+
# Single source of truth for metadata inherited by every crate via
# `version.workspace = true` etc. Bump `version` here on release; the
# About dialog and all crates follow. A test enforces the ChangeLog top