feat: Add macros for printing structs, arrays, and spans
Feature Request
Describe the Feature Request
It would be very useful to have a macro for easily printing structs, arrays, or spans. For structs, this could be a derive macro that implements the Display trait. For collections, an inline macro could be used to print the values comma-separated.
Just opening this for discussion, want to hear your opinion.
Describe Preferred Solution
Create two macros: one for printing structs and another for printing arrays and spans. For structs, a derive macro is preferred, while for collections, an inline macro should suffice.
Additional Context
Feature was originally requested in this issue https://github.com/KaizeNodeLabs/starkiro/issues/202 but I think it can help other developers as well.
If the feature request is approved, would you be willing to submit a PR?
- [ x ] Yes
- [ ] No
Hello, we may add this request to our development pipeline. However, if you want you can also submit a PR for this feature. We are happy to review & merge 👍
Ok sure, I will work on it! Thanks
Hello @Jonatan-Chaverri are there any updates about this feature?
@ermvrs I created a PR as an update. I'm still working on it, will try to finish by next week.
@ermvrs PR ready for review. Please check it when have some time. Thanks.
There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a 👍 Because this issue is marked as stale, it will be closed and locked in 7 days if no further activity occurs. Thank you for your contributions!