Is there a way to obfuscate string literals generated with include_str!
?
A simple strings
defeating option is include-flate — Rust compression library // Lib.rs, or similar crates.
The more general option is to do whatever obfuscation you want then use include bytes!
possibly in build.rs, or in a proc macro that uses the same sort of technique as the above create.
Thank you, this is exactly what I was looking for
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.