Update to cap-std 1.0, io-lifetimes 1.0. (#5330)
The main change here is that io-lifetimes 1.0 switches to use the I/O safety feature in the standard library rather than providing its own copy. This also updates to windows-sys 0.42.0 and rustix 0.36.
This commit is contained in:
@@ -23,7 +23,7 @@ thiserror = "1.0.4"
|
||||
cfg-if = "1.0"
|
||||
rand = { version = "0.8.3", features = ['small_rng'] }
|
||||
anyhow = { workspace = true }
|
||||
memfd = "0.6.1"
|
||||
memfd = "0.6.2"
|
||||
paste = "1.0.3"
|
||||
encoding_rs = { version = "0.8.31", optional = true }
|
||||
|
||||
|
||||
@@ -24,14 +24,14 @@ wiggle = { workspace = true }
|
||||
wasmtime = { workspace = true }
|
||||
tracing = "0.1.19"
|
||||
cap-std = { workspace = true }
|
||||
cap-rand = "0.26.0"
|
||||
cap-rand = "1.0.0"
|
||||
bitflags = "1.2"
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
rustix = { workspace = true, features = ["fs"] }
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
io-extras = "0.15.0"
|
||||
io-extras = "0.17.0"
|
||||
|
||||
[target.'cfg(windows)'.dependencies.windows-sys]
|
||||
workspace = true
|
||||
|
||||
@@ -16,21 +16,21 @@ wasi-common = { workspace = true }
|
||||
async-trait = "0.1"
|
||||
anyhow = { workspace = true }
|
||||
cap-std = { workspace = true }
|
||||
cap-fs-ext = "0.26.0"
|
||||
cap-time-ext = "0.26.0"
|
||||
cap-rand = "0.26.0"
|
||||
fs-set-times = "0.17.0"
|
||||
system-interface = { version = "0.23.0", features = ["cap_std_impls"] }
|
||||
cap-fs-ext = "1.0.0"
|
||||
cap-time-ext = "1.0.0"
|
||||
cap-rand = "1.0.0"
|
||||
fs-set-times = "0.18.0"
|
||||
system-interface = { version = "0.25.0", features = ["cap_std_impls"] }
|
||||
tracing = "0.1.19"
|
||||
io-lifetimes = { version = "0.7.0", default-features = false }
|
||||
is-terminal = "0.3.0"
|
||||
io-lifetimes = { version = "1.0.0", default-features = false }
|
||||
is-terminal = "0.4.0"
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
rustix = { workspace = true, features = ["fs"] }
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
once_cell = { workspace = true }
|
||||
io-extras = "0.15.0"
|
||||
io-extras = "0.17.0"
|
||||
rustix = { workspace = true, features = ["net"] }
|
||||
|
||||
[target.'cfg(windows)'.dependencies.windows-sys]
|
||||
|
||||
@@ -17,15 +17,15 @@ wiggle = { workspace = true }
|
||||
tokio = { version = "1.8.0", features = [ "rt", "fs", "time", "io-util", "net", "io-std", "rt-multi-thread"] }
|
||||
cap-std = { workspace = true }
|
||||
anyhow = { workspace = true }
|
||||
io-lifetimes = { version = "0.7.0", default-features = false }
|
||||
io-lifetimes = { version = "1.0.0", default-features = false }
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
rustix = { workspace = true, features = ["fs"] }
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
io-extras = "0.15.0"
|
||||
io-extras = "0.17.0"
|
||||
|
||||
[dev-dependencies]
|
||||
tempfile = "3.1.0"
|
||||
tokio = { version = "1.8.0", features = [ "macros" ] }
|
||||
cap-tempfile = "0.26.0"
|
||||
cap-tempfile = "1.0.0"
|
||||
|
||||
Reference in New Issue
Block a user