Skip to content

Commit

Permalink
Merge pull request #1914 from itowlson/fix-duplicate-http-rust-package
Browse files Browse the repository at this point in the history
Fix "duplicate package" warning when referencing Spin crates
  • Loading branch information
itowlson authored Oct 19, 2023
2 parents 7daedf5 + e068efd commit 55465da
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 55465da

Please sign in to comment.