#time

macro hidmystr

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

1 unstable release

0.1.0 Jul 16, 2024

#602 in Procedural macros

MIT/Apache

2KB

Example:

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

Dependencies

~235–670KB
~16K SLoC