#gif #image #packs #representation #byte #proc-macro

macro include_gif

procedural macro that packs a gif image into a byte representation

10 stable releases

new 1.2.6 Mar 11, 2026
1.2.4 Sep 2, 2025
1.2.2 Jul 18, 2025
1.2.0 Jul 31, 2024
0.1.0 Sep 25, 2023

#1310 in Procedural macros

Download history 3149/week @ 2025-11-19 3271/week @ 2025-11-26 4062/week @ 2025-12-03 4515/week @ 2025-12-10 3242/week @ 2025-12-17 1104/week @ 2025-12-24 2609/week @ 2025-12-31 3550/week @ 2026-01-07 3472/week @ 2026-01-14 4716/week @ 2026-01-21 3525/week @ 2026-01-28 3257/week @ 2026-02-04 2310/week @ 2026-02-11 1959/week @ 2026-02-18 2718/week @ 2026-02-25 1973/week @ 2026-03-04

9,462 downloads per month
Used in 3 crates

Apache-2.0

11KB
204 lines

include_gif

Dynamic TOML Badge

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 SDK and included at compile time to produce icons.

Dependencies

~10MB
~212K SLoC