[PATCH v2 5/5] libgit-{sys,rs}: add license and description fields

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add license and description fields for libgit-sys and libgit-rs. These
are required to publish our crates on crates.io.

Signed-off-by: Josh Steadmon <steadmon@xxxxxxxxxx>
---
 contrib/libgit-rs/Cargo.toml  | 2 ++
 contrib/libgit-sys/Cargo.toml | 1 +
 2 files changed, 3 insertions(+)

diff --git a/contrib/libgit-rs/Cargo.toml b/contrib/libgit-rs/Cargo.toml
index c3289e69db..9747ba3cb4 100644
--- a/contrib/libgit-rs/Cargo.toml
+++ b/contrib/libgit-rs/Cargo.toml
@@ -5,6 +5,8 @@ edition = "2021"
 build = "build.rs"
 rust-version = "1.63" # TODO: Once we hit 1.84 or newer, we may want to remove Cargo.lock from
                       # version control. See https://lore.kernel.org/git/Z47jgK-oMjFRSslr@xxxxxxxxxxxxxxxxxxxxxxxxxxxx/
+description = "Proof-of-concept Rust API for a portion of libgit"
+license = "GPL-2.0-only"
 
 
 [lib]
diff --git a/contrib/libgit-sys/Cargo.toml b/contrib/libgit-sys/Cargo.toml
index 1c1efb6211..cfbcca9c8c 100644
--- a/contrib/libgit-sys/Cargo.toml
+++ b/contrib/libgit-sys/Cargo.toml
@@ -7,6 +7,7 @@ links = "gitpub"
 rust-version = "1.63" # TODO: Once we hit 1.84 or newer, we may want to remove Cargo.lock from
                       # version control. See https://lore.kernel.org/git/Z47jgK-oMjFRSslr@xxxxxxxxxxxxxxxxxxxxxxxxxxxx/
 description = "Native bindings to a portion of libgit"
+license = "GPL-2.0-only"
 exclude = [
   "git-src/.github",
   "git-src/Documentation",
-- 
2.49.0.395.g12beb8f557-goog





[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux