~repos /rust-embed
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.
a14a51c5
—
Peter John 5 years ago
Merge branch 'master' into actions
- Cargo.toml +3 -3
- impl/Cargo.toml +1 -1
- utils/Cargo.toml +1 -1
Cargo.toml
CHANGED
|
@@ -7,7 +7,7 @@ documentation = "https://docs.rs/rust-embed"
|
|
|
7
7
|
repository = "https://github.com/pyros2097/rust-embed"
|
|
8
8
|
license = "MIT"
|
|
9
9
|
keywords = ["http", "rocket", "static", "web", "server"]
|
|
10
|
-
categories = ["web-programming
|
|
10
|
+
categories = ["web-programming", "filesystem"]
|
|
11
11
|
authors = ["pyros2097 <pyros2097@gmail.com>"]
|
|
12
12
|
edition = "2018"
|
|
13
13
|
|
|
@@ -32,7 +32,7 @@ path = "tests/interpolated_path.rs"
|
|
|
32
32
|
required-features = ["interpolate-folder-path"]
|
|
33
33
|
|
|
34
34
|
[dependencies]
|
|
35
|
-
walkdir = "2.
|
|
35
|
+
walkdir = "2.3.1"
|
|
36
36
|
rust-embed-impl = { version = "5.5.1", path = "impl"}
|
|
37
37
|
rust-embed-utils = { version = "5.0.0", path = "utils"}
|
|
38
38
|
|
|
@@ -42,7 +42,7 @@ actix-rt = { version = "1", optional = true }
|
|
|
42
42
|
mime_guess = { version = "2", optional = true }
|
|
43
43
|
tokio = { version = "0.2", optional = true, features = ["macros"] }
|
|
44
44
|
warp = { version = "0.2", default-features = false, optional = true }
|
|
45
|
-
rocket = { version = "0.4.
|
|
45
|
+
rocket = { version = "0.4.5", default-features = false, optional = true }
|
|
46
46
|
|
|
47
47
|
[features]
|
|
48
48
|
debug-embed = ["rust-embed-impl/debug-embed", "rust-embed-utils/debug-embed"]
|
impl/Cargo.toml
CHANGED
|
@@ -19,7 +19,7 @@ rust-embed-utils = { version = "5.0.0", path = "../utils"}
|
|
|
19
19
|
|
|
20
20
|
syn = "1"
|
|
21
21
|
quote = "1"
|
|
22
|
-
walkdir = "2.
|
|
22
|
+
walkdir = "2.3.1"
|
|
23
23
|
|
|
24
24
|
[dependencies.shellexpand]
|
|
25
25
|
version = "2"
|
utils/Cargo.toml
CHANGED
|
@@ -12,7 +12,7 @@ authors = ["pyros2097 <pyros2097@gmail.com>"]
|
|
|
12
12
|
edition = "2018"
|
|
13
13
|
|
|
14
14
|
[dependencies]
|
|
15
|
-
walkdir = "2.
|
|
15
|
+
walkdir = "2.3.1"
|
|
16
16
|
|
|
17
17
|
[features]
|
|
18
18
|
debug-embed = []
|