[[test]]
harness = false
name = "process_stdin"
[dependencies.anyhow]
version = "1.0.22"
[dependencies.async-trait]
optional = true
version = "0.1.71"
[dependencies.bitflags]
optional = true
version = "2.0"
[dependencies.bytes]
version = "1.4"
[dependencies.cap-fs-ext]
optional = true
version = "2.0.0"
[dependencies.cap-net-ext]
optional = true
version = "2.0.0"
[dependencies.cap-rand]
features = ["small_rng"]
optional = true
version = "2.0.0"
[dependencies.cap-std]
optional = true
version = "2.0.0"
[dependencies.cap-time-ext]
optional = true
version = "2.0.0"
[dependencies.cfg-if]
optional = true
version = "1.0"
[dependencies.fs-set-times]
optional = true
version = "0.20.0"
[dependencies.futures]
default-features = false
optional = true
version = "0.3.27"
[dependencies.io-lifetimes]
default-features = false
optional = true
version = "2.0.2"
[dependencies.log]
default-features = false
version = "0.4.8"
[dependencies.once_cell]
version = "1.12.0"
[dependencies.system-interface]
features = ["cap_std_impls"]
optional = true
version = "0.26.0"
[dependencies.thiserror]
optional = true
version = "1.0.43"
[dependencies.tokio]
features = ["rt", "time", "time", "sync", "io-std", "io-util", "rt", "rt-multi-thread", "net"]
optional = true
version = "1.26.0"
[dependencies.tracing]
optional = true
version = "0.1.26"
[dependencies.url]
version = "2.3.1"
[dependencies.wasi-common]
default-features = false
features = ["sync"]
optional = true
version = "=18.0.4"
[dependencies.wasmtime]
default-features = false
version = "18.0.4"
[dependencies.wiggle]
default-features = false
features = ["wasmtime"]
optional = true
version = "=18.0.4"
[dev-dependencies.tempfile]
version = "3.1.0"
[dev-dependencies.test-log]
default-features = false
features = ["trace"]
version = "0.2"
[dev-dependencies.tokio]
features = ["rt", "time", "time", "sync", "io-std", "io-util", "rt", "rt-multi-thread", "net", "macros"]
version = "1.26.0"
[dev-dependencies.tracing-subscriber]
default-features = false
features = ["fmt", "env-filter", "ansi", "tracing-log"]
version = "0.3.1"
[dev-dependencies.wasmtime]
default-features = false
features = ["cranelift"]
version = "18.0.4"
[features]
default = ["wasi-common-deprecations", "preview2", "preview1-on-preview2"]
exit = ["wasi-common-deprecations", "dep:cfg-if"]
preview1-on-preview2 = ["preview2", "wiggle"]
preview2 = ["wasmtime/component-model", "wasmtime/async", "wasmtime/runtime", "dep:thiserror", "dep:tracing", "dep:cap-std", "dep:cap-rand", "dep:cap-fs-ext", "dep:cap-net-ext", "dep:cap-time-ext", "dep:io-lifetimes", "dep:fs-set-times", "dep:bitflags", "dep:async-trait", "dep:system-interface", "dep:rustix", "dep:tokio", "dep:futures"]
tokio = ["wasi-common?/tokio", "wasi-common-deprecations"]
wasi-common-deprecations = ["dep:wasi-common"]
[lints.clippy]
all = "allow"
[lints.rust]
trivial_numeric_casts = "warn"
unstable_features = "warn"
unused_extern_crates = "warn"
unused_import_braces = "warn"
[package]
authors = ["The Wasmtime Project Developers"]
categories = ["wasm"]
description = "WASI implementation in Rust"
edition = "2021"
include = ["src/**/*", "README.md", "LICENSE", "witx/*", "wit/**/*", "tests/*"]
keywords = ["webassembly", "wasm"]
license = "Apache-2.0 WITH LLVM-exception"
name = "wasmtime-wasi"
readme = "README.md"
repository = "https://github.com/bytecodealliance/wasmtime"
version = "18.0.4"
[target."cfg(unix)".dependencies.rustix]
features = ["event", "fs", "net"]
optional = true
version = "0.38.21"
[target."cfg(windows)".dependencies.io-extras]
version = "0.18.0"
[target."cfg(windows)".dependencies.rustix]
features = ["event", "net"]
optional = true
version = "0.38.21"
[target."cfg(windows)".dependencies.windows-sys]
version = "0.52.0"