Skip to content

Commit feebe01

Browse files
committed
fix: update core extension dependencies
1 parent da01de3 commit feebe01

File tree

3 files changed

+58
-55
lines changed

3 files changed

+58
-55
lines changed

extensions/Cargo.lock

Lines changed: 50 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extensions/core/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ crate-type = ["cdylib"] # Compile this crate to a dynamic C library.
88

99
[dependencies]
1010
futures-util = "0.3.31"
11-
godot = { version = "0.3.1", features = [
11+
godot = { version = "0.3.4", features = [
1212
"experimental-threads",
1313
"register-docs",
1414
] }
1515
nix = { version = "0.30.1", features = ["term", "process", "fs"] }
1616
once_cell = "1.21.3"
17-
tokio = { version = "1.45.1", features = ["full"] }
18-
zbus = "5.7.1"
19-
zvariant = "5.5.3"
17+
tokio = { version = "1.47.0", features = ["full"] }
18+
zbus = "5.9.0"
19+
zvariant = "5.6.0"
2020
gamescope-x11-client = { git = "https://github.com/ShadowBlip/gamescope-x11-client", branch = "main" }
2121
inotify = "0.11.0"
2222
byte-unit = "5.1.6"

extensions/core/src/vdf.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ impl Vdf {
7272
};
7373

7474
// Convert the vdf data into a Godot Dictionary
75-
let mut dict = dict! {};
75+
let mut dict = vdict! {};
7676
let key = vdf.key.to_string();
7777
let value = match vdf.value {
7878
Value::Str(value) => value.to_string().to_variant(),
@@ -89,7 +89,7 @@ impl Vdf {
8989
/// Returns an empty [Dictionary] if parse failed.
9090
#[func]
9191
pub fn parse_string(vdf_string: GString) -> Dictionary {
92-
let mut dict = dict! {};
92+
let mut dict = vdict! {};
9393
let data = vdf_string.to_string();
9494

9595
// Try to parse the data
@@ -113,7 +113,7 @@ impl Vdf {
113113

114114
/// Convert the given VDF object into a Godot Dictionary
115115
fn obj_to_dict(obj: Obj) -> Dictionary {
116-
let mut dict = dict! {};
116+
let mut dict = vdict! {};
117117

118118
for vdf in obj.into_vdfs() {
119119
let key = vdf.key.to_string();
@@ -150,7 +150,7 @@ impl Vdf {
150150

151151
/// Convert the given array into a VDF-friendly dictionary
152152
fn array_to_dict(value: &Array<Variant>) -> Dictionary {
153-
let mut dict = dict! {};
153+
let mut dict = vdict! {};
154154
for (i, value) in value.iter_shared().enumerate() {
155155
dict.set(i.to_string(), value);
156156
}

0 commit comments

Comments
 (0)