Skip to content

Commit

Permalink
ectool: Use clap derive syntax
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Crawford <[email protected]>
  • Loading branch information
2 people authored and jackpot51 committed Dec 8, 2023
1 parent cbad8e0 commit 47b0704
Show file tree
Hide file tree
Showing 3 changed files with 198 additions and 142 deletions.
92 changes: 92 additions & 0 deletions tool/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tool/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
Loading

0 comments on commit 47b0704

Please sign in to comment.