rust-embed v8.13.0
git clone https://git.pyrossh.dev/rust-embed
rust macro which loads files into the rust binary at compile time during release and loads the file from the fs during dev.
f36533d
— pyros2097
2017-03-16T11:06:50+05:30
make it publish ready
Generated files not shown: Cargo.lock
- Cargo.toml +10 -3
- src/main.rs +1 -1
Cargo.toml
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "rust-embed"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.2.0"
|
|
4
|
+
description = "Generates rust code to embed resource files into your rust executable"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
documentation = "https://docs.rs/rust-embed"
|
|
7
|
+
repository = "https://github.com/pyros2097/rust-embed"
|
|
8
|
+
license = "MIT"
|
|
9
|
+
keywords = ["http", "hyper", "rocket", "static", "web", "server"]
|
|
10
|
+
categories = ["web-programming::http-server"]
|
|
4
|
-
authors = ["
|
|
11
|
+
authors = ["pyros2097 <[email protected]>"]
|
|
5
12
|
|
|
6
|
-
[dependencies]
|
|
13
|
+
[dev-dependencies]
|
|
7
14
|
hyper = "*"
|
src/main.rs
CHANGED
|
@@ -57,7 +57,7 @@ fn recursive_read(list: &mut Vec<u8>, pp: &mut Vec<u8>, buffer: &mut Vec<u8>, fi
|
|
|
57
57
|
|
|
58
58
|
fn print_usage() {
|
|
59
59
|
print!("
|
|
60
|
-
rust-embed v0.
|
|
60
|
+
rust-embed v0.2.0
|
|
61
61
|
Generates rust code to embed resource files into your library or executable
|
|
62
62
|
|
|
63
63
|
Usage:
|