Refactor SMFI interface and ectool

This commit is contained in:
Jeremy Soller
2020-09-25 19:41:38 -06:00
committed by Jeremy Soller
parent 39e2586c50
commit eff4caa752
19 changed files with 718 additions and 363 deletions

View File

@@ -10,10 +10,15 @@ repository = "https://github.com/system76/ec"
[lib]
name = "ectool"
[[bin]]
name = "system76_ectool"
required-features = ["std"]
[dependencies]
redox_hwio = "0.1.1"
libc = { version = "0.2", optional = true }
redox_hwio = "0.1.3"
[features]
default = ["std"]
stable = ["redox_hwio/stable"]
std = []
std = ["libc"]