How to embed resources in Rust executable?

You probably want include_bytes!.

If you are in older versions of Rust, use include_bin! instead.

Leave a Comment