Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make every icon a static; Create separation of concern between component libs and icon sources. #33

Merged
merged 9 commits into from
Jan 8, 2024

Conversation

carloskiki
Copy link
Owner

What changes:

  • Every icon is simply a &'static IconData
  • Component libraries should take &IconData as input
  • IconData now implements Serialize and Deserialize behind a feature flag
  • Component libraries should not depend on icondata, they should only depend on icondata_core.

This last point makes it so that component libraries don't have to constantly change version when the icon source changes version. Downstream users of the component library should bring their icon source.

oups

cargo.lock
@carloskiki carloskiki merged commit 7454461 into main Jan 8, 2024
13 checks passed
@carloskiki carloskiki deleted the statics branch January 8, 2024 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant