diff --git a/Cargo.toml b/Cargo.toml index aa53547505..6f5ff73588 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -85,6 +85,8 @@ redox-rt = { git = "https://gitlab.redox-os.org/redox-os/relibc.git", default-fe redox-scheme = "0.9.1" redox_syscall = "0.7.1" redox_termios = "0.1.3" +serde = { version = "1", features = ["derive"] } +toml = "1" [workspace.lints.clippy] precedence = "deny" diff --git a/drivers/acpid/Cargo.toml b/drivers/acpid/Cargo.toml index 8073261312..159fd5dbdc 100644 --- a/drivers/acpid/Cargo.toml +++ b/drivers/acpid/Cargo.toml @@ -19,7 +19,7 @@ rustc-hash = "1.1.0" thiserror = "1" ron = "0.8.1" arrayvec = "0.7.6" -serde = { version = "1.0.228", features = ["derive"] } +serde.workspace = true amlserde = { path = "../amlserde" } common = { path = "../common" } diff --git a/drivers/amlserde/Cargo.toml b/drivers/amlserde/Cargo.toml index ecf129a38b..9abb4541e9 100644 --- a/drivers/amlserde/Cargo.toml +++ b/drivers/amlserde/Cargo.toml @@ -10,5 +10,5 @@ edition = "2021" [dependencies] acpi = { git = "https://github.com/jackpot51/acpi.git" } -serde = { version = "1.0", features = ["derive"] } -toml = "1" +serde.workspace = true +toml.workspace = true diff --git a/drivers/pcid-spawner/Cargo.toml b/drivers/pcid-spawner/Cargo.toml index e650592592..ccdf4164b9 100644 --- a/drivers/pcid-spawner/Cargo.toml +++ b/drivers/pcid-spawner/Cargo.toml @@ -10,8 +10,8 @@ anyhow.workspace = true log.workspace = true pico-args = "0.5" redox_syscall.workspace = true -serde = { version = "1", features = ["derive"] } -toml = "1" +serde.workspace = true +toml.workspace = true config = { path = "../../config" } common = { path = "../common" } diff --git a/drivers/pcid/Cargo.toml b/drivers/pcid/Cargo.toml index f23ac78a94..ac46187be1 100644 --- a/drivers/pcid/Cargo.toml +++ b/drivers/pcid/Cargo.toml @@ -21,7 +21,7 @@ pico-args = { version = "0.5", features = ["combined-flags"] } plain = "0.2" redox-scheme.workspace = true redox_syscall.workspace = true -serde = { version = "1", features = ["derive"] } +serde.workspace = true common = { path = "../common" } daemon = { path = "../../daemon" } diff --git a/drivers/usb/xhcid/Cargo.toml b/drivers/usb/xhcid/Cargo.toml index 033898b7fa..a30bb6339b 100644 --- a/drivers/usb/xhcid/Cargo.toml +++ b/drivers/usb/xhcid/Cargo.toml @@ -22,11 +22,11 @@ log.workspace = true redox_event.workspace = true redox-scheme.workspace = true redox_syscall.workspace = true -serde = { version = "1", features = ["derive"] } +serde.workspace = true serde_json = "1" smallvec = { version = "1", features = ["serde"] } thiserror = "1" -toml = "1" +toml.workspace = true common = { path = "../../common" } daemon = { path = "../../../daemon" } diff --git a/init/Cargo.toml b/init/Cargo.toml index dcd57db3bd..3f63e5292f 100644 --- a/init/Cargo.toml +++ b/init/Cargo.toml @@ -6,9 +6,9 @@ license = "MIT" [dependencies] libredox.workspace = true -serde = { version = "1", features = ["derive"] } +serde.workspace = true serde_json = "1" -toml = "1" +toml.workspace = true config = { path = "../config" } daemon = { path = "../daemon" }