-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
67 lines (57 loc) · 1.64 KB
/
Cargo.toml
File metadata and controls
67 lines (57 loc) · 1.64 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
[package]
name = "pocket-relay-plugin"
version = "0.1.1"
edition = "2021"
description = "ASI plugin for ME3 to allow playing on Pocket Relay servers"
repository = "https://github.com/PocketRelay/PocketRelayClientPlugin"
license = "MIT"
readme = "README.md"
authors = ["Jacobtread <jacobtread@gmail.com>"]
keywords = ["Hooking"]
[lib]
crate-type = ["cdylib"]
[dependencies]
# Shared backing library
pocket-relay-client-shared = { version = "^0.3" }
# Logging
env_logger = "0.10"
log = "0.4"
log-panics = { version = "2", features = ["with-backtrace"] }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Native GUI building
native-windows-gui = { version = "1", features = ["notice"] }
native-windows-derive = { version = "1" }
futures = "0.3"
hudhook = { version = "0.8.1", default-features = false, features = [
"dx9",
], path = "./hudhook" }
parking_lot = "0.12.4"
image = { version = "0.25.6", default-features = false, features = ["png"] }
once_cell = "1.21.3"
[dependencies.windows-sys]
version = "0.52"
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",
]
# Tokio async runtime
[dependencies.tokio]
version = "1"
features = ["full"]
[profile.release]
# opt-level = 0
strip = true
lto = true
codegen-units = 1