# 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" name = "waki" version = "0.5.0" authors = ["Xinzhao Xu"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "HTTP client and server library for WASI" readme = "README.md" keywords = [ "webassembly", "wasm", "wasi", ] categories = ["wasm"] license = "Apache-2.0" repository = "https://github.com/wacker-dev/waki" [package.metadata.docs.rs] all-features = true [lib] name = "waki" path = "src/lib.rs" [[test]] name = "all" path = "tests/all/main.rs" [dependencies.anyhow] version = "1.0.89" [dependencies.bytes] version = "1.7.2" optional = true [dependencies.form_urlencoded] version = "1.2.1" [dependencies.http] version = "1.1.0" [dependencies.httparse] version = "1.9.4" optional = true [dependencies.memchr] version = "2.7.4" optional = true [dependencies.mime] version = "0.3.17" optional = true [dependencies.mime_guess] version = "2.0.5" optional = true [dependencies.rand] version = "0.8.5" optional = true [dependencies.serde] version = "1.0.210" [dependencies.serde_json] version = "1.0.128" optional = true [dependencies.waki-macros] version = "0.5.0" [dependencies.wit-bindgen] version = "0.34.0" [dev-dependencies.http-body-util] version = "0.1.2" [dev-dependencies.hyper] version = "1.4.1" [dev-dependencies.tokio] version = "1.40.0" features = ["macros"] [dev-dependencies.wasmtime] version = "25.0.0" [dev-dependencies.wasmtime-wasi] version = "25.0.0" [dev-dependencies.wasmtime-wasi-http] version = "25.0.0" [features] json = ["dep:serde_json"] multipart = [ "dep:mime", "dep:mime_guess", "dep:rand", "dep:memchr", "dep:bytes", "dep:httparse", ]