mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-28 15:33:42 +02:00

We can just use the libc functions directly. This is exactly what nix does anyway. BUG=none TEST=unit tests BRANCH=none Original-Change-Id: I45c02f0c71d164bd8f504fe2b8d3acd54e0d5704 Original-Signed-off-by: Chirantan Ekbote <chirantan@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/flashrom/+/2560393 Original-Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Original-Reviewed-by: Allen Webb <allenwebb@google.com> Original-Commit-Queue: Allen Webb <allenwebb@google.com> (cherry picked from commit 1ba7dbe83e01d270b6d8d597a079ea3bfeb2117e) Change-Id: Iea61c65efb04da9cd0bc0bd85a34fc10912ea87b Reviewed-on: https://review.coreboot.org/c/flashrom/+/52889 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Peter Marheine <pmarheine@chromium.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
34 lines
928 B
TOML
34 lines
928 B
TOML
[package]
|
|
name = "flashrom_tester"
|
|
version = "1.6.0"
|
|
authors = ["Edward O'Callaghan <quasisec@chromium.org>",
|
|
"Peter Marheine <pmarheine@chromium.org>"]
|
|
edition = "2018"
|
|
build = "build.rs"
|
|
|
|
[lib]
|
|
name = "flashrom_tester"
|
|
|
|
[[bin]]
|
|
name = "flashrom_tester"
|
|
required-features = ["cli"]
|
|
|
|
[dependencies]
|
|
built = { version = "0.3", default-features = false, features = ["serialized_time", "serialized_version"] }
|
|
chrono = { version = "0.4", optional = true }
|
|
clap = { version = "2.33", default-features = false, optional = true }
|
|
flashrom = { path = "flashrom/" }
|
|
libc = "0.2"
|
|
log = { version = "0.4", features = ["std"] }
|
|
rand = "0.6.4"
|
|
serde_json = "1"
|
|
sys-info = "0.5.7"
|
|
|
|
[build-dependencies]
|
|
built = { version = "0.3", default-features = false, features = ["serialized_time", "serialized_version"] }
|
|
|
|
[features]
|
|
# Features required to build the CLI binary but not the library
|
|
cli = ["chrono", "clap"]
|
|
default = ["cli"]
|