feat: add obfstr

This commit is contained in:
2022-07-09 23:19:00 +08:00
parent a8a284163d
commit 6160185ace
4 changed files with 39 additions and 1 deletions

16
__misc/obfstr/Cargo.lock generated Normal file
View File

@@ -0,0 +1,16 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "obfstr"
version = "0.1.0"
dependencies = [
"obfstr 0.3.0",
]
[[package]]
name = "obfstr"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7b2b2cbbfd8defa51ff24450a61d73b3ff3e158484ddd274a883e886e6fbaa78"

10
__misc/obfstr/Cargo.toml Normal file
View File

@@ -0,0 +1,10 @@
[package]
name = "obfstr"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
obfstr = "0.3.0"

View File

@@ -0,0 +1,9 @@
use obfstr::obfstr;
fn main() {
obfstr!(
let secret = "Secret!!";
);
println!("{}", secret);
}