-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tool: Update toolchain, edition, deps
- Update toolchain to nightly-2023-09-07 - Update edition to 2021 - Update deps `OpenHidDeviceError` is deprecated, and is removed in newer versions. Replace it with `HidApiErrorEmpty`, because there are no descriptions for what anything means so I just picked one that didn't require fields. Signed-off-by: Tim Crawford <[email protected]>
- Loading branch information
Showing
4 changed files
with
24 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[toolchain] | ||
channel = "nightly-2023-01-21" | ||
channel = "nightly-2023-09-07" | ||
components = ["rust-src"] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "system76_ectool" | ||
version = "0.3.8" | ||
edition = "2018" | ||
edition = "2021" | ||
description = "System76 EC tool" | ||
license = "MIT" | ||
authors = ["Jeremy Soller <[email protected]>"] | ||
|
@@ -18,7 +18,8 @@ required-features = ["std", "hidapi", "clap"] | |
[dependencies] | ||
clap = { version = "3.2", optional = true } | ||
libc = { version = "0.2", optional = true } | ||
hidapi = { version = "1.4", default-features = false, features = ["linux-shared-hidraw"], 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 } | ||
redox_hwio = { version = "0.1.6", default-features = false, optional = true } | ||
downcast-rs = { version = "1.2.0", default-features = false } | ||
|
||
|
@@ -28,6 +29,3 @@ std = ["libc", "downcast-rs/std"] | |
|
||
[package.metadata.docs.rs] | ||
all-features = true | ||
|
||
[registries.crates-io] | ||
protocol = "sparse" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters