[package] name = "waki" readme.workspace = true description.workspace = true version.workspace = true authors.workspace = true edition.workspace = true categories.workspace = true keywords.workspace = true repository.workspace = true license.workspace = true [package.metadata.docs.rs] all-features = true [dependencies] waki-macros.workspace = true anyhow.workspace = true serde.workspace = true wit-bindgen = "0.34.0" form_urlencoded = "1.2.1" http = "1.1.0" serde_json = { version = "1.0.128", optional = true } mime = { version = "0.3.17", optional = true } mime_guess = { version = "2.0.5", optional = true } rand = { version = "0.8.5", optional = true } memchr = { version = "2.7.4", optional = true } bytes = { version = "1.7.2", optional = true } httparse = { version = "1.9.4", optional = true } [features] json = ["dep:serde_json"] multipart = ["dep:mime", "dep:mime_guess", "dep:rand", "dep:memchr", "dep:bytes", "dep:httparse"] [dev-dependencies] test-programs-artifacts = { path = "../test-programs/artifacts" } wasmtime = "25.0.0" wasmtime-wasi = "25.0.0" wasmtime-wasi-http = "25.0.0" hyper = "1.4.1" http-body-util = "0.1.2" tokio = { version = "1.40.0", features = ["macros"] }