diff --git a/crates/wasm-compose/example/middleware/Cargo.toml b/crates/wasm-compose/example/middleware/Cargo.toml index d1b603b93e..91d426e269 100644 --- a/crates/wasm-compose/example/middleware/Cargo.toml +++ b/crates/wasm-compose/example/middleware/Cargo.toml @@ -6,7 +6,7 @@ publish = false [dependencies] flate2 = "1.0.24" -cargo-component-bindings = { git = "https://github.com/dicej/cargo-component", branch = "update-deps" } +cargo-component-bindings = { git = "https://github.com/bytecodealliance/cargo-component" } [lib] crate-type = ["cdylib"] diff --git a/crates/wasm-compose/example/server/config.yml b/crates/wasm-compose/example/server/config.yml index daf8bea0fc..36715256b3 100644 --- a/crates/wasm-compose/example/server/config.yml +++ b/crates/wasm-compose/example/server/config.yml @@ -4,5 +4,4 @@ search-paths: instantiations: $input: arguments: - # TODO: add package version (but note that `wit-bindgen` 0.13.0 doesn't seem to handle it correctly) - example:service/handler: svc + example:service/handler@0.1.0: svc diff --git a/crates/wasm-compose/example/service.wit b/crates/wasm-compose/example/service.wit index 852f6c9bb1..bafc189453 100644 --- a/crates/wasm-compose/example/service.wit +++ b/crates/wasm-compose/example/service.wit @@ -1,5 +1,4 @@ -// TODO: add package version (but note that `wit-bindgen` 0.13.0 doesn't seem to handle it correctly) -package example:service +package example:service@0.1.0 interface types { resource request { diff --git a/crates/wasm-compose/example/service/Cargo.toml b/crates/wasm-compose/example/service/Cargo.toml index b9c271e59b..ba9e6c0eca 100644 --- a/crates/wasm-compose/example/service/Cargo.toml +++ b/crates/wasm-compose/example/service/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" publish = false [dependencies] -cargo-component-bindings = { git = "https://github.com/dicej/cargo-component", branch = "update-deps" } +cargo-component-bindings = { git = "https://github.com/bytecodealliance/cargo-component" } [lib] crate-type = ["cdylib"]