#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

#886 in Procedural macros

Download history 363/week @ 2024-02-14 324/week @ 2024-02-21 98/week @ 2024-02-28 153/week @ 2024-03-06 166/week @ 2024-03-13 232/week @ 2024-03-20 110/week @ 2024-03-27 182/week @ 2024-04-03 180/week @ 2024-04-10 168/week @ 2024-04-17 180/week @ 2024-04-24 347/week @ 2024-05-01 92/week @ 2024-05-08 140/week @ 2024-05-15 428/week @ 2024-05-22 212/week @ 2024-05-29

950 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