#load-file #rocket #static #http #web #compile-time #web-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

34 stable releases (3 major)

8.5.0 Jul 9, 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 85504/week @ 2024-07-01 104204/week @ 2024-07-08 98266/week @ 2024-07-15 104803/week @ 2024-07-22 105539/week @ 2024-07-29 107379/week @ 2024-08-05 102399/week @ 2024-08-12 104263/week @ 2024-08-19 110597/week @ 2024-08-26 105576/week @ 2024-09-02 108430/week @ 2024-09-09 103332/week @ 2024-09-16 116565/week @ 2024-09-23 117825/week @ 2024-09-30 104849/week @ 2024-10-07 124321/week @ 2024-10-14

471,272 downloads per month
Used in 594 crates (2 directly)

MIT license

25KB
493 lines

Rust Embed Implementation

The implementation of the rust-embed macro lies here.

Dependencies

~0.7–8.5MB
~76K SLoC