specify workspace dependencies

This commit is contained in:
auronandace
2026-03-23 08:32:25 +00:00
parent 2083559d7f
commit 1bc532848f
2 changed files with 20 additions and 12 deletions
+14 -6
View File
@@ -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`
+6 -6
View File
@@ -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" }