aboutsummaryrefslogtreecommitdiffstats
path: root/util/flashrom_tester/Cargo.toml
blob: b57f04e54c572a3068b3f5b7f8df2c300dfa0e2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[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.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"] }

[features]
# Features required to build the CLI binary but not the library
cli = ["chrono", "clap"]
default = ["cli"]