Skip to content

Commit

Permalink
updated README version references to 0.2.1 and cleaned up the wit.toml (
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinrp authored Aug 2, 2024
1 parent f922a15 commit 6ec7dc1
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 25 deletions.
14 changes: 7 additions & 7 deletions wasip2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ WASI Preview 2 contains the following APIs:

| Proposal | Versions |
| ------------------ | -------- |
| [wasi-io] | 0.2.0 |
| [wasi-clocks] | 0.2.0 |
| [wasi-random] | 0.2.0 |
| [wasi-filesystem] | 0.2.0 |
| [wasi-sockets] | 0.2.0 |
| [wasi-cli] | 0.2.0 |
| [wasi-http] | 0.2.0 |
| [wasi-io] | 0.2.1 |
| [wasi-clocks] | 0.2.1 |
| [wasi-random] | 0.2.1 |
| [wasi-filesystem] | 0.2.1 |
| [wasi-sockets] | 0.2.1 |
| [wasi-cli] | 0.2.1 |
| [wasi-http] | 0.2.1 |

[wasi-io]: https://github.com/WebAssembly/wasi-io
[wasi-clocks]: https://github.com/WebAssembly/wasi-clocks
Expand Down
3 changes: 0 additions & 3 deletions wasip2/cli/wit.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,3 @@ version = "0.2.1"
"wasi:filesystem" = { path = "../filesystem" }
"wasi:sockets" = { path = "../sockets" }
"wasi:random" = { path = "../random" }

[registries]
default = "https://ghcr.io/webassembly"
5 changes: 1 addition & 4 deletions wasip2/clocks/wit.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
version = "0.2.1"

[dependencies]
"ricochet:io" = { path = "../io" }

[registries]
default = "https://ghcr.io/"
"wasi:io" = { path = "../io" }
3 changes: 0 additions & 3 deletions wasip2/filesystem/wit.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,3 @@ version = "0.2.1"
[dependencies]
"wasi:io" = { path = "../io" }
"wasi:clocks" = { path = "../clocks" }

[registries]
default = "https://ghcr.io/"
9 changes: 2 additions & 7 deletions wasip2/http/wit.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
version = "0.2.1"

[dependencies]
"wasi:cli" = { path = "../cli" }
"wasi:random" = { path = "../random" }
"wasi:io" = { path = "../io" }
"wasi:clocks" = { path = "../clocks" }

# not used by http/proxy, but included to allow full contents of wasi-cli to validate
"wasi:cli" = { path = "../cli" }
"wasi:filesystem" = { path = "../filesystem" }
"wasi:random" = { path = "../random" }
"wasi:sockets" = { path = "../sockets" }

[registries]
default = "https://ghcr.io/"
2 changes: 1 addition & 1 deletion wasip2/sockets/wit.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version = "0.2.1"

[dependencies]
"wasi:clocks" = { path = "../clocks" }
"wasi:io" = { path = "../io" }
"wasi:clocks" = { path = "../clocks" }

0 comments on commit 6ec7dc1

Please sign in to comment.