Cargo.toml: patch libcosmic via local path for dev builds
Activates the [patch.'https://github.com/pop-os/libcosmic'] override pointing at ../libcosmic, enabling local development against a patched libcosmic checkout (e.g. to pick up WindowControlsPosition / macOS-style window controls). This branch is intentionally dev-local: do NOT merge upstream. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
dfcef22632
commit
2600c6d38a
1 changed files with 10 additions and 4 deletions
14
Cargo.toml
14
Cargo.toml
|
|
@ -66,7 +66,13 @@ wayland = ["libcosmic/wayland", "cosmic-files/wayland"]
|
||||||
inherits = "release"
|
inherits = "release"
|
||||||
debug = true
|
debug = true
|
||||||
|
|
||||||
# [patch.'https://github.com/pop-os/libcosmic']
|
[patch.crates-io]
|
||||||
# libcosmic = { git = "https://github.com/pop-os/libcosmic//" }
|
onig = { git = "https://github.com/rust-onig/rust-onig.git", branch = "main" }
|
||||||
# cosmic-config = { git = "https://github.com/pop-os/libcosmic//" }
|
onig_sys = { git = "https://github.com/rust-onig/rust-onig.git", branch = "main" }
|
||||||
# cosmic-theme = { git = "https://github.com/pop-os/libcosmic//" }
|
|
||||||
|
[patch.'https://github.com/pop-os/libcosmic']
|
||||||
|
libcosmic = { path = "../libcosmic" }
|
||||||
|
cosmic-config = { path = "../libcosmic/cosmic-config" }
|
||||||
|
cosmic-theme = { path = "../libcosmic/cosmic-theme" }
|
||||||
|
iced_futures = { path = "../libcosmic/iced/futures" }
|
||||||
|
iced_winit = { path = "../libcosmic/iced/winit" }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue