@@ -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]
@@ -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",
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@google.com> --- contrib/libgit-rs/Cargo.toml | 2 ++ contrib/libgit-sys/Cargo.toml | 1 + 2 files changed, 3 insertions(+)