-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
86 lines (70 loc) · 1.86 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[package]
name = "pocket-ark-dump"
version = "0.0.1"
edition = "2021"
description = "ASI plugin for MEA to dump and log traffic"
repository = "https://github.com/PocketRelay/PocketArkDataCollectPlugin"
license = "MIT"
readme = "README.md"
authors = ["Jacobtread <[email protected]>"]
keywords = ["Hooking"]
[lib]
crate-type = ["cdylib"]
[dependencies]
log = "0.4.20"
log-panics = { version = "2", features = ["with-backtrace"] }
reqwest = { version = "0.11", features = ["json", "gzip", "native-tls"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tdf = { version = "0.4", features = ["bytes"] }
bytes = "1.4.0"
tokio-util = { version = "0.7", features = ["codec"] }
futures-util = { version = "0.3", features = ["sink"] }
thiserror = "1"
hyper = { version = "0.14", features = ["server", "http1", "tcp", "runtime"] }
bitflags = "2.4.0"
directories = "5.0.1"
anyhow = "1.0.76"
openssl-sys = "0.9"
openssl = "0.10"
tokio-openssl = "0.6.3"
quick-xml = { version = "0.31.0", features = ["serialize"] }
[dependencies.windows-sys]
version = "0.48"
features = [
"Win32_Foundation",
"Win32_System_SystemServices",
"Win32_System_Memory",
"Win32_System_LibraryLoader",
"Win32_System_Console",
"Win32_Networking_WinSock",
]
# Tokio async runtime
[dependencies.tokio]
version = "1"
features = [
"macros",
"net",
"parking_lot",
"rt-multi-thread",
"sync",
"signal",
"fs",
]
[dependencies.native-windows-gui]
version = "1.0.13"
# Logging provider
[dependencies.log4rs]
version = "1.2.0"
default-features = false
features = ["console_appender", "file_appender"]
# Compile x86
# cargo build --release
# Compile std to reduce size:
# cargo +nightly build -Z build-std=std,panic_abort --release --target x86_64-pc-windows-msvc
# [profile.release]
# opt-level = "z"
# codegen-units = 1
# panic = "abort"
# strip = true
# lto = true