#gif #packs #representation #byte #image #macro #procedural

macro include_gif

procedural macro that packs a gif image into a byte representation

2 stable releases

1.0.1 Dec 1, 2023
1.0.0 Nov 14, 2023
0.1.0 Sep 25, 2023

#6 in #packs

Download history 73/week @ 2023-12-20 76/week @ 2023-12-27 217/week @ 2024-01-03 121/week @ 2024-01-10 159/week @ 2024-01-17 339/week @ 2024-01-24 378/week @ 2024-01-31 355/week @ 2024-02-07 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 164/week @ 2024-04-03

680 downloads per month
Used in 3 crates

Apache-2.0

3KB

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

~1.5MB
~38K SLoC