Closed lpotthast closed 1 year ago
I'm working on a larger change and will submit a PR.
Okay great, I was not aware of this bug. I have also worked a bit on the library without pushing the changes as they do not work correctly. Most notably:
quote!
macro to generate the code for each iconprettyplease
crate to prettify the generated code.I'll await your reply before pushing my changes as they introduce bugs and you may have a better solution.
I have decided to push the changes as they now work. Feel free to suggest big changes, I'm very open to changing the way the library is currently structured.
I will close this issue as it is now resolved.
If a user of leptos-icons enables the "tracing" feature of Leptos in his own crate, the build will fail, as the #[component] macro used for all the icon-components cannot find the tracing crate inside leptos-icons. Adding the tracing dependency to leptos-icons, probably behind a similarly named feature should fix that error.