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 <tcrawford@system76.com>
This commit is contained in:
Tim Crawford
2023-10-05 10:05:34 -06:00
committed by Jeremy Soller
parent c461e20df3
commit 782f18a3f6
4 changed files with 24 additions and 23 deletions

View File

@ -428,7 +428,7 @@ fn main() {
_ => {},
}
}
Err(hidapi::HidError::OpenHidDeviceError.into())
Err(hidapi::HidError::HidApiErrorEmpty.into())
}
_ => unreachable!(),
}