ume
means "Embed" or "Japanese apricot" in Japanese.
ume
is a simple macro to generate Rust source code.
rust
let use_something = ume!(
use something::prelude::*;
);
let let_one = ume!(let one = 1;);
let let_two = ume!(let two = 2;);
let source_code = ume! {
#use_something
fn main() {
#let_one
#let_two
println!("{one} {two}");
}
}