Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
joelg236
· 7y ago · 0 comments
For non-code assets, do you know about `include_bytes`?
Comments
[–]
tangent128
7y ago
I found rust-embed recently[0], which lets you embed an entire directory in release mode while deferring to the file system in debug mode.
[0]:
https://github.com/pyros2097/rust-embed