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

macro include_gif

procedural macro that packs a gif image into a byte representation

3 stable releases

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

#932 in Procedural macros

Download history 182/week @ 2024-03-14 189/week @ 2024-03-21 131/week @ 2024-03-28 129/week @ 2024-04-04 209/week @ 2024-04-11 148/week @ 2024-04-18 178/week @ 2024-04-25 354/week @ 2024-05-02 72/week @ 2024-05-09 210/week @ 2024-05-16 406/week @ 2024-05-23 195/week @ 2024-05-30 245/week @ 2024-06-06 435/week @ 2024-06-13 203/week @ 2024-06-20 55/week @ 2024-06-27

956 downloads per month
Used in 3 crates

Apache-2.0

9KB
189 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

~2MB
~44K SLoC