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

macro hidmystr

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

1 unstable release

0.1.0 Jul 16, 2024

#1836 in Procedural macros

MIT/Apache

2KB

Example:

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

Dependencies

~265–720KB
~17K SLoC