Skip to content

Commit 57b632d

Browse files
committed
add missing Cargo.toml fields for publishing to crates.io
Signed-off-by: Jorge Prendes <[email protected]>
1 parent 08503d4 commit 57b632d

File tree

4 files changed

+26
-0
lines changed

4 files changed

+26
-0
lines changed

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ exclude = [
2727
version = "0.9.0"
2828
edition = "2021"
2929
rust-version = "1.79.0"
30+
license = "Apache-2.0"
31+
homepage = "https://github.com/hyperlight-dev/hyperlight"
32+
repository = "https://github.com/hyperlight-dev/hyperlight"
33+
readme = "README.md"
3034

3135
[workspace.dependencies]
3236
mshv-bindings = { version = "=0.2.1" }

src/hyperlight_common/Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ name = "hyperlight-common"
33
version.workspace = true
44
edition.workspace = true
55
rust-version.workspace = true
6+
license.workspace = true
7+
homepage.workspace = true
8+
repository.workspace = true
9+
readme.workspace = true
10+
description = """
11+
Hyperlight's components common to host and guest.
12+
"""
613

714
[lints]
815
workspace = true

src/hyperlight_guest/Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ links = "c"
44
version.workspace = true
55
edition.workspace = true
66
rust-version.workspace = true
7+
license.workspace = true
8+
homepage.workspace = true
9+
repository.workspace = true
10+
readme.workspace = true
11+
description = """
12+
Library to build guest applications for hyperlight.
13+
"""
714

815
[features]
916
default = ["libc", "printf", "alloca"]

src/hyperlight_host/Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@ name = "hyperlight-host"
33
version.workspace = true
44
edition.workspace = true
55
rust-version.workspace = true
6+
license.workspace = true
7+
homepage.workspace = true
8+
repository.workspace = true
9+
readme.workspace = true
10+
description = """
11+
A lightweight Virtual Machine Manager that can be hosted in an application to safely
12+
run untrusted or code within a VM partition with very low latency and overhead.
13+
"""
614

715
[lib]
816
# https://docs.rust-embedded.org/book/interoperability/rust-with-c.html

0 commit comments

Comments
 (0)