mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 15:12:36 +02:00

Always print logs to stdout. User can redirect logs in the normal way if they wish. BUG=b:194245688 BRANCH=None TEST=clippy, unit Change-Id: I5eab8169644a16ba31b203e8607853c459f92978 Signed-off-by: Evan Benn <evanbenn@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/71773 Reviewed-by: Nikolai Artemiev <nartemiev@google.com> Reviewed-by: Peter Marheine <pmarheine@chromium.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
40 lines
948 B
TOML
40 lines
948 B
TOML
[package]
|
|
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"
|
|
|
|
[lib]
|
|
name = "flashrom_tester"
|
|
|
|
[[bin]]
|
|
name = "flashrom_tester"
|
|
required-features = ["cli"]
|
|
|
|
[dependencies]
|
|
atty = "0.2"
|
|
built = { version = "0.5", features = ["chrono"] }
|
|
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.9"
|
|
|
|
[build-dependencies]
|
|
built = { version = "0.5", features = ["chrono"] }
|
|
|
|
[dev-dependencies]
|
|
gag = "1"
|
|
|
|
[features]
|
|
# Features required to build the CLI binary but not the library
|
|
cli = ["chrono", "clap"]
|
|
default = ["cli"]
|