feat(rust): complete M5 security hardening — dynamic API, obfuscation, libloading

This commit is contained in:
2026-04-28 22:45:49 +08:00
parent 6a92f46447
commit b7f756bc2b
5 changed files with 98 additions and 0 deletions
+17
View File
@@ -30,6 +30,7 @@ dependencies = [
name = "craft-core"
version = "1.0.0"
dependencies = [
"libloading",
"obfstr",
"sha2",
"windows-sys",
@@ -71,6 +72,16 @@ version = "0.2.186"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
[[package]]
name = "libloading"
version = "0.8.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55"
dependencies = [
"cfg-if",
"windows-link",
]
[[package]]
name = "obfstr"
version = "0.4.4"
@@ -100,6 +111,12 @@ version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
[[package]]
name = "windows-link"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
[[package]]
name = "windows-sys"
version = "0.52.0"