e4c51439ac
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 >
2023-01-12 23:26:01 +00:00
8edd60e6c2
bindings: Add FLASHROM_WP_ERR_UNSUPPORTED_STATE
...
Add support for new write protect error.
BUG=None
BRANCH=None
TEST=cargo test
Change-Id: I2adaad6552a601147e779c85a2a51d2e39b91c28
Reviewed-on: https://review.coreboot.org/c/flashrom/+/69864
Tested-by: build bot (Jenkins) <no-reply@coreboot.org >
Reviewed-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com >
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org >
2022-11-28 11:40:35 +00:00
66b34f8ba3
bindings/rust: Document the rust bindings
...
Add an explanation of the two rust libraries, and instructions for
building. Note that the bindings are not included in the tarball.
BUG=None
BRANCH=None
TEST=None
Change-Id: I05b1b5821554f8faee7728f899d51b6e8e9bf5be
Signed-off-by: Evan Benn <evanbenn@chromium.org >
Reviewed-on: https://review.coreboot.org/c/flashrom/+/66618
Tested-by: build bot (Jenkins) <no-reply@coreboot.org >
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org >
2022-08-19 04:38:18 +00:00
401d9bfa71
bindings/rust/libflashrom: Create fat rust binding
...
Create a rust library wrapping libflashrom-sys in a more idiomatic rust
API.
BUG=b:230545739
BRANCH=None
TEST=cargo test
Change-Id: Ie3bcfde40dc475f6a9439ccab8e2446967f7d6dd
Signed-off-by: Evan Benn <evanbenn@chromium.org >
Reviewed-on: https://review.coreboot.org/c/flashrom/+/65281
Reviewed-by: Peter Marheine <pmarheine@chromium.org >
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org >
Tested-by: build bot (Jenkins) <no-reply@coreboot.org >
2022-08-19 04:37:43 +00:00
06d32e1147
bindings/rust/libflashrom-sys: Create thin rust bindgen binding
...
Use bindgen to create a rust library that calls into libflashrom using
FFI.
BUG=b:230545739
BRANCH=None
TEST=cargo test
Change-Id: I36ba70de2bca8f83d2fdd6fd4c9b7c28a11624ee
Signed-off-by: Evan Benn <evanbenn@chromium.org >
Reviewed-on: https://review.coreboot.org/c/flashrom/+/65280
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org >
Reviewed-by: Peter Marheine <pmarheine@chromium.org >
Tested-by: build bot (Jenkins) <no-reply@coreboot.org >
2022-08-19 04:37:21 +00:00