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

#989 in Procedural macros

Download history 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 552/week @ 2025-02-08 1405/week @ 2025-02-15 1254/week @ 2025-02-22 781/week @ 2025-03-01

4,068 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
~102K SLoC