I really had nothing interesting to do, so I've decided to upgrade the Rust CLI merged on #43 as much as I could without making it too complex, or changing any core functionality.
Changes
New logging system and error handling.
Fewer memory allocations.
Less redundancy.
Some minor errors fixed.
Reworked requests module.
Refactored commands module.
Disclaimer
Project compiles and runs without any warnings, but I cannot test it with all the systems. I would appreciate if you (@zach-planet-nine) could test it for me and see if everything looks like you expect. It should work exactly the same (the same input will result in the same output), but with newer logs. The only issue there might be is with signing "Messages" as I've decided to use serialization library instead of raw strings, but I doubt it will produce any errors.
Description
I really had nothing interesting to do, so I've decided to upgrade the Rust CLI merged on #43 as much as I could without making it too complex, or changing any core functionality.
Changes
Disclaimer
Project compiles and runs without any warnings, but I cannot test it with all the systems. I would appreciate if you (@zach-planet-nine) could test it for me and see if everything looks like you expect. It should work exactly the same (the same input will result in the same output), but with newer logs. The only issue there might be is with signing "Messages" as I've decided to use serialization library instead of raw strings, but I doubt it will produce any errors.