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

35 stable releases (3 major)

8.6.0 Feb 25, 2025
8.5.0 Jul 9, 2024
8.4.0 May 11, 2024
8.3.0 Feb 26, 2024
4.1.0 Oct 24, 2018

#215 in #rocket

Download history 141700/week @ 2024-11-16 116768/week @ 2024-11-23 132706/week @ 2024-11-30 134709/week @ 2024-12-07 126992/week @ 2024-12-14 63935/week @ 2024-12-21 72153/week @ 2024-12-28 141040/week @ 2025-01-04 173105/week @ 2025-01-11 144376/week @ 2025-01-18 141219/week @ 2025-01-25 170089/week @ 2025-02-01 177765/week @ 2025-02-08 161410/week @ 2025-02-15 211822/week @ 2025-02-22 185202/week @ 2025-03-01

766,944 downloads per month
Used in 693 crates (2 directly)

MIT license

26KB
501 lines

Rust Embed Implementation

The implementation of the rust-embed macro lies here.

Dependencies

~0.9–8.5MB
~80K SLoC