Compare commits
No commits in common. "2568538cb3a5de4816ff1c7acf2811f3969ca8a2" and "64a4bc9e486c5e386672237316731a3c4a7063d6" have entirely different histories.
2568538cb3
...
64a4bc9e48
@ -5,7 +5,7 @@ flags:
|
||||
-chdir <string> change working directory before codegen
|
||||
-prefix <string> path prefix for file keys, none by default
|
||||
-ignore <string> path globs to ignore (allowed multiple times)
|
||||
-module-name <string> generated module name, 'main' by default
|
||||
-const-name <string> generated constant name with data, 'embedfs' by default
|
||||
-module-name <string> generated module name, main by default
|
||||
-const-name <string> generated constant name with data, embedfs by default
|
||||
-no-pub do not make symbols in generated module public
|
||||
-force-mimetype set 'application/octet-stream' mime type for unknown files
|
||||
-force-mimetype set applicetion/octet-stream mime type for unknown files
|
||||
|
@ -38,6 +38,8 @@ fn main() {
|
||||
println(generator.generate())
|
||||
}
|
||||
|
||||
@[xdoc: 'generate code for embed directories with files into executable.']
|
||||
@[name: 'embedfs']
|
||||
struct FlagConfig {
|
||||
help bool
|
||||
chdir string
|
||||
|
@ -1,6 +1,6 @@
|
||||
EmbedFileSystem{
|
||||
files: {'assets/example.json': EmbedFile{
|
||||
data: embed_file.EmbedFileData{ len: 22, path: "assets/example.json", apath: "", uncompressed: 846284 }
|
||||
data: embed_file.EmbedFileData{ len: 22, path: "assets/example.json", apath: "", uncompressed: 8462c4 }
|
||||
meta: EmbedFileMetadata{
|
||||
key: 'assets/example.json'
|
||||
name: 'example.json'
|
||||
|
Loading…
x
Reference in New Issue
Block a user