#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

#24 in #load-file

Download history 102328/week @ 2024-07-25 105801/week @ 2024-08-01 110249/week @ 2024-08-08 97811/week @ 2024-08-15 109171/week @ 2024-08-22 105165/week @ 2024-08-29 110951/week @ 2024-09-05 104326/week @ 2024-09-12 110549/week @ 2024-09-19 122805/week @ 2024-09-26 107363/week @ 2024-10-03 115302/week @ 2024-10-10 123118/week @ 2024-10-17 120581/week @ 2024-10-24 119164/week @ 2024-10-31 109917/week @ 2024-11-07

497,354 downloads per month
Used in 606 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