rename: libcosmic → libcosmic-yoda (fork 0.1.0-yoda)

Fork point: pop-os/libcosmic 1.0.0 + perf/quickwins-bundle + macOS
window controls feature. From here the crate diverges under the yoda
lineage with its own versioning.

Changes:
- Cargo.toml: name = libcosmic-yoda, version = 0.1.0-yoda
- [lib] name = cosmic kept unchanged — consumer code still does 'use cosmic::...'
- examples/*/Cargo.toml: updated all libcosmic dep references to libcosmic-yoda
- i18n/*/libcosmic.ftl renamed to libcosmic_yoda.ftl (71 locales) to match
  the new name expected by fluent_language_loader!() macro

cargo check --lib passes. Examples not yet validated — Phase 2 (Wayland-only
cut) will rework them anyway.
This commit is contained in:
Lionel DARNIS 2026-04-23 07:35:22 +02:00
parent 5c3319351c
commit 255cf7cc0b
87 changed files with 20 additions and 20 deletions

View file

@ -1,6 +1,6 @@
[package] [package]
name = "libcosmic" name = "libcosmic-yoda"
version = "1.0.0" version = "0.1.0-yoda"
edition = "2024" edition = "2024"
rust-version = "1.90" rust-version = "1.90"

View file

@ -6,7 +6,7 @@ edition = "2021"
[dependencies] [dependencies]
open = "5.3.3" open = "5.3.3"
[dependencies.libcosmic] [dependencies.libcosmic-yoda]
path = "../../" path = "../../"
features = [ features = [
"debug", "debug",

View file

@ -12,7 +12,7 @@ tracing = "0.1"
env_logger = "0.10.2" env_logger = "0.10.2"
log = "0.4.29" log = "0.4.29"
[dependencies.libcosmic] [dependencies.libcosmic-yoda]
path = "../../" path = "../../"
default-features = false default-features = false
features = ["applet-token"] features = ["applet-token"]

View file

@ -5,12 +5,12 @@ edition = "2021"
[features] [features]
default = ["wayland"] default = ["wayland"]
wayland = ["libcosmic/wayland"] wayland = ["libcosmic-yoda/wayland"]
[dependencies] [dependencies]
env_logger = "0.11" env_logger = "0.11"
[dependencies.libcosmic] [dependencies.libcosmic-yoda]
path = "../../" path = "../../"
features = [ features = [
"debug", "debug",

View file

@ -8,6 +8,6 @@ edition = "2024"
[dependencies] [dependencies]
jiff = "0.2" jiff = "0.2"
[dependencies.libcosmic] [dependencies.libcosmic-yoda]
path = "../../" path = "../../"
features = ["debug", "winit", "tokio", "xdg-portal", "wgpu"] features = ["debug", "winit", "tokio", "xdg-portal", "wgpu"]

View file

@ -8,7 +8,7 @@ tracing = "0.1.44"
tracing-subscriber = "0.3.22" tracing-subscriber = "0.3.22"
tracing-log = "0.2.0" tracing-log = "0.2.0"
[dependencies.libcosmic] [dependencies.libcosmic-yoda]
path = "../../" path = "../../"
features = [ features = [
"debug", "debug",

View file

@ -8,7 +8,7 @@ publish = false
[dependencies] [dependencies]
apply = "0.3.0" apply = "0.3.0"
fraction = "0.15.3" fraction = "0.15.3"
libcosmic = { path = "../..", features = [ libcosmic-yoda = { path = "../..", features = [
"debug", "debug",
"winit", "winit",
"tokio", "tokio",

View file

@ -7,6 +7,6 @@ edition = "2021"
tracing = "0.1.44" tracing = "0.1.44"
tracing-subscriber = "0.3.22" tracing-subscriber = "0.3.22"
[dependencies.libcosmic] [dependencies.libcosmic-yoda]
path = "../../" path = "../../"
features = ["debug", "winit", "wgpu", "tokio"] features = ["debug", "winit", "wgpu", "tokio"]

View file

@ -8,6 +8,6 @@ tracing = "0.1.44"
tracing-subscriber = "0.3.22" tracing-subscriber = "0.3.22"
tracing-log = "0.2.0" tracing-log = "0.2.0"
[dependencies.libcosmic] [dependencies.libcosmic-yoda]
path = "../../" path = "../../"
features = ["debug", "winit", "tokio", "xdg-portal", "wgpu"] features = ["debug", "winit", "tokio", "xdg-portal", "wgpu"]

View file

@ -6,4 +6,4 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
libcosmic = { path = "../..", features = ["debug", "winit", "tokio", "single-instance", "wgpu", "wayland"] } libcosmic-yoda = { path = "../..", features = ["debug", "winit", "tokio", "single-instance", "wgpu", "wayland"] }

View file

@ -8,6 +8,6 @@ tracing = "0.1.44"
tracing-subscriber = "0.3.22" tracing-subscriber = "0.3.22"
tracing-log = "0.2.0" tracing-log = "0.2.0"
[dependencies.libcosmic] [dependencies.libcosmic-yoda]
path = "../../" path = "../../"
features = ["debug", "winit", "tokio", "xdg-portal", "wgpu"] features = ["debug", "winit", "tokio", "xdg-portal", "wgpu"]

View file

@ -5,8 +5,8 @@ edition = "2021"
[features] [features]
default = ["xdg-portal"] default = ["xdg-portal"]
rfd = ["libcosmic/rfd"] rfd = ["libcosmic-yoda/rfd"]
xdg-portal = ["libcosmic/xdg-portal"] xdg-portal = ["libcosmic-yoda/xdg-portal"]
[dependencies] [dependencies]
apply = "0.3.0" apply = "0.3.0"
@ -15,6 +15,6 @@ tracing = "0.1.44"
tracing-subscriber = "0.3.22" tracing-subscriber = "0.3.22"
url = "2.5.8" url = "2.5.8"
[dependencies.libcosmic] [dependencies.libcosmic-yoda]
features = ["debug", "winit", "wgpu", "wayland", "tokio"] features = ["debug", "winit", "wgpu", "wayland", "tokio"]
path = "../../" path = "../../"

View file

@ -6,7 +6,7 @@ edition = "2021"
[dependencies] [dependencies]
fraction = "0.15.3" fraction = "0.15.3"
[dependencies.libcosmic] [dependencies.libcosmic-yoda]
features = ["debug", "wgpu", "winit", "desktop", "tokio"] features = ["debug", "wgpu", "winit", "desktop", "tokio"]
path = "../.." path = "../.."
default-features = false default-features = false

View file

@ -5,6 +5,6 @@ edition = "2024"
[dependencies] [dependencies]
[dependencies.libcosmic] [dependencies.libcosmic-yoda]
path = "../../" path = "../../"
features = ["debug", "winit", "wgpu", "tokio", "xdg-portal"] features = ["debug", "winit", "wgpu", "tokio", "xdg-portal"]

View file

@ -9,6 +9,6 @@ tracing-subscriber = "0.3.22"
tracing-log = "0.2.0" tracing-log = "0.2.0"
chrono = "*" chrono = "*"
[dependencies.libcosmic] [dependencies.libcosmic-yoda]
features = ["debug", "wgpu", "winit", "desktop", "tokio"] features = ["debug", "wgpu", "winit", "desktop", "tokio"]
path = "../.." path = "../.."

View file

@ -8,6 +8,6 @@ tracing = "0.1.44"
tracing-subscriber = "0.3.22" tracing-subscriber = "0.3.22"
tracing-log = "0.2.0" tracing-log = "0.2.0"
[dependencies.libcosmic] [dependencies.libcosmic-yoda]
path = "../../" path = "../../"
features = ["debug", "winit", "wgpu", "tokio", "xdg-portal"] features = ["debug", "winit", "wgpu", "tokio", "xdg-portal"]