#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

#25 in #load-file

Download history 105397/week @ 2024-10-06 124553/week @ 2024-10-13 120199/week @ 2024-10-20 122194/week @ 2024-10-27 113792/week @ 2024-11-03 131069/week @ 2024-11-10 139730/week @ 2024-11-17 116503/week @ 2024-11-24 134846/week @ 2024-12-01 132385/week @ 2024-12-08 125531/week @ 2024-12-15 63715/week @ 2024-12-22 72449/week @ 2024-12-29 143927/week @ 2025-01-05 171094/week @ 2025-01-12 136731/week @ 2025-01-19

531,117 downloads per month
Used in 650 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
~71K SLoC