~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.


ccc650bd Ryan Lopopolo

6 years ago
Enumerate tests in Cargo.toml to enable specific features
Files changed (1) hide show
  1. Cargo.toml +10 -0
Cargo.toml CHANGED
@@ -10,6 +10,16 @@ keywords = ["http", "rocket", "static", "web", "server"]
10
10
  categories = ["web-programming::http-server"]
11
11
  authors = ["pyros2097 <pyros2097@gmail.com>"]
12
12
 
13
+ [[test]]
14
+ name = "lib"
15
+ path = "tests/lib.rs"
16
+ required-features = []
17
+
18
+ [[test]]
19
+ name = "interpolated_path"
20
+ path = "tests/interpolated_path.rs"
21
+ required-features = ["interpolate-folder-path"]
22
+
13
23
  [dependencies]
14
24
  walkdir = "2.2.7"
15
25
  rust-embed-impl = { version = "4.4.0", path = "impl"}