diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b743d72..32a8734 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,7 +8,7 @@ on: env: IMAGE_NAME: ${{ github.repository }} - COMPONENT_NAME: rust-wasi-hello + COMPONENT_NAME: sample-wasi-http-rust CARGO_COMPONENT_VERSION: "0.16.0" jobs: diff --git a/Cargo.lock b/Cargo.lock index 7fdfa45..4118374 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -80,19 +80,19 @@ dependencies = [ ] [[package]] -name = "rust-wasi-hello" +name = "ryu" +version = "1.0.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" + +[[package]] +name = "sample-wasi-http-rust" version = "0.0.0" dependencies = [ "wit-bindgen-rt 0.40.0", "wstd", ] -[[package]] -name = "ryu" -version = "1.0.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" - [[package]] name = "serde" version = "1.0.219" diff --git a/Cargo.toml b/Cargo.toml index 1d95294..85e17d2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "rust-wasi-hello" +name = "sample-wasi-http-rust" version = "0.0.0" edition = "2021" publish = false @@ -8,7 +8,7 @@ publish = false crate-type = ["cdylib"] [package.metadata.component] -package = "component:rust-wasi-hello" +package = "component:sample-wasi-http-rust" # This tells cargo-component to use a special adapter, which doesn't depend on # `get-environment` or other things not present in the proxy world. proxy = true