Skip to content

Commit 1cb97ca

Browse files
authored
Add required crate metadata for crates.io (#99)
* fix crates metadata for publishing Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com> * fix creating release branch Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com> --------- Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
1 parent 6966953 commit 1cb97ca

File tree

5 files changed

+39
-15
lines changed

5 files changed

+39
-15
lines changed

.github/workflows/CreateReleaseBranch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
run: |
2626
git checkout -b release/${GITHUB_REF_NAME}
2727
just make-vendor-tar
28-
sed '/vendor.tar/d' ./src/hyperlight_wasm/.gitignore
28+
sed -i '/vendor.tar/d' ./src/hyperlight_wasm/.gitignore
2929
git add ./src/hyperlight_wasm/vendor.tar
3030
git add ./src/hyperlight_wasm/.gitignore
3131
git commit -m "Vendor dependencies for release ${GITHUB_REF_NAME}" -s -S

Cargo.lock

Lines changed: 9 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,14 @@ members = [ "src/hyperlight_wasm", "src/examples_common", "src/hyperlight_wasm_a
33
exclude = [ "src/wasm_runtime", "src/rust_wasm_samples", "src/hyperlight_wasm_macro", "src/component_sample" ]
44
resolver = "2"
55

6+
[workspace.package]
7+
version = "0.7.0"
8+
edition = "2024"
9+
rust-version = "1.85"
10+
license = "Apache-2.0"
11+
homepage = "https://github.com/hyperlight-dev/hyperlight-wasm"
12+
repository = "https://github.com/hyperlight-dev/hyperlight-wasm"
13+
readme = "README.md"
14+
615
[workspace.dependencies]
716
hyperlight-host = { version = "0.7.0", default-features = false, features = ["executable_heap", "init-paging"] }

src/hyperlight_wasm/Cargo.toml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
[package]
22
name = "hyperlight-wasm"
3-
version = "0.7.0"
4-
edition = "2024"
5-
rust-version = "1.85"
6-
description = "Library that enables wasm modules and components to be run inside lightweight Virtual Machine backed Sandbox. It is built on top of Hyperlight."
7-
license = "Apache-2.0"
8-
repository = "https://github.com/hyperlight-dev/hyperlight-wasm"
3+
version.workspace = true
4+
edition.workspace = true
5+
rust-version.workspace = true
6+
license.workspace = true
7+
homepage.workspace = true
8+
repository.workspace = true
9+
readme.workspace = true
10+
description = """
11+
Library that enables wasm modules and components to be run inside lightweight Virtual Machine backed Sandbox. It is built on top of Hyperlight.
12+
"""
913
include = [
1014
"/src",
1115
"/scripts",

src/hyperlight_wasm_aot/Cargo.toml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
[package]
22
name = "hyperlight-wasm-aot"
3-
version = "0.7.0"
4-
edition = "2024"
3+
version.workspace = true
4+
edition.workspace = true
5+
rust-version.workspace = true
6+
license.workspace = true
7+
homepage.workspace = true
8+
repository.workspace = true
9+
readme.workspace = true
10+
description = """
11+
Application to precompile WebAssembly binaries to for hyperlight-wasm.
12+
"""
513

614
[dependencies]
715
wasmtime = { version = "34.0.1", default-features = false, features = ["cranelift", "runtime", "component-model" ] }

0 commit comments

Comments
 (0)