~repos /rust-embed

#rust#proc-macro#http

git clone https://pyrossh.dev/repos/rust-embed.git
Discussions: https://groups.google.com/g/rust-embed-devs

rust macro which loads files into the rust binary at compile time during release and loads the file from the fs during dev.


Files changed (5) hide show
  1. Cargo.toml +4 -4
  2. changelog.md +4 -0
  3. impl/Cargo.toml +2 -2
  4. readme.md +1 -3
  5. utils/Cargo.toml +1 -1
Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "rust-embed"
3
- version = "6.7.0"
3
+ version = "6.8.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"
@@ -63,10 +63,10 @@ required-features = ["mime-guess"]
63
63
 
64
64
  [dependencies]
65
65
  walkdir = "2.3.2"
66
- rust-embed-impl = { version = "6.6.0", path = "impl"}
66
+ rust-embed-impl = { version = "6.8.0", path = "impl"}
67
- rust-embed-utils = { version = "7.5.0", path = "utils"}
67
+ rust-embed-utils = { version = "7.8.0", path = "utils"}
68
68
 
69
- include-flate = { version = "0.1", optional = true, features = ["stable"] }
69
+ include-flate = { version = "0.2", optional = true, features = ["stable"] }
70
70
  actix-web = { version = "4", optional = true }
71
71
  mime_guess = { version = "2", optional = true }
72
72
  hex = { version = "0.4.3", optional = true }
changelog.md CHANGED
@@ -7,6 +7,10 @@ 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
+ ## [6.8.0] - 2023-06-30
11
+
12
+ - Update `include-flate` to v0.2 [#211](https://github.com/pyrossh/rust-embed/issues/182)
13
+
10
14
  ## [6.7.0] - 2023-06-09
11
15
 
12
16
  - Update `syn` to v2.0 [#211](https://github.com/pyrossh/rust-embed/issues/211)
impl/Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "rust-embed-impl"
3
- version = "6.6.0"
3
+ version = "6.8.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 = "7.5.0", path = "../utils"}
18
+ rust-embed-utils = { version = "7.8.0", path = "../utils"}
19
19
 
20
20
  syn = { version = "2", default-features = false, features = ["derive", "parsing", "proc-macro"] }
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="6.7.0"
11
+ rust-embed="6.8.0"
12
12
  ```
13
13
 
14
14
  ## Documentation
@@ -101,8 +101,6 @@ This will pull the `foo` directory relative to your `Cargo.toml` file.
101
101
  ### `compression`
102
102
 
103
103
  Compress each file when embedding into the binary. Compression is done via [`include-flate`].
104
- > Note this feature should only be used with clean builds as it doesn't work properly for incremental builds yet. Please look at this issue for more details [#182](https://github.com/pyrossh/rust-embed/issues/182)
105
-
106
104
 
107
105
  ### `include-exclude`
108
106
  Filter files to be embedded with multiple `#[include = "*.txt"]` and `#[exclude = "*.jpg"]` attributes.
utils/Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "rust-embed-utils"
3
- version = "7.5.0"
3
+ version = "7.8.0"
4
4
  description = "Utilities for rust-embed"
5
5
  readme = "readme.md"
6
6
  documentation = "https://docs.rs/rust-embed"