From 520ab36ed98eacfb81a833af420392440f692369 Mon Sep 17 00:00:00 2001 From: Jorge Prendes Date: Tue, 5 Nov 2024 22:49:29 +0000 Subject: [PATCH] add missing Cargo.toml fields for publishing to crates.io Signed-off-by: Jorge Prendes --- Cargo.toml | 4 ++++ src/hyperlight_common/Cargo.toml | 7 +++++++ src/hyperlight_guest/Cargo.toml | 7 +++++++ src/hyperlight_host/Cargo.toml | 8 ++++++++ 4 files changed, 26 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index cf46d0d4..63296176 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,6 +27,10 @@ exclude = [ version = "0.9.0" edition = "2021" rust-version = "1.79.0" +license = "Apache-2.0" +homepage = "https://github.com/hyperlight-dev/hyperlight" +repository = "https://github.com/hyperlight-dev/hyperlight" +readme = "README.md" [workspace.dependencies] mshv-bindings = { version = "=0.2.1" } diff --git a/src/hyperlight_common/Cargo.toml b/src/hyperlight_common/Cargo.toml index 99f1ac32..b704c9bb 100644 --- a/src/hyperlight_common/Cargo.toml +++ b/src/hyperlight_common/Cargo.toml @@ -3,6 +3,13 @@ name = "hyperlight-common" version.workspace = true edition.workspace = true rust-version.workspace = true +license.workspace = true +homepage.workspace = true +repository.workspace = true +readme.workspace = true +description = """ +Hyperlight's components common to host and guest. +""" [lints] workspace = true diff --git a/src/hyperlight_guest/Cargo.toml b/src/hyperlight_guest/Cargo.toml index 609ed7a0..98220695 100644 --- a/src/hyperlight_guest/Cargo.toml +++ b/src/hyperlight_guest/Cargo.toml @@ -4,6 +4,13 @@ links = "c" version.workspace = true edition.workspace = true rust-version.workspace = true +license.workspace = true +homepage.workspace = true +repository.workspace = true +readme.workspace = true +description = """ +Library to build guest applications for hyperlight. +""" [features] default = ["libc", "printf", "alloca"] diff --git a/src/hyperlight_host/Cargo.toml b/src/hyperlight_host/Cargo.toml index c3ed5987..35692fb2 100644 --- a/src/hyperlight_host/Cargo.toml +++ b/src/hyperlight_host/Cargo.toml @@ -3,6 +3,14 @@ name = "hyperlight-host" version.workspace = true edition.workspace = true rust-version.workspace = true +license.workspace = true +homepage.workspace = true +repository.workspace = true +readme.workspace = true +description = """ +A lightweight Virtual Machine Manager that can be hosted in an application to safely +run untrusted or code within a VM partition with very low latency and overhead. +""" [lib] # https://docs.rust-embedded.org/book/interoperability/rust-with-c.html