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:
Dan Gohman
2022-11-28 15:31:18 -08:00
committed by GitHub
parent 58a5089e48
commit d6d3c49972
8 changed files with 215 additions and 110 deletions

View File

@@ -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]