#rocket #static #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

33 stable releases (3 major)

8.4.0 May 11, 2024
8.3.0 Feb 26, 2024
8.2.0 Dec 29, 2023
8.0.0 Aug 23, 2023
4.1.0 Oct 24, 2018

#21 in #load-file

Download history 80740/week @ 2024-01-29 78044/week @ 2024-02-05 79061/week @ 2024-02-12 77109/week @ 2024-02-19 83332/week @ 2024-02-26 82962/week @ 2024-03-04 84082/week @ 2024-03-11 82462/week @ 2024-03-18 82307/week @ 2024-03-25 84675/week @ 2024-04-01 80671/week @ 2024-04-08 92139/week @ 2024-04-15 95634/week @ 2024-04-22 86674/week @ 2024-04-29 93609/week @ 2024-05-06 95254/week @ 2024-05-13

377,959 downloads per month
Used in 500 crates (2 directly)

MIT license

25KB
483 lines

Rust Embed Implementation

The implementation of the rust-embed macro lies here.

Dependencies

~0.8–9.5MB
~86K SLoC