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

macro include_gif

procedural macro that packs a gif image into a byte representation

10 stable releases

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

#1471 in Procedural macros

Download history 4640/week @ 2025-12-01 3103/week @ 2025-12-08 4650/week @ 2025-12-15 1433/week @ 2025-12-22 1052/week @ 2025-12-29 4361/week @ 2026-01-05 3338/week @ 2026-01-12 4698/week @ 2026-01-19 4034/week @ 2026-01-26 3231/week @ 2026-02-02 2504/week @ 2026-02-09 2092/week @ 2026-02-16 2382/week @ 2026-02-23 2525/week @ 2026-03-02 1704/week @ 2026-03-09 1391/week @ 2026-03-16

8,037 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