From 1bc532848ffd52a96a81d3dffacb4c053ce60d1e Mon Sep 17 00:00:00 2001 From: auronandace Date: Mon, 23 Mar 2026 08:32:25 +0000 Subject: [PATCH] specify workspace dependencies --- Cargo.toml | 20 ++++++++++++++------ redox-rt/Cargo.toml | 12 ++++++------ 2 files changed, 20 insertions(+), 12 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6496aac703..ff7819cbfb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -62,11 +62,19 @@ unused_variables = "allow" # TODO review occurrences (too many for now) [lints] workspace = true +[workspace.dependencies] +bitflags = "2" +ioslice = { version = "0.6", default-features = false } +plain = "0.2" +redox-path = "0.3" +redox_protocols = { package = "libredox", version = "0.1.14", default-features = false, features = ["protocol"] } +redox_syscall = "0.7.3" + [build-dependencies] cc = "1" [dependencies] -bitflags = "2" +bitflags.workspace = true cbitset = "0.2" posix-regex = { version = "0.1.4", features = ["no_std"] } @@ -75,7 +83,7 @@ rand_xorshift = "0.5" rand_jitter = "0.6" memchr = { version = "2.2.0", default-features = false } -plain = "0.2" +plain.workspace = true unicode-width = "0.1" __libc_only_for_layout_checks = { package = "libc", version = "0.2.149", optional = true } md5-crypto = { package = "md-5", version = "0.10.6", default-features = false } @@ -110,15 +118,15 @@ features = ["elf", "read_core"] sc = "0.2.7" [target.'cfg(target_os = "redox")'.dependencies] -redox_syscall = "0.7.3" +redox_syscall.workspace = true redox-rt = { path = "redox-rt" } -redox-path = "0.3" +redox-path.workspace = true redox_event = { version = "0.4.6", default-features = false, features = [ "redox_syscall", ] } -ioslice = { version = "0.6", default-features = false } +ioslice.workspace = true redox-ioctl = { path = "redox-ioctl" } -redox_protocols = { package = "libredox", version = "0.1.14", default-features = false, features = ["protocol"] } +redox_protocols.workspace = true [features] # to enable trace level, take out this `no_trace` diff --git a/redox-rt/Cargo.toml b/redox-rt/Cargo.toml index 5cb52d17a9..773af3bbef 100644 --- a/redox-rt/Cargo.toml +++ b/redox-rt/Cargo.toml @@ -9,13 +9,13 @@ description = "Libc-independent runtime for Redox" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -bitflags = "2" +bitflags.workspace = true goblin = { version = "0.10", default-features = false, features = ["elf32", "elf64", "endian_fd"] } -plain = "0.2" -ioslice = { version = "0.6", default-features = false } -redox_syscall = "0.7" -redox-path = "0.3.0" -redox_protocols = { package = "libredox", version = "0.1.14", default-features = false, features = ["protocol"] } +plain.workspace = true +ioslice.workspace = true +redox_syscall.workspace = true +redox-path.workspace = true +redox_protocols.workspace = true generic-rt = { path = "../generic-rt" }