Skip to content

Commit

Permalink
Merge pull request #19 from golemcloud/update-rust-examples
Browse files Browse the repository at this point in the history
Fix rust examples
  • Loading branch information
vigoo authored Mar 3, 2024
2 parents 0ed3d6c + 981ebe5 commit 53e3f00
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion examples/rust/rust-actor-full/Cargo.toml._
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ lto = true
opt-level = 's'

[dependencies]
wit-bindgen = { version = "0.16.0", default-features = false, features = ["realloc"] }
wit-bindgen = { version = "0.17.0", default-features = false, features = ["realloc"] }

fs = "0.0.5"
rand = "0.8.5"
Expand Down
4 changes: 2 additions & 2 deletions examples/rust/rust-actor-minimal/Cargo.toml._
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ lto = true
opt-level = 's'

[dependencies]
wit-bindgen = { version = "0.16.0", default-features = false, features = ["realloc"] }
wit-bindgen = { version = "0.17.0", default-features = false, features = ["realloc"] }

[package.metadata.component.target]
path = "wit"

[package.metadata.component.dependencies]
[package.metadata.component.target.dependencies]
4 changes: 2 additions & 2 deletions examples/rust/rust-auction/auction-registry/Cargo.toml._
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ crate-type = ["cdylib"]
once_cell = "1.17.1"
rand = "0.8.5"
uuid = { version = "1.4.1", features = ["v4", "serde"] }
wit-bindgen = { version = "0.16.0", default-features = false, features = ["realloc"] }
wit-bindgen = { version = "0.17.0", default-features = false, features = ["realloc"] }
reqwest = { git = "https://github.com/zivergetech/reqwest", branch = "update-feb-2024", features = ["json"] }
serde = { version = "1.0.130", features = ["derive"] }

[package.metadata.component.target]
path = "wit"

[package.metadata.component.dependencies]
[package.metadata.component.target.dependencies]
4 changes: 2 additions & 2 deletions examples/rust/rust-auction/auction/Cargo.toml._
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ crate-type = ["cdylib"]
once_cell = "1.17.1"
rand = "0.8.5"
uuid = { version = "1.4.1", features = ["v4"] }
wit-bindgen = { version = "0.16.0", default-features = false, features = ["realloc"] }
wit-bindgen = { version = "0.17.0", default-features = false, features = ["realloc"] }

[package.metadata.component.target]
path = "wit"

[package.metadata.component.dependencies]
[package.metadata.component.target.dependencies]
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ opt-level = 's'
[package.metadata.component.target]
path = "wit"

[package.metadata.component.dependencies]
[package.metadata.component.target.dependencies]

[dependencies]
lib = { path = "../lib" }
wit-bindgen = { version = "0.16.0", default-features = false, features = ["realloc"] }
wit-bindgen = { version = "0.17.0", default-features = false, features = ["realloc"] }
4 changes: 2 additions & 2 deletions examples/rust/rust-shopping-cart/Cargo.toml._
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ opt-level = 's'
[dependencies]
once_cell = "1.17.1"
rand = "0.8.5"
wit-bindgen = { version = "0.16.0", default-features = false, features = ["realloc"] }
wit-bindgen = { version = "0.17.0", default-features = false, features = ["realloc"] }

[package.metadata.component.target]
path = "wit"

[package.metadata.component.dependencies]
[package.metadata.component.target.dependencies]
2 changes: 1 addition & 1 deletion examples/rust/rust-todo-list/Cargo.toml._
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ opt-level = 's'
chrono = "~0.4.26"
once_cell = "~1.18.0"
rand = "0.8.5"
wit-bindgen = { version = "0.16.0", default-features = false, features = ["realloc"] }
wit-bindgen = { version = "0.17.0", default-features = false, features = ["realloc"] }

[dependencies.uuid]
version = "~1.4.0"
Expand Down

0 comments on commit 53e3f00

Please sign in to comment.