-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathCargo.toml
41 lines (33 loc) · 1008 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[package]
name = "injectionforge"
version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["cdylib"]
[[bin]]
name = "standalone"
path = "src/main.rs"
[features]
default = ["frida", "frida-auto-download"]
frida = ["dep:frida", "dep:lazy_static", "dep:serde", "dep:serde_json"]
frida-auto-download = ["frida/auto-download"]
[dependencies]
frida = { version = "0.16", optional = true }
lazy_static = { version = "1.5.0", optional = true }
serde = { version = "1.0", features = ["derive"], optional = true }
serde_json = { version = "1.0", optional = true }
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.9", features = ["winnt", "libloaderapi"] }
windows-sys = { version = "0.59", features = [
"Win32_System_ClrHosting",
], optional = true }
[target.'cfg(unix)'.dependencies]
ctor = "0.2"
[build-dependencies]
goblin = "0.9"
build-target = "0.4"
serde = { version = "1.0", features = ["derive"] }
toml = "0.8"
[dev-dependencies]
pretty_assertions = "1.4"
mylib = { path = "tests/mylib" }