Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
106 changes: 57 additions & 49 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 3 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,27 +29,24 @@ members = [
"crates/http-latch-n",
"crates/http-utils",
"crates/test-harness",
"crates/wasip3-rt",
]

[workspace.package]
version = "0.1.1-dev"

[workspace.dependencies]
bytes = "1"
http = "1"
http-body-util = "0.1"
http-latch = { path = "./crates/http-latch" }
http-latch-n = { path = "./crates/http-latch-n" }
http-utils = { path = "./crates/http-utils" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
test-harness = { path = "./crates/test-harness" }
wasip3-rt = { path = "./crates/wasip3-rt" }
tokio = { version = "1", features = ["macros", "rt-multi-thread", "sync"] }
wac-graph = "0.12"
wasmtime = { version = "50", features = ["component-model-async"] }
wasmtime-wasi = { version = "50", features = ["p3"] }
wasmtime-wasi-http = { version = "50", default-features = false, features = ["p3", "component-model-async"] }
wit-bindgen = "0.62.0"
wit-bindgen = "0.63.0"

[profile.release]
opt-level = "s"
Expand Down
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
# This repository builds with its own build, its components and cli exist to smoke test it, see
# README.md

# wasi-libc main for WebAssembly/wasi-libc#884, threads that outlive the sync export that spawned them
# corrupt the heap with wasi-sdk 34's sysroot
WASI_LIBC_VERSION := f6e9006376e6f8e8f91ab84fc956be4e345588bc
# the WASI version of the components' WIT, wasi-libc imports 0.3.2
WASI_LIBC_WASI_VERSION := 0.3.0

include build/build.mk

test: check-components validate-components
10 changes: 8 additions & 2 deletions components/client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,16 @@ license = "Apache-2.0"
crate-type = ["cdylib"]

[dependencies]
url = "2.5"
wit-bindgen = { workspace = true, features = ["async-spawn"] }
url = { version = "2.5", default-features = false }
# without std, see crates/wasip3-rt
wasip3-rt = { workspace = true }
wit-bindgen = { version = "0.63.0", default-features = false, features = ["macros", "realloc", "async"] }

[dev-dependencies]
test-harness = { workspace = true }
tokio = { workspace = true }
wasmtime = { workspace = true }

[package.metadata.componentized]
# built for wasm32-wasip3, see build/components.mk
target = "wasm32-wasip3"
Loading
Loading