Evan Benn has uploaded this change for review.

View Change

rust: Add license and other metadata to Cargo.toml

Add missing license to the Cargo.toml rust files, and some other
metadata that might be useful.

BUG=None
BRANCH=None
TEST=None

Change-Id: Ibdab16713395509be511e45c5eae946496020429
Signed-off-by: Evan Benn <evanbenn@chromium.org>
---
M bindings/rust/libflashrom-sys/Cargo.toml
M bindings/rust/libflashrom/Cargo.toml
M util/flashrom_tester/Cargo.toml
M util/flashrom_tester/flashrom/Cargo.toml
4 files changed, 33 insertions(+), 2 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/18/71618/1
diff --git a/bindings/rust/libflashrom-sys/Cargo.toml b/bindings/rust/libflashrom-sys/Cargo.toml
index 54e016d..af84b8a 100644
--- a/bindings/rust/libflashrom-sys/Cargo.toml
+++ b/bindings/rust/libflashrom-sys/Cargo.toml
@@ -1,6 +1,12 @@
[package]
name = "libflashrom-sys"
version = "0.1.0"
+description = "Native bindings to the libflashrom library."
+readme = "../README"
+homepage = "https://www.flashrom.org/"
+repository = "https://review.coreboot.org/plugins/gitiles/flashrom/"
+license = "GPL-2.0-only"
+categories = ["external-ffi-bindings", "hardware-support"]
links = "flashrom"
build = "build.rs"
edition = "2021"
diff --git a/bindings/rust/libflashrom/Cargo.toml b/bindings/rust/libflashrom/Cargo.toml
index 68636df..1d8fb52 100644
--- a/bindings/rust/libflashrom/Cargo.toml
+++ b/bindings/rust/libflashrom/Cargo.toml
@@ -1,10 +1,14 @@
[package]
name = "libflashrom"
version = "0.1.0"
+description = "Bindings to the libflashrom library."
+readme = "../README"
+homepage = "https://www.flashrom.org/"
+repository = "https://review.coreboot.org/plugins/gitiles/flashrom/"
+license = "GPL-2.0-only"
+categories = ["api-bindings", "hardware-support"]
edition = "2021"

-# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
-
[dependencies]
libflashrom-sys = { path = "../libflashrom-sys" }
libc = "0.2.124"
diff --git a/util/flashrom_tester/Cargo.toml b/util/flashrom_tester/Cargo.toml
index a7b6881..948553a 100644
--- a/util/flashrom_tester/Cargo.toml
+++ b/util/flashrom_tester/Cargo.toml
@@ -3,6 +3,8 @@
version = "1.6.0"
authors = ["Edward O'Callaghan <quasisec@chromium.org>",
"Peter Marheine <pmarheine@chromium.org>"]
+description = "A tool to verify flashrom and flash chip behaviour."
+license = "GPL-2.0-only"
edition = "2018"
build = "build.rs"

diff --git a/util/flashrom_tester/flashrom/Cargo.toml b/util/flashrom_tester/flashrom/Cargo.toml
index a2447d0..4d4fc2f 100644
--- a/util/flashrom_tester/flashrom/Cargo.toml
+++ b/util/flashrom_tester/flashrom/Cargo.toml
@@ -3,6 +3,8 @@
version = "1.0.0"
authors = ["Edward O'Callaghan <quasisec@chromium.org>",
"Peter Marheine <pmarheine@chromium.org>"]
+description = "Flashrom abstraction for the flashrom_tester tool."
+license = "GPL-2.0-only"
edition = "2018"

[dependencies]

To view, visit change 71618. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Ibdab16713395509be511e45c5eae946496020429
Gerrit-Change-Number: 71618
Gerrit-PatchSet: 1
Gerrit-Owner: Evan Benn <evanbenn@google.com>
Gerrit-MessageType: newchange