Skip to content

Commit

Permalink
ectool: Use clap derive syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
ids1024 committed Jan 3, 2022
1 parent dc7f8c4 commit 52e2162
Show file tree
Hide file tree
Showing 3 changed files with 197 additions and 141 deletions.
101 changes: 101 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", optional = true }
clap = { version = "3", features = ["derive"], optional = true }
libc = { version = "0.2", optional = true }
hidapi = { version = "1.2", default-features = false, features = ["linux-shared-hidraw"], optional = true }
redox_hwio = { version = "0.1.4", optional = true }
Expand Down
Loading

0 comments on commit 52e2162

Please sign in to comment.