Repository navigation
feat - make order that readout keys are listed in macchina.toml affec… - #275
Conversation
…t the order readouts are displayed in
|
That was quick!
I went over the changes and they look fine to me, the one function per
Good call, splitting them up even further doesn't seem all that
I think users will intuitively assume that the order in which
Thank you for your help! |
Any idea how I could try to implement this? Macros are one thing I haven't really learned yet but what should it to do to help cut down on boilerplate? |
|
I'm not really sure yet, I haven't had much experience using Rust's macro system. EDIT: It seems the tiny variations between the different handlers would make the macro in question really complicated to implement. |
|
If the macro would be to complicated to implement, is there anything else you'd like from this pr or is that alright as is? |
Nope, this is good enough for now. Thank you for helping improve macchina :) |
…t the order readouts are displayed in.
Also minor change to the documentation to note that the order now matters.
Hope this is alright but of course don't hold back with criticisms / suggestions.
I'm still new to rust and wasn't sure how / if I should split up this file so I left everything in the one file but perhaps it's too long. Also I realise that this change makes the order have to matter rather than it being optional, if you would like it to be optional I can look into it, maybe add another config option for
show_order_matters = "true".Thanks for making this tool and thanks in advance for any feedback, I'm new to rust so any tips you have are appreciated.