This is the cousin of this question over here asking the same thing for C.
Basically, is there a better way than to just turn it into a giant byte array and putting
You could alternatively use this tool https://github.com/pyros2097/rust-embed Which was created by me which generates rust code for your resources.
You probably want include_bytes!.
If you are in older versions of Rust, use include_bin! instead.