carloskiki / icondata

SVG Icon data from multiple free icon libraries ported to rust.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IconData should derive common functionality

lpotthast opened this issue · comments

IconData is a public item and does not derive anything. It should at least derive Debug.
It could probably safely

#[derive(Debug, PartialEq, Eq, Clone, Copy)]

can you take at my answer about this: carloskiki/leptos-icons#13.

I think you are right and we could derive these functionalities safely.

Do you think serde should be derived for individual icon enums, or only for IconData?

Big refactoring is in the way, I will make this change along with more stuff.