From e55c99df67bc1e569d8754401923f220505a43da Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Thu, 12 Nov 2026 23:17:17 +0100 Subject: 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. --- Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Cargo.toml') 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 -- cgit v1.2.3