diff --git a/rust/Cargo.toml b/rust/Cargo.toml
index 6e2475d875..36ab33dc58 100644
--- a/rust/Cargo.toml
+++ b/rust/Cargo.toml
@@ -5,6 +5,10 @@ members = [
"agama-derive",
"agama-lib",
"agama-locale-data",
- "agama-settings"
+ "agama-settings",
]
+resolver = "2"
+[workspace.package]
+rust-version = "1.74"
+edition = "2021"
diff --git a/rust/agama-dbus-server/Cargo.toml b/rust/agama-dbus-server/Cargo.toml
index 4079ee01ca..6877d621f4 100644
--- a/rust/agama-dbus-server/Cargo.toml
+++ b/rust/agama-dbus-server/Cargo.toml
@@ -2,13 +2,14 @@
name = "agama-dbus-server"
version = "0.1.0"
edition = "2021"
+rust-version.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1.0"
-agama-locale-data = { path="../agama-locale-data" }
-agama-lib = { path="../agama-lib" }
+agama-locale-data = { path = "../agama-locale-data" }
+agama-lib = { path = "../agama-lib" }
log = "0.4"
simplelog = "0.12.1"
systemd-journal-logger = "1.0"
diff --git a/rust/agama-dbus-server/src/network/action.rs b/rust/agama-dbus-server/src/network/action.rs
index 568410d579..0b3d00b5c2 100644
--- a/rust/agama-dbus-server/src/network/action.rs
+++ b/rust/agama-dbus-server/src/network/action.rs
@@ -23,11 +23,17 @@ pub enum Action {
),
/// Gets a connection
GetConnection(Uuid, Responder