ectool: use linux-shared-hidraw feature for hidapi

This commit is contained in:
Jeremy Soller
2021-11-17 08:18:07 -07:00
committed by Jeremy Soller
parent 55a617f2e0
commit 95632b4503
2 changed files with 10 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "system76_ectool"
version = "0.3.6"
version = "0.3.7"
edition = "2018"
description = "System76 EC tool"
license = "MIT"
@@ -18,7 +18,7 @@ required-features = ["std", "hidapi", "clap"]
[dependencies]
clap = { version = "2", optional = true }
libc = { version = "0.2", optional = true }
hidapi = { version = "1.2", default-features = false, features = ["linux-static-hidraw"], optional = true }
hidapi = { version = "1.2", default-features = false, features = ["linux-shared-hidraw"], optional = true }
redox_hwio = { version = "0.1.4", optional = true }
downcast-rs = { version = "1.2.0", default-features = false }