#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

#2598 in Procedural macros

33 downloads per month

MIT/Apache

2KB

Example:

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

Dependencies

~200–630KB
~15K SLoC