~repos /rust-embed

#rust#proc-macro#http

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.


67b31bbb Peter

6 years ago
Merge pull request #72 from pyros2097/v5.0.0
Files changed (5) hide show
  1. Cargo.toml +3 -3
  2. changelog.md +8 -0
  3. impl/Cargo.toml +2 -2
  4. readme.md +1 -1
  5. utils/Cargo.toml +1 -1
Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "rust-embed"
3
- version = "4.5.0"
3
+ version = "5.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"
@@ -12,8 +12,8 @@ authors = ["pyros2097 <pyros2097@gmail.com>"]
12
12
 
13
13
  [dependencies]
14
14
  walkdir = "2.2.7"
15
- rust-embed-impl = { version = "4.5.0", path = "impl"}
15
+ rust-embed-impl = { version = "5.0.0", path = "impl"}
16
- rust-embed-utils = { version = "4.5.0", path = "utils"}
16
+ rust-embed-utils = { version = "5.0.0", path = "utils"}
17
17
 
18
18
  actix-web = { version = "0.7", optional = true }
19
19
  mime_guess = { version = "2.0.0-alpha.6", optional = true }
changelog.md CHANGED
@@ -6,6 +6,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
6
6
 
7
7
  Thanks to [Mcat12](https://github.com/Mcat12) for the changelog.
8
8
 
9
+ ## [5.0.0] - 2019-07-05
10
+ ## Added
11
+ - proper error message stating only unit structs are supported
12
+ ## Fixed
13
+ - windows latest build
14
+ ## Changed
15
+ - derive on tuple structs is removed
16
+
9
17
  ## [4.5.0] - 2019-06-29
10
18
  ## Added
11
19
  - allow rust embed derive to take env variables in the folder path
impl/Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "rust-embed-impl"
3
- version = "4.5.0"
3
+ version = "5.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"
@@ -14,7 +14,7 @@ authors = ["pyros2097 <pyros2097@gmail.com>"]
14
14
  proc-macro = true
15
15
 
16
16
  [dependencies]
17
- rust-embed-utils = { version = "4.5.0", path = "../utils"}
17
+ rust-embed-utils = { version = "5.0.0", path = "../utils"}
18
18
 
19
19
  syn = "0.11"
20
20
  quote = "0.3"
readme.md CHANGED
@@ -13,7 +13,7 @@ You can use this to embed your css, js and images into a single executable which
13
13
 
14
14
  ```toml
15
15
  [dependencies]
16
- rust-embed="4.5.0"
16
+ rust-embed="5.0.0"
17
17
  ```
18
18
 
19
19
  ## Documentation
utils/Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "rust-embed-utils"
3
- version = "4.5.0"
3
+ version = "5.0.0"
4
4
  description = "Utilities for rust-embed"
5
5
  readme = "readme.md"
6
6
  documentation = "https://docs.rs/rust-embed"