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


f5a60c89 pyros2097

7 years ago
update readme
Files changed (1) hide show
  1. readme.md +2 -2
readme.md CHANGED
@@ -46,7 +46,7 @@ To run the example in dev mode where it reads from the fs,
46
46
 
47
47
  To run the example in release mode where it reads from binary,
48
48
 
49
- `cargo run --release --example basic`
49
+ `cargo run --example basic --release`
50
50
 
51
51
  Note: To run the `actix-web` example:
52
52
 
@@ -59,7 +59,7 @@ Note: To run the `rocket` example, add the `nightly` feature flag and run on a n
59
59
  ## Testing
60
60
  debug: `cargo test --test lib`
61
61
 
62
- release: `cargo test --release --test lib`
62
+ release: `cargo test --test lib --release`
63
63
 
64
64
  Go Rusketeers!
65
65
  The power is yours!