embedded-icon

Crates.ioembedded-icon
lib.rsembedded-icon
version0.0.1
sourcesrc
created_at2023-07-24 13:33:56.32647
updated_at2023-07-24 13:33:56.32647
description12600+ icons for embedded-graphics, ported from multiple packages.
homepage
repositoryhttps://github.com/patrickelectric/embedded-icon
max_upload_size
id924582
size27,667,422
Patrick José Pereira (patrickelectric)

documentation

README

📦 embedded-icon

12600+ 🖼 icons for embedded-graphics.

🚀 Features

  • 📦 Support to multiple icon packs - Easy to add support to!
  • 🎨 Multiple resolutions - 12px to 144px
  • ⚡ Zero cost abstraction - Only enabled icons increase binary size

💾 Installation

Add this to your Cargo.toml:

[dependencies]
embedded-icon = "0.1.0"

🎨 Icon Packs

🖼 Usage

use embedded_graphics::image::Image;
use embedded_graphics::prelude::*;
use embedded_icon::{simple::size32::Github};

let github_icon = Github::new(Rgb888::CSS_ORANGE);
Image::new(github_icon, Point::new(10, 10)).draw(display).ok();

Check the example: cargo run --example simple

🤝 Contributing

Contributions are welcome! Please open an issue or PR on GitHub.

This project was inspired by embedded-iconoir.

Commit count: 10

cargo fmt