include_str!
If you want to include a static utf-8 file in your Rust binary, you can simply
use the include_str!
macro:
# hello.txt
hello world!
const CONTENTS: &str = include_str!("hello.txt");
fn main() {
println!("{}", CONTENTS);
// prints "hello world!"
}