~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 (4) hide show
  1. Cargo.toml +3 -3
  2. changelog.md +6 -0
  3. impl/Cargo.toml +2 -2
  4. utils/Cargo.toml +1 -1
Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "rust-embed"
3
- version = "6.8.1"
3
+ version = "8.0.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,8 +63,8 @@ required-features = ["mime-guess"]
63
63
 
64
64
  [dependencies]
65
65
  walkdir = "2.3.2"
66
- rust-embed-impl = { version = "6.8.1", path = "impl"}
66
+ rust-embed-impl = { version = "8.0.0", path = "impl"}
67
- rust-embed-utils = { version = "7.8.1", path = "utils"}
67
+ rust-embed-utils = { version = "8.0.0", path = "utils"}
68
68
 
69
69
  include-flate = { version = "0.2", optional = true, features = ["stable"] }
70
70
  actix-web = { version = "4", optional = true }
changelog.md CHANGED
@@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
6
6
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
7
7
 
8
8
  Thanks to [Mark Drobnak](https://github.com/AzureMarker) for the changelog.
9
+
10
+ ## [8.0.0] - 2023-08-23
11
+
12
+ - 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)
13
+
14
+
9
15
  ## [6.8.1] - 2023-06-30
10
16
 
11
17
  - Fix failing compilation under compression feature [#182](https://github.com/pyrossh/rust-embed/issues/182). Thanks to [osiewicz](https://github.com/osiewicz)
impl/Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "rust-embed-impl"
3
- version = "6.8.1"
3
+ version = "8.0.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.8.0", path = "../utils"}
18
+ rust-embed-utils = { version = "8.0.0", path = "../utils"}
19
19
 
20
20
  syn = { version = "2", default-features = false, features = ["derive", "parsing", "proc-macro"] }
21
21
  quote = "1"
utils/Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "rust-embed-utils"
3
- version = "7.8.1"
3
+ version = "8.0.0"
4
4
  description = "Utilities for rust-embed"
5
5
  readme = "readme.md"
6
6
  documentation = "https://docs.rs/rust-embed"