#static #rocket #http #web #compile-time #web-server #server

macro rust-embed-impl

Rust Custom Derive Macro which loads files into the rust binary at compile time during release and loads the file from the fs during dev

35 stable releases (3 major)

new 8.6.0 Feb 25, 2025
8.5.0 Jul 9, 2024
8.4.0 May 11, 2024
8.3.0 Feb 26, 2024
4.1.0 Oct 24, 2018

#215 in #rocket

Download history 120032/week @ 2024-10-30 109438/week @ 2024-11-06 147485/week @ 2024-11-13 133081/week @ 2024-11-20 118823/week @ 2024-11-27 131830/week @ 2024-12-04 136615/week @ 2024-12-11 97433/week @ 2024-12-18 62577/week @ 2024-12-25 96686/week @ 2025-01-01 162550/week @ 2025-01-08 157557/week @ 2025-01-15 145740/week @ 2025-01-22 147928/week @ 2025-01-29 180858/week @ 2025-02-05 139001/week @ 2025-02-12

640,086 downloads per month
Used in 684 crates (2 directly)

MIT license

26KB
501 lines

Rust Embed Implementation

The implementation of the rust-embed macro lies here.

Dependencies

~0.9–8.5MB
~78K SLoC