~repos /rust-embed

#rust#proc-macro#http

git clone https://pyrossh.dev/repos/rust-embed.git

rust macro which loads files into the rust binary at compile time during release and loads the file from the fs during dev.


c7c2b8fc Ryan Lopopolo

6 years ago
Add interpolate-folder-path feature to rust-embed Cargo.toml
Files changed (1) hide show
  1. Cargo.toml +1 -0
Cargo.toml CHANGED
@@ -21,6 +21,7 @@ rocket = { version = "0.4.1", optional = true }
21
21
 
22
22
  [features]
23
23
  debug-embed = ["rust-embed-impl/debug-embed"]
24
+ interpolate-folder-path = ["rust-embed-impl/interpolate-folder-path"]
24
25
  nightly = ["rocket"]
25
26
  actix = ["actix-web", "mime_guess"]
26
27
  warp-ex = ["warp", "mime_guess"]