cluConstData 2.1.2

Compile-time macros for building persistent data structures in no_std and const environments. Supports buffer composition, and numeric formatting.
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}");
}