97 lines
2.0 KiB
TOML
97 lines
2.0 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2021"
|
|
rust-version = "1.87.0"
|
|
name = "wasip3"
|
|
version = "0.4.0+wasi-0.3.0-rc-2026-01-06"
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "WASIp3 API bindings for Rust"
|
|
documentation = "https://docs.rs/wasip3"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"webassembly",
|
|
"wasm",
|
|
]
|
|
categories = [
|
|
"no-std",
|
|
"wasm",
|
|
]
|
|
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
|
|
repository = "https://github.com/bytecodealliance/wasi-rs"
|
|
|
|
[features]
|
|
http-compat = [
|
|
"dep:bytes",
|
|
"dep:http-body",
|
|
"dep:http",
|
|
"dep:thiserror",
|
|
"wit-bindgen/async-spawn",
|
|
]
|
|
|
|
[lib]
|
|
name = "wasip3"
|
|
path = "src/lib.rs"
|
|
|
|
[[example]]
|
|
name = "cli-command"
|
|
crate-type = ["cdylib"]
|
|
path = "examples/cli-command.rs"
|
|
|
|
[[example]]
|
|
name = "http-proxy"
|
|
crate-type = ["cdylib"]
|
|
path = "examples/http-proxy.rs"
|
|
|
|
[[example]]
|
|
name = "http-proxy-compat"
|
|
crate-type = ["cdylib"]
|
|
path = "examples/http-proxy-compat.rs"
|
|
required-features = ["http-compat"]
|
|
|
|
[dependencies.bytes]
|
|
version = "1.10.1"
|
|
optional = true
|
|
|
|
[dependencies.http]
|
|
version = "1.3.1"
|
|
optional = true
|
|
|
|
[dependencies.http-body]
|
|
version = "1.0.1"
|
|
optional = true
|
|
|
|
[dependencies.thiserror]
|
|
version = "2.0.17"
|
|
optional = true
|
|
|
|
[dependencies.wit-bindgen]
|
|
version = "0.51.0"
|
|
features = ["async"]
|
|
default-features = false
|
|
|
|
[dev-dependencies.futures]
|
|
version = "0.3.31"
|
|
|
|
[dev-dependencies.http]
|
|
version = "1.3.1"
|
|
|
|
[dev-dependencies.wit-bindgen]
|
|
version = "0.51.0"
|
|
features = ["async-spawn"]
|
|
default-features = false
|