~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.
774f2013
—
pyrossh 1 year ago
release v8.1.0
- Cargo.toml +3 -3
- changelog.md +6 -4
- impl/Cargo.toml +2 -2
- readme.md +1 -1
- utils/Cargo.toml +1 -1
Cargo.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "rust-embed"
|
|
3
|
-
version = "8.
|
|
3
|
+
version = "8.1.0"
|
|
4
4
|
description = "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"
|
|
5
5
|
readme = "readme.md"
|
|
6
6
|
documentation = "https://docs.rs/rust-embed"
|
|
@@ -64,8 +64,8 @@ required-features = ["mime-guess"]
|
|
|
64
64
|
|
|
65
65
|
[dependencies]
|
|
66
66
|
walkdir = "2.3.2"
|
|
67
|
-
rust-embed-impl = { version = "8.
|
|
67
|
+
rust-embed-impl = { version = "8.1.0", path = "impl"}
|
|
68
|
-
rust-embed-utils = { version = "8.
|
|
68
|
+
rust-embed-utils = { version = "8.1.0", path = "utils"}
|
|
69
69
|
|
|
70
70
|
include-flate = { version = "0.2", optional = true, features = ["stable"] }
|
|
71
71
|
actix-web = { version = "4", optional = true }
|
changelog.md
CHANGED
|
@@ -7,14 +7,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
7
7
|
|
|
8
8
|
Thanks to [Mark Drobnak](https://github.com/AzureMarker) for the changelog.
|
|
9
9
|
|
|
10
|
-
## [8.
|
|
10
|
+
## [8.1.0] - 2023-12-08
|
|
11
|
+
|
|
12
|
+
- Add created to file metadata. [#225](https://github.com/pyrossh/rust-embed/pull/225/files). Thanks to [ngalaiko](https://github.com/ngalaiko)
|
|
11
13
|
|
|
12
|
-
|
|
14
|
+
## [8.0.0] - 2023-08-23
|
|
13
15
|
|
|
16
|
+
- Store file contents statically and use binary search for lookup. [#217](https://github.com/pyrossh/rust-embed/pull/217/files). Thanks to [osiewicz](https://github.com/osiewicz)
|
|
14
17
|
|
|
15
18
|
## [6.8.1] - 2023-06-30
|
|
16
19
|
|
|
17
|
-
- Fix failing compilation under compression feature [#182](https://github.com/pyrossh/rust-embed/issues/182). Thanks to [osiewicz](https://github.com/osiewicz)
|
|
20
|
+
- Fix failing compilation under compression feature [#182](https://github.com/pyrossh/rust-embed/issues/182). Thanks to [osiewicz](https://github.com/osiewicz)
|
|
18
21
|
|
|
19
22
|
## [6.8.0] - 2023-06-30
|
|
20
23
|
|
|
@@ -45,7 +48,6 @@ Thanks to [Mark Drobnak](https://github.com/AzureMarker) for the changelog.
|
|
|
45
48
|
|
|
46
49
|
- Order files by filename [#171](https://github.com/pyros2097/rust-embed/issues/171). Thanks to [apognu](https://github.com/apognu)
|
|
47
50
|
|
|
48
|
-
|
|
49
51
|
## [6.3.0] - 2021-11-28
|
|
50
52
|
|
|
51
53
|
- Fixed a security issue in debug mode [#159](https://github.com/pyros2097/rust-embed/issues/159). Thanks to [5225225](https://github.com/5225225)
|
impl/Cargo.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "rust-embed-impl"
|
|
3
|
-
version = "8.
|
|
3
|
+
version = "8.1.0"
|
|
4
4
|
description = "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"
|
|
5
5
|
readme = "readme.md"
|
|
6
6
|
documentation = "https://docs.rs/rust-embed"
|
|
@@ -15,7 +15,7 @@ edition = "2018"
|
|
|
15
15
|
proc-macro = true
|
|
16
16
|
|
|
17
17
|
[dependencies]
|
|
18
|
-
rust-embed-utils = { version = "8.
|
|
18
|
+
rust-embed-utils = { version = "8.1.0", path = "../utils"}
|
|
19
19
|
|
|
20
20
|
syn = { version = "2", default-features = false, features = ["derive", "parsing", "proc-macro", "printing"] }
|
|
21
21
|
quote = "1"
|
readme.md
CHANGED
|
@@ -8,7 +8,7 @@ You can use this to embed your css, js and images into a single executable which
|
|
|
8
8
|
|
|
9
9
|
```toml
|
|
10
10
|
[dependencies]
|
|
11
|
-
rust-embed="8.
|
|
11
|
+
rust-embed="8.1.0"
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
## Documentation
|
utils/Cargo.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "rust-embed-utils"
|
|
3
|
-
version = "8.
|
|
3
|
+
version = "8.1.0"
|
|
4
4
|
description = "Utilities for rust-embed"
|
|
5
5
|
readme = "readme.md"
|
|
6
6
|
documentation = "https://docs.rs/rust-embed"
|