1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// Jackson Coxson #[macro_export] macro_rules! obf { ($lit:literal) => {{ #[cfg(feature = "obfuscate")] { std::borrow::Cow::Owned(obfstr::obfstr!($lit).to_string()) } #[cfg(not(feature = "obfuscate"))] { std::borrow::Cow::Borrowed($lit) } }}; }