rust-embed v8.12.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.
57b18e1
— Peter John
2026-09-15T18:50:08+05:30
release v8.12.0
- Cargo.toml +3 -3
- README.md +1 -1
- changelog.md +11 -0
- impl/Cargo.toml +2 -2
- 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.12.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"
|
|
@@ -69,8 +69,8 @@ required-features = ["mime-guess"]
|
|
|
69
69
|
|
|
70
70
|
[dependencies]
|
|
71
71
|
walkdir = "2.3.2"
|
|
72
|
-
rust-embed-impl = { version = "8.
|
|
72
|
+
rust-embed-impl = { version = "8.12.0", path = "impl" }
|
|
73
|
-
rust-embed-utils = { version = "8.
|
|
73
|
+
rust-embed-utils = { version = "8.12.0", path = "utils" }
|
|
74
74
|
|
|
75
75
|
include-flate = { version = "0.3", optional = true }
|
|
76
76
|
actix-web = { version = "4", optional = true }
|
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.12.0"
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
## Documentation
|
changelog.md
CHANGED
|
@@ -7,6 +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.12.0] - 2026-07-08
|
|
11
|
+
|
|
12
|
+
- Fix embedded data being duplicated in binary. Thanks to [email protected].
|
|
13
|
+
- Make Way to avoid compile failure on undefined env. Thanks to Tommy Yu <[email protected]>.
|
|
14
|
+
- Remove redundant `Option`/`.unwrap()` and comment. Thanks to Tommy Yu <[email protected]>.
|
|
15
|
+
- Fix folder_path not being an Option. Thanks to Tommy Yu <[email protected]>.
|
|
16
|
+
- Fix mime guess host/target issue. Thanks to David Tolnay <[email protected]>.
|
|
17
|
+
- Fix rust-embed-utils is built twice when cross-compiling. Thanks to David Tolnay <[email protected]>.
|
|
18
|
+
- Add support to get files data compressed. Thanks to Hugues Morisset <[email protected]>.
|
|
19
|
+
- Rename symlinks and readme files to uppercase for consistency. Thanks to pyrossh.
|
|
20
|
+
|
|
10
21
|
## [8.11.0] - 2026-01-14
|
|
11
22
|
|
|
12
23
|
- Fix RustEmbed::iter() signature as it was breaking the static lifetime.
|
impl/Cargo.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "rust-embed-impl"
|
|
3
|
-
version = "8.
|
|
3
|
+
version = "8.12.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.12.0", path = "../utils" }
|
|
19
19
|
|
|
20
20
|
# Unconditional (host-only, this is a proc-macro crate) so that the `__mimetype_of`
|
|
21
21
|
# proc macro can always compute a mimetype regardless of how the `mime-guess`
|
utils/Cargo.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "rust-embed-utils"
|
|
3
|
-
version = "8.
|
|
3
|
+
version = "8.12.0"
|
|
4
4
|
description = "Utilities for rust-embed"
|
|
5
5
|
readme = "readme.md"
|
|
6
6
|
documentation = "https://docs.rs/rust-embed"
|