diff --git a/examples/wasi-http-rust/Cargo.lock b/examples/wasi-http-rust/Cargo.lock index dedc606b4..1ea30f07c 100644 --- a/examples/wasi-http-rust/Cargo.lock +++ b/examples/wasi-http-rust/Cargo.lock @@ -173,16 +173,6 @@ dependencies = [ "itoa", ] -[[package]] -name = "http-rust" -version = "0.1.0" -dependencies = [ - "anyhow", - "http", - "serde", - "spin-sdk", -] - [[package]] name = "id-arena" version = "2.2.1" @@ -466,6 +456,16 @@ version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" +[[package]] +name = "wasi-http-rust" +version = "0.1.0" +dependencies = [ + "anyhow", + "http", + "serde", + "spin-sdk", +] + [[package]] name = "wasm-encoder" version = "0.35.0" diff --git a/examples/wasi-http-rust/Cargo.toml b/examples/wasi-http-rust/Cargo.toml index afad911a2..3b1dc32e0 100644 --- a/examples/wasi-http-rust/Cargo.toml +++ b/examples/wasi-http-rust/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "http-rust" +name = "wasi-http-rust" version = "0.1.0" edition = "2021" diff --git a/examples/wasi-http-rust/spin.toml b/examples/wasi-http-rust/spin.toml index 46ed20d28..45050117e 100644 --- a/examples/wasi-http-rust/spin.toml +++ b/examples/wasi-http-rust/spin.toml @@ -7,7 +7,7 @@ version = "1.0.0" [[component]] id = "hello" -source = "target/wasm32-wasi/release/http_rust.wasm" +source = "target/wasm32-wasi/release/wasi_http_rust.wasm" description = "A simple component that returns hello." [component.trigger] route = "/hello"