tool: Add --access argument to work with sim or hid

This commit is contained in:
Ian Douglas Scott
2021-02-18 19:00:48 -08:00
committed by Jeremy Soller
parent 7c5ba4e62c
commit 49b79f665b
2 changed files with 67 additions and 39 deletions

View File

@@ -13,7 +13,7 @@ name = "ectool"
[[bin]]
name = "system76_ectool"
required-features = ["std"]
required-features = ["std", "hidapi"]
[dependencies]
clap = "2"
@@ -22,7 +22,7 @@ hidapi = { version = "1.2", default-features = false, features = ["linux-static-
redox_hwio = { version = "0.1.3", optional = true }
[features]
default = ["std"]
default = ["std", "hidapi"]
std = ["libc"]
[package.metadata.docs.rs]