OpenAnnePro / AnnePro2-Tools

Firmware flashing tool for Anne Pro 2. Allows custom firmware download.
https://ci.codetector.org/job/OpenAnnePro/job/AnnePro2-Tools/
GNU General Public License v2.0
157 stars 35 forks source link

Update deps, fix linux compile and remove now useless transmute #21

Closed nik012003 closed 7 months ago

nik012003 commented 8 months ago

The first commit fixes #18 and #20 by removing the depracated usage() and usage_page() calls and updates all the dependecies. The second commit just removes the unsafe transumte, by using to_le_bytes() which has been available since rust 1.32

EDIT: this has only been tested on linux, please check if it breaks on other platforms

Codetector1374 commented 7 months ago

Tested compiles / works fine on windows too. Merging