From d3a45f4686266e710a0c2124e0ca0e49a4dba12e Mon Sep 17 00:00:00 2001 From: Jorge Prendes Date: Thu, 3 Jul 2025 13:57:26 +0100 Subject: [PATCH 1/2] fix crates metadata for publishing Signed-off-by: Jorge Prendes --- Cargo.lock | 15 +++++++++------ Cargo.toml | 9 +++++++++ src/hyperlight_wasm/Cargo.toml | 16 ++++++++++------ src/hyperlight_wasm_aot/Cargo.toml | 12 ++++++++++-- 4 files changed, 38 insertions(+), 14 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 42b5697..7150bb5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -464,9 +464,12 @@ dependencies = [ [[package]] name = "cobs" -version = "0.2.3" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67ba02a97a2bd10f4b59b25c7973101c79642302776489e030cd13cdab09ed15" +checksum = "0fa961b519f0b462e3a3b4a34b64d119eeaca1d59af726fe450bbba07a9fc0a1" +dependencies = [ + "thiserror 2.0.12", +] [[package]] name = "colorchoice" @@ -1747,9 +1750,9 @@ checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94" [[package]] name = "mach2" -version = "0.4.2" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19b955cdeb2a02b9117f121ce63aa52d08ade45de53e48fe6a38b39c10f6f709" +checksum = "d640282b302c0bb0a2a8e0233ead9035e3bed871f0b7e81fe4a1ec829765db44" dependencies = [ "libc", ] @@ -2089,9 +2092,9 @@ dependencies = [ [[package]] name = "postcard" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "170a2601f67cc9dba8edd8c4870b15f71a6a2dc196daec8c83f72b59dff628a8" +checksum = "6c1de96e20f51df24ca73cafcc4690e044854d803259db27a00a461cb3b9d17a" dependencies = [ "cobs", "embedded-io 0.4.0", diff --git a/Cargo.toml b/Cargo.toml index edcb32f..633f05f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,5 +3,14 @@ members = [ "src/hyperlight_wasm", "src/examples_common", "src/hyperlight_wasm_a exclude = [ "src/wasm_runtime", "src/rust_wasm_samples", "src/hyperlight_wasm_macro", "src/component_sample" ] resolver = "2" +[workspace.package] +version = "0.7.0" +edition = "2024" +rust-version = "1.85" +license = "Apache-2.0" +homepage = "https://github.com/hyperlight-dev/hyperlight-wasm" +repository = "https://github.com/hyperlight-dev/hyperlight-wasm" +readme = "README.md" + [workspace.dependencies] hyperlight-host = { version = "0.7.0", default-features = false, features = ["executable_heap", "init-paging"] } diff --git a/src/hyperlight_wasm/Cargo.toml b/src/hyperlight_wasm/Cargo.toml index 7223b52..7e3280b 100644 --- a/src/hyperlight_wasm/Cargo.toml +++ b/src/hyperlight_wasm/Cargo.toml @@ -1,11 +1,15 @@ [package] name = "hyperlight-wasm" -version = "0.7.0" -edition = "2024" -rust-version = "1.85" -description = "Library that enables wasm modules and components to be run inside lightweight Virtual Machine backed Sandbox. It is built on top of Hyperlight." -license = "Apache-2.0" -repository = "https://github.com/hyperlight-dev/hyperlight-wasm" +version.workspace = true +edition.workspace = true +rust-version.workspace = true +license.workspace = true +homepage.workspace = true +repository.workspace = true +readme.workspace = true +description = """ +Library that enables wasm modules and components to be run inside lightweight Virtual Machine backed Sandbox. It is built on top of Hyperlight. +""" include = [ "/src", "/scripts", diff --git a/src/hyperlight_wasm_aot/Cargo.toml b/src/hyperlight_wasm_aot/Cargo.toml index dc0d633..d96ce17 100644 --- a/src/hyperlight_wasm_aot/Cargo.toml +++ b/src/hyperlight_wasm_aot/Cargo.toml @@ -1,7 +1,15 @@ [package] name = "hyperlight-wasm-aot" -version = "0.7.0" -edition = "2024" +version.workspace = true +edition.workspace = true +rust-version.workspace = true +license.workspace = true +homepage.workspace = true +repository.workspace = true +readme.workspace = true +description = """ +Application to precompile WebAssembly binaries to for hyperlight-wasm. +""" [dependencies] wasmtime = { version = "34.0.1", default-features = false, features = ["cranelift", "runtime", "component-model" ] } From 4ca1460047dd4459df1d26096822a292579e34aa Mon Sep 17 00:00:00 2001 From: Jorge Prendes Date: Thu, 3 Jul 2025 13:59:38 +0100 Subject: [PATCH 2/2] fix creating release branch Signed-off-by: Jorge Prendes --- .github/workflows/CreateReleaseBranch.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CreateReleaseBranch.yml b/.github/workflows/CreateReleaseBranch.yml index 0bf756f..ac34228 100644 --- a/.github/workflows/CreateReleaseBranch.yml +++ b/.github/workflows/CreateReleaseBranch.yml @@ -25,7 +25,7 @@ jobs: run: | git checkout -b release/${GITHUB_REF_NAME} just make-vendor-tar - sed '/vendor.tar/d' ./src/hyperlight_wasm/.gitignore + sed -i '/vendor.tar/d' ./src/hyperlight_wasm/.gitignore git add ./src/hyperlight_wasm/vendor.tar git add ./src/hyperlight_wasm/.gitignore git commit -m "Vendor dependencies for release ${GITHUB_REF_NAME}" -s -S