Skip to content

Commit

Permalink
[dep]: Update dependencies (#2092)
Browse files Browse the repository at this point in the history
Update calibright, zbus, and futures, quick-xml
  • Loading branch information
bim9262 authored Nov 9, 2024
1 parent 3a04143 commit c228cd9
Show file tree
Hide file tree
Showing 16 changed files with 81 additions and 146 deletions.
111 changes: 46 additions & 65 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ rustdoc-args = ["--cfg", "docsrs"]
async-trait = "0.1"
backon = { version = "1.2", default-features = false, features = ["tokio-sleep"] }
base64 = { version = "0.22.1" }
calibright = { version = "0.1.6", features = ["watch"] }
calibright = { version = "0.1.9", features = ["watch"] }
chrono = { version = "0.4", default-features = false, features = ["clock", "unstable-locales"] }
chrono-tz = { version = "0.9", features = ["serde"] }
clap = { version = "4.0", default-features = false, features = ["std", "derive", "help", "usage"] }
debounced = "0.2.0"
dirs = "5.0"
env_logger = "0.11"
futures = { version = "0.3", default-features = false }
futures = { version = "0.3.31", default-features = false }
glob = { version = "0.3.1", optional = true }
hyper = "0.14"
iana-time-zone = "0.1.60"
Expand All @@ -61,7 +61,7 @@ nom = "7.1.2"
notmuch = { version = "0.8", optional = true }
oauth2 = { version = "4.4.2" }
pipewire = { version = "0.8", default-features = false, optional = true }
quick-xml = { version = "0.31.0", features = ["serialize"] }
quick-xml = { version = "0.36.1", features = ["serialize"] }
regex = "1.5"
reqwest = { version = "0.11", features = ["json"] }
sensors = "0.2.2"
Expand All @@ -77,7 +77,7 @@ toml = { version = "0.8", features = ["preserve_order"] }
unicode-segmentation = "1.10.1"
wayrs-client = { version = "1.0", features = ["tokio"] }
wayrs-protocols = { version = "0.14", features = ["wlr-foreign-toplevel-management-unstable-v1"] }
zbus = { version = "4", default-features = false, features = ["tokio"] }
zbus = { version = "5", default-features = false, features = ["tokio"] }

[dependencies.tokio]
version = "1.12"
Expand Down
6 changes: 3 additions & 3 deletions src/blocks/battery/upower.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const DISPLAY_DEVICE_PATH: ObjectPath =

struct DeviceConnection {
device_proxy: DeviceProxy<'static>,
changes: PropertiesChangedStream<'static>,
changes: PropertiesChangedStream,
}

impl DeviceConnection {
Expand Down Expand Up @@ -99,8 +99,8 @@ pub(super) struct Device {
device: DeviceName,
dev_model: Option<String>,
device_conn: Option<DeviceConnection>,
device_added_stream: DeviceAddedStream<'static>,
device_removed_stream: DeviceRemovedStream<'static>,
device_added_stream: DeviceAddedStream,
device_removed_stream: DeviceRemovedStream,
}

impl Device {
Expand Down
4 changes: 2 additions & 2 deletions src/blocks/bluetooth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -398,14 +398,14 @@ impl Device {
.error("Failed to create PropertiesProxy")?,
device: Device1Proxy::builder(manager_proxy.inner().connection())
// No caching because https://github.com/greshake/i3status-rust/issues/1565#issuecomment-1379308681
.cache_properties(zbus::CacheProperties::No)
.cache_properties(zbus::proxy::CacheProperties::No)
.path(path.clone())
.unwrap()
.build()
.await
.error("Failed to create Device1Proxy")?,
battery: Battery1Proxy::builder(manager_proxy.inner().connection())
.cache_properties(zbus::CacheProperties::No)
.cache_properties(zbus::proxy::CacheProperties::No)
.path(path)
.unwrap()
.build()
Expand Down
Loading

0 comments on commit c228cd9

Please sign in to comment.