chore: normalize the libcosmic-yoda dependency idiom
Key the local libcosmic fork as `cosmic` with `package = "libcosmic-yoda"` rather than keying it by package name, so every repo in the local stack declares it the same way. The extern name stays `cosmic` either way, so no source change is needed; the feature strings move with the key. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
39a4e4beec
commit
542d943211
2 changed files with 48 additions and 18 deletions
|
|
@ -44,7 +44,8 @@ version = "0.19"
|
|||
features = ["syntect", "vi"]
|
||||
|
||||
# Yoda fork.
|
||||
[dependencies.libcosmic-yoda]
|
||||
[dependencies.cosmic]
|
||||
package = "libcosmic-yoda"
|
||||
path = "../libcosmic"
|
||||
default-features = false
|
||||
#TODO: a11y feature crashes file choser dialog
|
||||
|
|
@ -58,10 +59,10 @@ xdgen = "0.1"
|
|||
|
||||
[features]
|
||||
default = ["dbus-config", "gvfs", "wgpu", "wayland"]
|
||||
dbus-config = ["libcosmic-yoda/dbus-config"]
|
||||
dbus-config = ["cosmic/dbus-config"]
|
||||
gvfs = ["cosmic-files/gvfs"]
|
||||
wgpu = ["libcosmic-yoda/wgpu", "cosmic-files/wgpu"]
|
||||
wayland = ["libcosmic-yoda/wayland", "cosmic-files/wayland"]
|
||||
wgpu = ["cosmic/wgpu", "cosmic-files/wgpu"]
|
||||
wayland = ["cosmic/wayland", "cosmic-files/wayland"]
|
||||
|
||||
[profile.release-with-debug]
|
||||
inherits = "release"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue