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

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

32 stable releases (3 major)

8.3.0 Feb 26, 2024
8.2.0 Dec 29, 2023
8.0.0 Aug 23, 2023
6.8.1 Jun 30, 2023
4.1.0 Oct 24, 2018

#22 in #load-file

Download history 68018/week @ 2024-01-03 77137/week @ 2024-01-10 82232/week @ 2024-01-17 78901/week @ 2024-01-24 80396/week @ 2024-01-31 75419/week @ 2024-02-07 81323/week @ 2024-02-14 80869/week @ 2024-02-21 81436/week @ 2024-02-28 81885/week @ 2024-03-06 84281/week @ 2024-03-13 84323/week @ 2024-03-20 79399/week @ 2024-03-27 84094/week @ 2024-04-03 85253/week @ 2024-04-10 76799/week @ 2024-04-17

341,182 downloads per month
Used in 479 crates (2 directly)

MIT license

23KB
431 lines

Rust Embed Implementation

The implementation of the rust-embed macro lies here.

Dependencies

~0.8–10MB
~85K SLoC