Skip to content
This repository was archived by the owner on Nov 25, 2025. It is now read-only.
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
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ or can be manipulated in other ways with:
wasm-tools component wit wit/ ...
```

The HTTP proposal depends on the WASI IO and Logging proposals. For simplicity,
the Wit files for these proposals are currently copied into the `wit/deps`
directory and will be updated periodically to match their respective proposals.
As the Wit tooling develops, we should be able to avoid this form of manual
vendoring.
The `wit/deps` directory contains a live snapshot of the contents of several
other WASI proposals upon which this proposal depends. It is automatically
updated by running [`wit-deps update`](https://crates.io/crates/wit-deps-cli)
in the root directory, which fetches the live contents of the `main` branch of
each proposal. As things stablize, `wit/deps.toml` will be updated to refer to
versioned releases.

### Current Phase

Expand Down
19 changes: 19 additions & 0 deletions wit/deps.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[io]
url = "https://github.com/WebAssembly/wasi-io/archive/main.tar.gz"
sha256 = "7450142aeb3f1688ee2b12853344e262caf6aee0718dc0296316f7f6b3afd91f"
sha512 = "5cc0f60d190e16d6dd52a4ca2fc862f007465e7642e98061b41c90778e1f2b00aeb2543b6fadbb6a137dd548d86e9e55edcfb30388adcc6a160b4cdc29d378ec"

[logging]
url = "https://github.com/WebAssembly/wasi-logging/archive/main.tar.gz"
sha256 = "f378a2b6a36af096528ec5e7031da474990cecaec1949c663befc5066d719f6f"
sha512 = "ba09307b12f5428c3058d878001c9fb15df21933c6203328f785d5009a4fc0cf304950271590d4146305a2d8b8988595f396d955961168cb6bfa7ea9af1cc362"

[poll]
url = "https://github.com/WebAssembly/wasi-poll/archive/main.tar.gz"
sha256 = "065422b0ea6ccb2a9facc6b87b902eef110c53d76fc31f341a6bc8d0b0285b6a"
sha512 = "19a55cd3072a19ae6a1774723a4962e7a155a5ce89a27175e8c76020efb4d00bc92ebb78427d92bcb8effd4f0d03ebf0a0daa747ecd981b8d31d5abc2ad86423"

[random]
url = "https://github.com/WebAssembly/wasi-random/archive/main.tar.gz"
sha256 = "79b6417bb1ab3c82c241c56021e717f258e2a0b3ab94db93907ca11d7f92ed66"
sha512 = "1e657ac56420e65bde75eabea920a605a0ff4adc6f2ba8b7cf1c37a603710449bc1a29568dda2b61c04ae9889d2b1a82b9935d4b9d573eb48a83e0ecf9cad591"
4 changes: 4 additions & 0 deletions wit/deps.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
io = "https://github.com/WebAssembly/wasi-io/archive/main.tar.gz"
logging = "https://github.com/WebAssembly/wasi-logging/archive/main.tar.gz"
poll = "https://github.com/WebAssembly/wasi-poll/archive/main.tar.gz"
random = "https://github.com/WebAssembly/wasi-random/archive/main.tar.gz"
3 changes: 3 additions & 0 deletions wit/deps/io/world.wit
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
default world example-world {
import streams: pkg.streams
}
3 changes: 3 additions & 0 deletions wit/deps/logging/world.wit
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
default world example-world {
import logging: pkg.logging
}
3 changes: 3 additions & 0 deletions wit/deps/poll/world.wit
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
default world example-world {
import poll: pkg.poll
}
3 changes: 3 additions & 0 deletions wit/deps/random/world.wit
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
default world example-world {
import random: pkg.random
}