Skip to content

Commit

Permalink
update example dependencies
Browse files Browse the repository at this point in the history
This allows us to add a package version to service.wit again.

Signed-off-by: Joel Dice <joel.dice@fermyon.com>
  • Loading branch information
dicej committed Nov 3, 2023
1 parent 3b415f0 commit 263d2c8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion crates/wasm-compose/example/middleware/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
3 changes: 1 addition & 2 deletions crates/wasm-compose/example/server/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 1 addition & 2 deletions crates/wasm-compose/example/service.wit
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion crates/wasm-compose/example/service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 263d2c8

Please sign in to comment.