#gif #byte #representation #packs #image #macro #sdk

macro include_gif

procedural macro that packs a gif image into a byte representation

4 stable releases

1.2.0 Jul 31, 2024
1.1.0 May 27, 2024
1.0.1 Dec 1, 2023
1.0.0 Nov 14, 2023
0.1.0 Sep 25, 2023

#955 in Procedural macros

Download history 203/week @ 2024-06-20 89/week @ 2024-06-27 185/week @ 2024-07-04 166/week @ 2024-07-11 251/week @ 2024-07-18 622/week @ 2024-07-25 649/week @ 2024-08-01 455/week @ 2024-08-08 320/week @ 2024-08-15 769/week @ 2024-08-22 937/week @ 2024-08-29 599/week @ 2024-09-05 827/week @ 2024-09-12 819/week @ 2024-09-19 1256/week @ 2024-09-26 1000/week @ 2024-10-03

3,975 downloads per month
Used in 3 crates

Apache-2.0

10KB
207 lines

sdk_include_gif

This crate provides a macro include_gif!("path/to/image.gif") that packs a gif image into a byte representation that can be understood by the Rust Nano SDK and included at compile time to produce black-and-white icons.

Dependencies

~6.5MB
~96K SLoC