summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Benn <evanbenn@chromium.org>2023-01-04 16:00:31 +1100
committerEdward O'Callaghan <quasisec@chromium.org>2023-01-12 23:26:01 +0000
commite4c51439ac82a0e29186afd1ed44fd51bdc1067a (patch)
treebba5d840b1de929b0b2fcc7f272ac6c280a7da40
parenta031c81f51eae94877a5076cd1a585d3cbf1bb5c (diff)
downloadflashrom-e4c51439ac82a0e29186afd1ed44fd51bdc1067a.tar.gz
flashrom-e4c51439ac82a0e29186afd1ed44fd51bdc1067a.tar.bz2
flashrom-e4c51439ac82a0e29186afd1ed44fd51bdc1067a.zip
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> Reviewed-on: https://review.coreboot.org/c/flashrom/+/71618 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
-rw-r--r--bindings/rust/libflashrom-sys/Cargo.toml6
-rw-r--r--bindings/rust/libflashrom/Cargo.toml8
-rw-r--r--util/flashrom_tester/Cargo.toml2
-rw-r--r--util/flashrom_tester/flashrom/Cargo.toml2
4 files changed, 16 insertions, 2 deletions
diff --git a/bindings/rust/libflashrom-sys/Cargo.toml b/bindings/rust/libflashrom-sys/Cargo.toml
index 54e016d38..af84b8af8 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 68636dffb..1d8fb5298 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 a7b688130..948553a78 100644
--- a/util/flashrom_tester/Cargo.toml
+++ b/util/flashrom_tester/Cargo.toml
@@ -3,6 +3,8 @@ name = "flashrom_tester"
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 a2447d04f..4d4fc2fea 100644
--- a/util/flashrom_tester/flashrom/Cargo.toml
+++ b/util/flashrom_tester/flashrom/Cargo.toml
@@ -3,6 +3,8 @@ name = "flashrom"
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]