6 ms·
For non-code assets, do you know about `include_bytes`?
by joelg236 8y ago
For non-code assets, do you know about `include_bytes`?
- tangent128 8y agoI 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 https://github.com/pyros2097/rust-embed