ectool: Use clap derive syntax

Co-authored-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
Ian Douglas Scott
2023-10-06 10:27:05 -06:00
committed by Jeremy Soller
parent cbad8e09be
commit 47b070418a
3 changed files with 198 additions and 142 deletions

View File

@@ -16,7 +16,7 @@ name = "system76_ectool"
required-features = ["std", "hidapi", "clap"]
[dependencies]
clap = { version = "3.2", optional = true }
clap = { version = "3.2", features = ["derive"], optional = true }
libc = { version = "0.2", optional = true }
# NOTE: Upgrading to 2.x blocked on Ubuntu shipping newer hidapi
hidapi = { version = "1.5", default-features = false, features = ["linux-shared-hidraw"], optional = true }