build: move the dev-only source override out of Cargo.toml

Same change as breadbox's fa85fc1. The [patch] block pointing bread-theme and
bread-launcher at ../bread-ecosystem shipped in the committed manifest, where
CI cannot resolve it — the workflow clones this repo alone and runs cargo
--locked with no sibling checkout. Moved to a gitignored .cargo/config.toml.

Hygiene, not a CI fix: bread-launcher does not exist at tag v0.7.4, so the pin
cannot resolve without the override until bread-ecosystem is tagged.
This commit is contained in:
Breadway 2026-08-25 16:04:49 +08:00
parent 6c4df8813c
commit 6b15f24fb2
2 changed files with 3 additions and 7 deletions

3
.gitignore vendored
View file

@ -38,3 +38,6 @@ aster-brief.md
# graphify knowledge-graph output (local tool cache, not for commit)
graphify-out/
# Local-only source overrides (see .cargo/config.toml).
.cargo/

View file

@ -45,10 +45,3 @@ resvg = { version = "0.47", default-features = false }
lto = "thin"
codegen-units = 1
strip = "symbols"
# DEV ONLY — remove before tagging. Points bread-theme at the local
# bread-ecosystem checkout so Phase 2 can build against `bread_theme::shell`
# (feature/shell-theme-manifest) before it is tagged as a release.
[patch."https://git.breadway.dev/Breadway/bread-ecosystem"]
bread-theme = { path = "../bread-ecosystem/bread-theme" }
bread-launcher = { path = "../bread-ecosystem/bread-launcher" }