[PATCH v2 5/5] libgit-{sys,rs}: add license and description fields
From: Josh Steadmon <hidden>
Date: 2025-03-21 22:14:24
Subsystem:
the rest · Maintainer:
Linus Torvalds
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 <redacted> --- 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@tapette.crustytoothpaste.net/ +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@tapette.crustytoothpaste.net/ 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