rust-embed v8.11.0
git clone https://git.pyrossh.dev/rust-embed
rust macro which loads files into the rust binary at compile time during release and loads the file from the fs during dev.
ccc650b
— Ryan Lopopolo
2019-06-24T01:22:36+01:00
Enumerate tests in Cargo.toml to enable specific features
- 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 <[email protected]>"]
|
|
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"}
|