~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.


7ab05903 Peter John

3 years ago
Merge pull request #167 from lopopolo/lopopolo/remove-syn-features
Files changed (1) hide show
  1. impl/Cargo.toml +1 -1
impl/Cargo.toml CHANGED
@@ -17,7 +17,7 @@ proc-macro = true
17
17
  [dependencies]
18
18
  rust-embed-utils = { version = "7.1.0", path = "../utils"}
19
19
 
20
- syn = "1"
20
+ syn = { version = "1", default-features = false, features = ["derive", "parsing", "proc-macro"] }
21
21
  quote = "1"
22
22
  proc-macro2 = "1"
23
23
  walkdir = "2.3.1"