diff --git a/Cargo.lock b/Cargo.lock index b056df64..f68f4f85 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6604,7 +6604,7 @@ dependencies = [ [[package]] name = "wick-trigger-wasm-command" -version = "0.1.0" +version = "0.1.1" dependencies = [ "async-trait", "parking_lot", diff --git a/Cargo.toml b/Cargo.toml index 4293a9bc..a6496142 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -117,7 +117,7 @@ wick-trigger = { path = "./crates/wick/wick-trigger", version = "0.1.0" } wick-trigger-cli = { path = "./crates/wick/wick-trigger-cli", version = "0.1.0" } wick-trigger-http = { path = "./crates/wick/wick-trigger-http", version = "0.1.0" } wick-trigger-time = { path = "./crates/wick/wick-trigger-time", version = "0.1.0" } -wick-trigger-wasm-command = { path = "./crates/wick/wick-trigger-wasm-command", version = "0.1.0" } +wick-trigger-wasm-command = { path = "./crates/wick/wick-trigger-wasm-command", version = "0.1.1" } wick-wascap = { path = "./crates/wick/wick-wascap", version = "0.3.0" } wick-wasm-engine = { path = "./crates/wick/wick-wasm-engine", version = "0.1.0" } wick-xdg = { path = "./crates/wick/wick-xdg", version = "0.4.0" } diff --git a/crates/wick/wick-trigger-wasm-command/Cargo.toml b/crates/wick/wick-trigger-wasm-command/Cargo.toml index f5fd8ab2..627a36de 100644 --- a/crates/wick/wick-trigger-wasm-command/Cargo.toml +++ b/crates/wick/wick-trigger-wasm-command/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wick-trigger-wasm-command" -version = "0.1.0" +version = "0.1.1" edition = "2021" license = "Elastic-2.0" repository = "https://github.com/candlecorp/wick" diff --git a/crates/wick/wick-trigger-wasm-command/src/state.rs b/crates/wick/wick-trigger-wasm-command/src/state.rs index 564b6e04..b89578ae 100644 --- a/crates/wick/wick-trigger-wasm-command/src/state.rs +++ b/crates/wick/wick-trigger-wasm-command/src/state.rs @@ -5,7 +5,6 @@ pub(super) mod generated { use wasmtime::component::bindgen; bindgen!({ world: "command-trigger", - path: "../../../wit/", async:true, }); } diff --git a/crates/wick/wick-trigger-wasm-command/wit/worlds.wit b/crates/wick/wick-trigger-wasm-command/wit/worlds.wit new file mode 100644 index 00000000..571031e1 --- /dev/null +++ b/crates/wick/wick-trigger-wasm-command/wit/worlds.wit @@ -0,0 +1,5 @@ +package candle:wick + +world command-trigger { +} +