#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

#962 in Procedural macros

Download history 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 382/week @ 2024-11-29 452/week @ 2024-12-06 537/week @ 2024-12-13 245/week @ 2024-12-20 191/week @ 2024-12-27 706/week @ 2025-01-03 600/week @ 2025-01-10 617/week @ 2025-01-17 601/week @ 2025-01-24

2,617 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