~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.
4e605255
—
pyrossh 1 year ago
v8.4.0
- Cargo.toml +3 -3
- changelog.md +8 -0
- 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.4.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.4.0", path = "impl"}
|
|
68
|
-
rust-embed-utils = { version = "8.
|
|
68
|
+
rust-embed-utils = { version = "8.4.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,6 +7,14 @@ 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.4.0] - 2024-05-11
|
|
11
|
+
|
|
12
|
+
- Re-export RustEmbed as Embed [#245](https://github.com/pyrossh/rust-embed/pull/245/files). Thanks to [pyrossh](https://github.com/pyrossh)
|
|
13
|
+
- Do not build glob matchers repeatedly when include-exclude feature is enabled [#244](https://github.com/pyrossh/rust-embed/pull/244/files). Thanks to [osiewicz](https://github.com/osiewicz)
|
|
14
|
+
- Add `metadata_only` attribute [#241](https://github.com/pyrossh/rust-embed/pull/241/files). Thanks to [ddfisher](https://github.com/ddfisher)
|
|
15
|
+
- Replace `expect` with a safer alternative that returns `None` instead [#240](https://github.com/pyrossh/rust-embed/pull/240/files). Thanks to [costinsin](https://github.com/costinsin)
|
|
16
|
+
- Eliminate unnecessary `to_path` call [#239](https://github.com/pyrossh/rust-embed/pull/239/files). Thanks to [smoelius](https://github.com/smoelius)
|
|
17
|
+
|
|
10
18
|
## [8.3.0] - 2024-02-26
|
|
11
19
|
|
|
12
20
|
- Fix symbolic links in debug builds [#235](https://github.com/pyrossh/rust-embed/pull/235/files). Thanks to [Buckram123](https://github.com/Buckram123)
|
impl/Cargo.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "rust-embed-impl"
|
|
3
|
-
version = "8.
|
|
3
|
+
version = "8.4.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.4.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.4.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.4.0"
|
|
4
4
|
description = "Utilities for rust-embed"
|
|
5
5
|
readme = "readme.md"
|
|
6
6
|
documentation = "https://docs.rs/rust-embed"
|