Skip to content

Commit

Permalink
feat!: use updated passthrough
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Volosatovs <[email protected]>
  • Loading branch information
rvolosatovs committed Sep 23, 2024
1 parent 4a3c5c5 commit 6817d4e
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 5 deletions.
29 changes: 26 additions & 3 deletions Cargo.lock

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

5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ http = { version = "1", default-features = false }
tokio = { version = "1", default-features = false }
tracing = { version = "0.1", default-features = false }
tracing-subscriber = { version = "0.3", default-features = false }
wasi-passthrough = { version = "0.1.2", default-features = false }
wasi-passthrough = { version = "0.3.2", default-features = false }
wasi-passthrough-ext = { version = "0.1.4", default-features = false }
wasi-passthrough-keyvalue = { version = "0.1.1", default-features = false }
wasi-passthrough-logging = { version = "0.1.1", default-features = false }
wasi-preview1-component-adapter-provider = { version = "24", default-features = false }
wasmparser = { version = "0.217", default-features = false }
wasmtime = { version = "24", default-features = false }
Expand Down
5 changes: 4 additions & 1 deletion crates/passthrough/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "west-passthrough"
version = "0.1.1"
version = "0.1.2"
description = "WebAssembly component, which reexports WASI from the host"

authors.workspace = true
Expand All @@ -13,4 +13,7 @@ repository.workspace = true
crate-type = ["cdylib"]

[dependencies]
wit-bindgen = { workspace = true }
wasi-passthrough = { workspace = true }
wasi-passthrough-ext = { workspace = true }
wasi-passthrough-logging = { workspace = true }
2 changes: 2 additions & 0 deletions crates/passthrough/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
use wasi_passthrough as _;
use wasi_passthrough_ext as _;
use wasi_passthrough_logging as _;
1 change: 1 addition & 0 deletions tests/components/wasi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ crate-type = ["cdylib"]

[dependencies]
wasi-passthrough = { workspace = true }
wasi-passthrough-ext = { workspace = true }
wit-bindgen = { workspace = true, features = ["realloc", "macros"] }
1 change: 1 addition & 0 deletions tests/components/wasi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ mod bindings {
use core::iter::{self, zip};

use wasi_passthrough::bindings::wasi::io::streams::{InputStream, OutputStream};
use wasi_passthrough_ext as _;

pub struct Handler;

Expand Down

0 comments on commit 6817d4e

Please sign in to comment.