I just stumbled across your project and was looking through the code, I made some small refactors. Mostly removing clones, adding derives (so when you eventually add proper error handling it should be a bit easier). For the unit types, it's worthwhile to implement Copy, and where it's converted to a string use ToString. There was also one Mutex<bool> I changed to an AtomicBool.
Hey thanks for the PR! Will look trough these and merge what still applies. I went trough some refactoring myself today. In any case I always appreciate support :)
I just stumbled across your project and was looking through the code, I made some small refactors. Mostly removing clones, adding derives (so when you eventually add proper error handling it should be a bit easier). For the unit types, it's worthwhile to implement
Copy
, and where it's converted to a string useToString
. There was also oneMutex<bool>
I changed to anAtomicBool
.Fun project you've got, good luck!