#variables #compile-time #run-time #value #original #hide #treat

macro hidmystr

Hide string at compile time and treat variable value as original at runtime

1 unstable release

0.1.0 Jul 16, 2024

#1858 in Procedural macros

MIT/Apache

2KB

Example:

fn main() {
    let greet: String = hidmystr::hidstr!("helloss, world!");
    println!("{greet}");
}

Dependencies

~250–700KB
~17K SLoC