yoda: use local dbus settings bindings

This commit is contained in:
Lionel DARNIS 2026-05-25 09:55:11 +02:00
parent 82e00a3e16
commit f2f53fc4d2
5 changed files with 15 additions and 32 deletions

38
Cargo.lock generated
View file

@ -1197,7 +1197,7 @@ version = "1.0.2"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"async-fn-stream", "async-fn-stream",
"cosmic-dbus-networkmanager 0.1.0 (git+https://github.com/pop-os/dbus-settings-bindings)", "cosmic-dbus-networkmanager",
"cosmic-settings-network-manager-subscription", "cosmic-settings-network-manager-subscription",
"futures", "futures",
"futures-util", "futures-util",
@ -1428,19 +1428,6 @@ dependencies = [
"zvariant", "zvariant",
] ]
[[package]]
name = "cosmic-dbus-networkmanager"
version = "0.1.0"
source = "git+https://github.com/pop-os/dbus-settings-bindings#507e342c21d3ce6ae41b1d4f3fa2f0ad5ee23e75"
dependencies = [
"bitflags 2.11.1",
"derive_builder",
"jiff",
"procfs",
"zbus",
"zvariant",
]
[[package]] [[package]]
name = "cosmic-freedesktop-icons" name = "cosmic-freedesktop-icons"
version = "0.4.0" version = "0.4.0"
@ -1588,7 +1575,7 @@ name = "cosmic-settings-network-manager-subscription"
version = "1.0.7" version = "1.0.7"
dependencies = [ dependencies = [
"bitflags 2.11.1", "bitflags 2.11.1",
"cosmic-dbus-networkmanager 0.1.0", "cosmic-dbus-networkmanager",
"futures", "futures",
"iced_futures", "iced_futures",
"itertools 0.14.0", "itertools 0.14.0",
@ -3784,9 +3771,9 @@ checksum = "2ceaf4c6c48465bead8cb6a0b7c4ee0c86ecbb31239032b9c66ab9a08d2f3ee1"
[[package]] [[package]]
name = "jiff" name = "jiff"
version = "0.2.26" version = "0.2.25"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "30457d51cb0e68ee18184b30cd9eb8e1602a20837c321f6ea9706b94f1c681c3" checksum = "6835eea34fb6321b9b3aa7b685c2b433948c09447e389dc017fdf687d5d11e65"
dependencies = [ dependencies = [
"jiff-static", "jiff-static",
"jiff-tzdb-platform", "jiff-tzdb-platform",
@ -3794,14 +3781,14 @@ dependencies = [
"portable-atomic", "portable-atomic",
"portable-atomic-util", "portable-atomic-util",
"serde_core", "serde_core",
"windows-link 0.2.1", "windows-sys 0.61.2",
] ]
[[package]] [[package]]
name = "jiff-static" name = "jiff-static"
version = "0.2.26" version = "0.2.25"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "05f86e4f0326c61ae6c00b04d9009aaeda644d0b5bdfbf6c67247f492f42b3f3" checksum = "3c22e04db9c58f5136eb1757f3d5c49a7b187f49e52185228cbd2f5acdfcc08c"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -4403,7 +4390,6 @@ dependencies = [
[[package]] [[package]]
name = "mpris2-zbus" name = "mpris2-zbus"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/pop-os/dbus-settings-bindings#507e342c21d3ce6ae41b1d4f3fa2f0ad5ee23e75"
dependencies = [ dependencies = [
"futures-util", "futures-util",
"jiff", "jiff",
@ -6291,7 +6277,6 @@ dependencies = [
[[package]] [[package]]
name = "switcheroo-control" name = "switcheroo-control"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/pop-os/dbus-settings-bindings#507e342c21d3ce6ae41b1d4f3fa2f0ad5ee23e75"
dependencies = [ dependencies = [
"zbus", "zbus",
] ]
@ -6469,7 +6454,6 @@ dependencies = [
[[package]] [[package]]
name = "timedate-zbus" name = "timedate-zbus"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/pop-os/dbus-settings-bindings#507e342c21d3ce6ae41b1d4f3fa2f0ad5ee23e75"
dependencies = [ dependencies = [
"zbus", "zbus",
] ]
@ -8616,10 +8600,10 @@ dependencies = [
"winnow", "winnow",
] ]
[[patch.unused]]
name = "winit-x11"
version = "0.31.0-beta.2"
[[patch.unused]] [[patch.unused]]
name = "cosmic-settings-airplane-mode-subscription" name = "cosmic-settings-airplane-mode-subscription"
version = "1.0.7" version = "1.0.7"
[[patch.unused]]
name = "winit-x11"
version = "0.31.0-beta.2"

View file

@ -19,7 +19,7 @@ fastrand = "2.3.0"
rust-embed.workspace = true rust-embed.workspace = true
rustix.workspace = true rustix.workspace = true
rustc-hash.workspace = true rustc-hash.workspace = true
switcheroo-control = { git = "https://github.com/pop-os/dbus-settings-bindings" } switcheroo-control = { path = "../../dbus-settings-bindings/switcheroo-control" }
tokio.workspace = true tokio.workspace = true
tracing-log.workspace = true tracing-log.workspace = true
tracing-subscriber.workspace = true tracing-subscriber.workspace = true

View file

@ -8,8 +8,7 @@ license = "GPL-3.0-only"
i18n-embed-fl.workspace = true i18n-embed-fl.workspace = true
i18n-embed.workspace = true i18n-embed.workspace = true
cosmic.workspace = true cosmic.workspace = true
mpris2-zbus = { git = "https://github.com/pop-os/dbus-settings-bindings" } mpris2-zbus = { path = "../../dbus-settings-bindings/mpris2" }
# mpris2-zbus = { path = "../../dbus-settings-bindings/mpris2" }
rust-embed.workspace = true rust-embed.workspace = true
serde.workspace = true serde.workspace = true
tokio.workspace = true tokio.workspace = true

View file

@ -7,7 +7,7 @@ license = "GPL-3.0-or-later"
[dependencies] [dependencies]
anyhow.workspace = true anyhow.workspace = true
async-fn-stream = "0.3" async-fn-stream = "0.3"
cosmic-dbus-networkmanager = { git = "https://github.com/pop-os/dbus-settings-bindings" } cosmic-dbus-networkmanager = { path = "../../dbus-settings-bindings/networkmanager" }
futures.workspace = true futures.workspace = true
futures-util.workspace = true futures-util.workspace = true
i18n-embed-fl.workspace = true i18n-embed-fl.workspace = true

View file

@ -17,5 +17,5 @@ tracing-subscriber.workspace = true
tracing.workspace = true tracing.workspace = true
icu = { version = "2.1.1", features = ["compiled_data"] } icu = { version = "2.1.1", features = ["compiled_data"] }
zbus.workspace = true zbus.workspace = true
timedate-zbus = { git = "https://github.com/pop-os/dbus-settings-bindings" } timedate-zbus = { path = "../../dbus-settings-bindings/timedate" }
logind-zbus = "5.3.2" logind-zbus = "5.3.2"