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

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