Skip to content

Commit

Permalink
Fix "duplicate package" warning when referencing Spin crates
Browse files Browse the repository at this point in the history
Signed-off-by: itowlson <[email protected]>
  • Loading branch information
itowlson committed Oct 19, 2023
1 parent 5fd62d4 commit e068efd
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions examples/wasi-http-rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/wasi-http-rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "http-rust"
name = "wasi-http-rust"
version = "0.1.0"
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion examples/wasi-http-rust/spin.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit e068efd

Please sign in to comment.