1 2 3 4 5 6 7 8 9 10
use cluConstData::const_data; const_data! { pub const HELLO: &str = "Hello"; pub const GREETING: &str = HELLO, ", world!"; } fn main() { println!("{GREETING}"); }