-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
70 lines (58 loc) · 1.68 KB
/
Cargo.toml
File metadata and controls
70 lines (58 loc) · 1.68 KB
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
[package]
name = "pocket-ark-client-plugin"
version = "0.0.1"
edition = "2021"
description = "ASI plugin for MEA to connect to Pocket Ark servers"
repository = "https://github.com/PocketRelay/PocketArkClientPlugin"
license = "MIT"
readme = "README.md"
authors = ["Jacobtread <jacobtread@gmail.com>"]
keywords = ["Hooking"]
[lib]
crate-type = ["cdylib"]
[dependencies]
pocket-ark-client-shared = { version = "0.1", path = "../PocketArkClientShared" }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Native file picker dialog
native-dialog = "0.7.0"
thiserror = "1"
# Logging
log = "0.4"
log-panics = { version = "2", features = ["with-backtrace"] }
env_logger = "0.10"
# Native GUI building
native-windows-gui = { version = "1", features = ["notice"] }
native-windows-derive = { version = "1" }
parking_lot = "0.12"
# Tokio async runtime
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.windows-sys]
version = "0.48"
features = [
# Foundational types
"Win32_Foundation",
# For DLL_PROCESS_ATTACH and DLL_PROCESS_DETACH constants
"Win32_System_SystemServices",
# Requried for virtual protecting memory
"Win32_System_Memory",
# Required for allocating consoles
"Win32_System_Console",
# Required for HOSTENT structure and gethostbyname function
"Win32_Networking_WinSock",
# APIs to suspend threads
"Win32_System_Diagnostics_ToolHelp",
]
# 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