jacobrosenthal / hf2-rs

Microsoft HF2 HID Flashing Format for UF2 Bootloaders
49 stars 14 forks source link

cargo-hf2: Update deprecated hidapi usage #17

Closed gkelly closed 4 years ago

gkelly commented 4 years ago

Tested by flashing Seeeduino XIAO (with the other open PR I have patched on top), which worked.

jacobrosenthal commented 4 years ago

is there a cargo toml update to go with this or is upstream broken?

gkelly commented 4 years ago

is there a cargo toml update to go with this or is upstream broken?

The build's not broken it just gives deprecation warnings for those items. I think cargo-hf2 is getting hidapi 1.2.1 transitively from hf2. I guess that means the local Cargo.toml can be rolled to 1.2.1 as well, let me do that.

gkelly commented 4 years ago

Updated the hf2-cli usage as well and the version there.

jacobrosenthal commented 4 years ago

Oh I see. But yeah lets get the version bump while were at it. Thanks!