Files
wasmtime/crates/wasi-common/cap-std-sync/Cargo.toml
Dan Gohman c59bb8db39 Update several dependencies. (#6171)
This updates to rustix 0.37.13, which contains some features we can use to
implement more features in wasi-common for the wasi-sockets API. This also
pulls in several other updates to avoid having multiple versions of rustix.

This does introduce multiple versions of windows-sys, as the errno and tokio
crates are currently using 0.45 while rustix and other dependencies have
updated to 0.48; PRs updating these are already in flight so this will
hopefully be resolved soon.

It also includes cap-std 1.0.14, which disables the use of `openat2` and
`statx` on Android, fixing a bug where some Android devices crash the
process when those syscalls are executed.
2023-04-20 14:03:49 +00:00

44 lines
1.1 KiB
TOML

[package]
name = "wasi-cap-std-sync"
version.workspace = true
authors.workspace = true
description = "WASI implementation in Rust"
license = "Apache-2.0 WITH LLVM-exception"
categories = ["wasm"]
keywords = ["webassembly", "wasm"]
repository = "https://github.com/bytecodealliance/wasmtime"
readme = "README.md"
edition.workspace = true
include = ["src/**/*", "README.md", "LICENSE" ]
[dependencies]
wasi-common = { workspace = true }
async-trait = { workspace = true }
anyhow = { workspace = true }
cap-std = { workspace = true }
cap-fs-ext = "1.0.0"
cap-time-ext = "1.0.0"
cap-rand = { workspace = true }
fs-set-times = "0.19.0"
system-interface = { version = "0.25.0", features = ["cap_std_impls"] }
tracing = { workspace = true }
io-lifetimes = { workspace = true }
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.17.0"
rustix = { workspace = true, features = ["net"] }
[target.'cfg(windows)'.dependencies.windows-sys]
workspace = true
features = [
"Win32_Foundation",
]
[dev-dependencies]
tempfile = "3.1.0"