[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 = { workspace = true }
cap-time-ext = { workspace = true }
cap-rand = { workspace = true }
fs-set-times = { workspace = true }
system-interface = { workspace = true, features = ["cap_std_impls"] }
tracing = { workspace = true }
io-lifetimes = { workspace = true }

[target.'cfg(unix)'.dependencies]
rustix = { workspace = true, features = ["fs", "event"] }

[target.'cfg(windows)'.dependencies]
once_cell = { workspace = true }
io-extras = { workspace = true }
rustix = { workspace = true, features = ["net"] }

[target.'cfg(windows)'.dependencies.windows-sys]
workspace = true
features = [
    "Win32_Foundation",
]

[dev-dependencies]
tempfile = "3.1.0"
