wasmtime-wasi-http 13.0.0

Experimental HTTP library for WebAssembly in Wasmtime
Documentation
[package]
name = "wasmtime-wasi-http"
version.workspace = true
authors.workspace = true
edition.workspace = true
repository = "https://github.com/bytecodealliance/wasmtime"
license = "Apache-2.0 WITH LLVM-exception"
description = "Experimental HTTP library for WebAssembly in Wasmtime"

[dependencies]
anyhow = { workspace = true }
async-trait = { workspace = true }
bytes = { workspace = true }
futures = { workspace = true, default-features = false }
hyper = { version = "=1.0.0-rc.3", features = ["full"] }
tokio = { version = "1", default-features = false, features = [
    "net",
    "rt-multi-thread",
    "time",
] }
http = { version = "0.2.9" }
http-body = "1.0.0-rc.2"
http-body-util = "0.1.0-rc.2"
thiserror = { workspace = true }
tracing = { workspace = true }
wasmtime-wasi = { workspace = true, default-features = false, features = [
    "preview2",
] }
wasmtime = { workspace = true, features = ['component-model'] }

# The `ring` crate, used to implement TLS, does not build on riscv64 or s390x
[target.'cfg(not(any(target_arch = "riscv64", target_arch = "s390x")))'.dependencies]
tokio-rustls = { version = "0.24.0" }
rustls = { version = "0.21.6" }
webpki-roots = { version = "0.25.2" }

[features]
default = ["sync"]
sync = ["wasmtime-wasi/sync"]