Upgrade dependencies

This commit is contained in:
Ivan Molodetskikh
2024-07-27 09:28:40 +03:00
parent d777810911
commit c506fecc87
4 changed files with 271 additions and 241 deletions

488
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -17,7 +17,7 @@ serde = { version = "1.0.204", features = ["derive"] }
serde_json = "1.0.120"
tracing = { version = "0.1.40", features = ["max_level_trace", "release_max_level_debug"] }
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
tracy-client = { version = "0.17.0", default-features = false }
tracy-client = { version = "0.17.1", default-features = false }
[workspace.dependencies.smithay]
git = "https://github.com/Smithay/smithay.git"
@@ -64,11 +64,11 @@ niri-config = { version = "0.1.7", path = "niri-config" }
niri-ipc = { version = "0.1.7", path = "niri-ipc", features = ["clap"] }
notify-rust = { version = "~4.10.0", optional = true }
ordered-float = "4.2.1"
pango = { version = "0.19.8", features = ["v1_44"] }
pangocairo = "0.19.8"
pango = { version = "0.20.0", features = ["v1_44"] }
pangocairo = "0.20.0"
pipewire = { version = "0.8.0", optional = true }
png = "0.17.13"
portable-atomic = { version = "1.6.0", default-features = false, features = ["float"] }
portable-atomic = { version = "1.7.0", default-features = false, features = ["float"] }
profiling = "1.0.15"
sd-notify = "0.4.2"
serde.workspace = true
@@ -78,7 +78,7 @@ tracing-subscriber.workspace = true
tracing.workspace = true
tracy-client.workspace = true
url = { version = "2.5.2", optional = true }
xcursor = "0.3.5"
xcursor = "0.3.6"
zbus = { version = "~3.15.2", optional = true }
[dependencies.smithay]

View File

@@ -8,9 +8,9 @@ edition.workspace = true
repository.workspace = true
[dependencies]
adw = { version = "0.6.0", package = "libadwaita", features = ["v1_4"] }
adw = { version = "0.7.0", package = "libadwaita", features = ["v1_4"] }
anyhow.workspace = true
gtk = { version = "0.8.2", package = "gtk4", features = ["v4_12"] }
gtk = { version = "0.9.0", package = "gtk4", features = ["v4_12"] }
niri = { version = "0.1.7", path = ".." }
niri-config = { version = "0.1.7", path = "../niri-config" }
smithay.workspace = true

View File

@@ -634,8 +634,16 @@ impl Tty {
return;
};
let scan_result = match device.drm_scanner.scan_connectors(&device.drm) {
Ok(x) => x,
Err(err) => {
warn!("error scanning connectors: {err:?}");
return;
}
};
let mut removed = Vec::new();
for event in device.drm_scanner.scan_connectors(&device.drm) {
for event in scan_result {
match event {
DrmScanEvent::Connected {
connector,