From a90c992812621395a7de8b7cd79b59d595500ea0 Mon Sep 17 00:00:00 2001 From: Thorsten Hans Date: Wed, 30 Oct 2024 07:10:02 +0000 Subject: [PATCH 1/2] fix: remove mod bindings definition Signed-off-by: GitHub --- templates/command-rust/content/src/main.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/templates/command-rust/content/src/main.rs b/templates/command-rust/content/src/main.rs index 924116a..d89072f 100644 --- a/templates/command-rust/content/src/main.rs +++ b/templates/command-rust/content/src/main.rs @@ -1,6 +1,3 @@ -#[allow(warnings)] -mod bindings; - fn main() { println!("Hello, Fermyon!"); } From 8fb022907497483377f8a309c023c11cebc2b8b4 Mon Sep 17 00:00:00 2001 From: Thorsten Hans Date: Wed, 30 Oct 2024 07:10:22 +0000 Subject: [PATCH 2/2] chore: bump wit-bindget-rt dependency Signed-off-by: GitHub --- templates/command-rust/content/Cargo.toml.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/command-rust/content/Cargo.toml.tmpl b/templates/command-rust/content/Cargo.toml.tmpl index 05d8bd6..7749e6a 100644 --- a/templates/command-rust/content/Cargo.toml.tmpl +++ b/templates/command-rust/content/Cargo.toml.tmpl @@ -14,6 +14,6 @@ package = "component:{{project-name | kebab_case}}" anyhow = "1" spin-sdk = "3.0.1" spin-executor = "3.0.1" -wit-bindgen-rt = { version = "0.26.0", features = ["bitflags"] } +wit-bindgen-rt = { version = "0.34.0", features = ["bitflags"] } [workspace]