summaryrefslogtreecommitdiffstats
path: root/bindings
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 /bindings
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>
Diffstat (limited to 'bindings')
-rw-r--r--bindings/rust/libflashrom-sys/Cargo.toml6
-rw-r--r--bindings/rust/libflashrom/Cargo.toml8
2 files changed, 12 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"