Skip to content

Commit 1c65c71

Browse files
committed
Use bytecodealliance/wasi-rs for wasi-io
Signed-off-by: Brian Hardock <[email protected]>
1 parent feb5fdb commit 1c65c71

File tree

9 files changed

+34
-370
lines changed

9 files changed

+34
-370
lines changed

Cargo.lock

Lines changed: 22 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ bytes = "1"
3232
hyperium = { package = "http", version = "1.0.0" }
3333
serde_json = { version = "1.0.96", optional = true }
3434
serde = { version = "1.0.163", optional = true }
35+
wasi = { workspace = true }
3536

3637
[features]
3738
default = ["export-sdk-language", "json"]
@@ -93,3 +94,5 @@ homepage = "https://spinframework.dev/rust-components"
9394
wit-bindgen = "0.16.0"
9495
futures = "0.3.28"
9596
once_cell = "1.18.0"
97+
# Pin to the last version that targeted WASI 0.2.0
98+
wasi = "=0.13.1"

crates/executor/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ Spin SDK async executor
1717
[dependencies]
1818
once_cell = "1.18.0"
1919
futures = "0.3.28"
20-
wit-bindgen = { workspace = true }
20+
wasi = { workspace = true }

0 commit comments

Comments
 (0)