Simplify the code (use ctor for all targets) and add a readme

This commit is contained in:
Dimitris Zervas
2023-05-23 19:41:28 +03:00
parent 11ec2f401b
commit a5880b5bed
4 changed files with 57 additions and 37 deletions

View File

@@ -6,13 +6,11 @@ edition = "2021"
[lib]
crate-type = ["cdylib"]
[[bin]]
name = "standalone"
[dependencies]
frida = { version = "0.4.0", features = ["auto-download"] }
frida-sys = { version = "0.4.0", features = ["auto-download", "frida-build"] }
lazy_static = "1.4.0"
# [target.'cfg(unix)'.dependencies]
ctor = "0.2.0"
# [target.'cfg(windows)'.dependencies]
# winapi = "0.3.9"