~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 (1) hide show
  1. readme.md +3 -0
readme.md CHANGED
@@ -46,8 +46,11 @@ fn main() {
46
46
 
47
47
  ## Examples
48
48
  To run the example in dev mode where it reads from the fs,
49
+
49
50
  `cargo run --example rocket`
51
+
50
52
  To run the example in release mode where it read from binary,
53
+
51
54
  `cargo run --release --example rocket`
52
55
  ## Testing
53
56
  debug: `cargo test --lib`