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
The first commit fixes #18 and #20 by removing the depracated
usage()
andusage_page()
calls and updates all the dependecies. The second commit just removes the unsafe transumte, by usingto_le_bytes()
which has been available since rust 1.32EDIT: this has only been tested on linux, please check if it breaks on other platforms