1[package] 2name = "flashrom_tester" 3version = "1.6.0" 4authors = ["Edward O'Callaghan <[email protected]>", 5 "Peter Marheine <[email protected]>"] 6description = "A tool to verify flashrom and flash chip behaviour." 7license = "GPL-2.0-only" 8edition = "2018" 9build = "build.rs" 10 11[lib] 12name = "flashrom_tester" 13 14[[bin]] 15name = "flashrom_tester" 16required-features = ["cli"] 17 18[workspace] 19members = [".", "flashrom"] 20 21[dependencies] 22atty = "0.2" 23built = { version = "0.5", features = ["chrono"] } 24chrono = { version = "0.4", optional = true } 25clap = { version = "2.33", default-features = false, optional = true } 26flashrom = { path = "flashrom/" } 27libc = "0.2" 28libflashrom = { path = "../../bindings/rust/libflashrom" } 29log = { version = "0.4", features = ["std"] } 30rand = "0.6.4" 31serde_json = "1" 32sys-info = "0.9" 33 34[build-dependencies] 35built = { version = "0.5", features = ["chrono"] } 36 37[dev-dependencies] 38gag = "1" 39 40[features] 41# Features required to build the CLI binary but not the library 42cli = ["chrono", "clap"] 43default = ["cli"] 44