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] 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!"); }