| Crates.io | hoax |
| lib.rs | hoax |
| version | 1.0.0 |
| created_at | 2021-10-17 12:47:27.971462+00 |
| updated_at | 2021-10-17 12:47:27.971462+00 |
| description | Simple procedural macro crate that "hides" any string literal in a plain sight. |
| homepage | |
| repository | https://github.com/DmitrijVC/hoax/ |
| max_upload_size | |
| id | 466187 |
| size | 4,597 |
Simple procedural macro crate that "hides" string literals in the binary in plain sight.
[dependencies]
hoax = "1.0.0"
Panics only when the first token tree is not a string literal, any followings are ignored.
Returns a String collected from a vector of chars.
#[macro_use] extern crate hoax;
println!("{}", "I am not hidden :c");
println!("{}", hoax!("I guess I am hidden c:"));
hoax!("cat\n")
is the same as
{vec!['c', 'a', 't', '\n',].iter().collect::<String>()}