#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

#913 in Procedural macros

Download history 227/week @ 2024-02-23 113/week @ 2024-03-01 203/week @ 2024-03-08 203/week @ 2024-03-15 166/week @ 2024-03-22 142/week @ 2024-03-29 140/week @ 2024-04-05 215/week @ 2024-04-12 166/week @ 2024-04-19 142/week @ 2024-04-26 339/week @ 2024-05-03 71/week @ 2024-05-10 228/week @ 2024-05-17 422/week @ 2024-05-24 166/week @ 2024-05-31 261/week @ 2024-06-07

1,084 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