Hacker News new | ask | show | jobs
by joelg236 2722 days ago
For non-code assets, do you know about `include_bytes`?
1 comments

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