#gif #representation #packs #byte #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

#966 in Procedural macros

Download history 1181/week @ 2024-10-26 993/week @ 2024-11-02 922/week @ 2024-11-09 623/week @ 2024-11-16 272/week @ 2024-11-23 394/week @ 2024-11-30 471/week @ 2024-12-07 571/week @ 2024-12-14 166/week @ 2024-12-21 208/week @ 2024-12-28 748/week @ 2025-01-04 633/week @ 2025-01-11 611/week @ 2025-01-18 766/week @ 2025-01-25 1048/week @ 2025-02-01 534/week @ 2025-02-08

3,071 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
~101K SLoC