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

#974 in Procedural macros

Download history 524/week @ 2024-08-16 707/week @ 2024-08-23 911/week @ 2024-08-30 725/week @ 2024-09-06 746/week @ 2024-09-13 880/week @ 2024-09-20 1374/week @ 2024-09-27 761/week @ 2024-10-04 595/week @ 2024-10-11 419/week @ 2024-10-18 1117/week @ 2024-10-25 1048/week @ 2024-11-01 893/week @ 2024-11-08 603/week @ 2024-11-15 409/week @ 2024-11-22 375/week @ 2024-11-29

2,490 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
~99K SLoC