-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
68 lines (56 loc) · 1.67 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
[package]
name = "pocket-relay-hooks"
version = "0.1.0"
edition = "2021"
description = "DLL that patches portions of ME3 to allow PocketRelay to work"
repository = "https://github.com/PocketRelay/PocketRelayHooks"
license = "MIT"
readme = "README.md"
authors = ["Jacobtread <jacobtread@gmail.com>"]
keywords = ["Hooking"]
build = "build.rs"
[lib]
name = "binkw32"
crate-type = ["cdylib"]
[build-dependencies]
exe = "^0.5.6"
[dependencies]
env_logger = "0.10.0"
log = "0.4.20"
reqwest = { version = "0.11", features = ["json"] }
serde = { version = "1", features = ["derive"] }
# Blaze packet system
blaze-pk = "1"
# Blaze SSLv3 async TCPStream implementation
blaze-ssl-async = "^0.3"
# Library for obtaining the local IP address of the device
local-ip-address = { version = "0.5.2", git = "https://github.com/jacobtread/local-ip-address.git" }
tokio-util = { version = "0.7", features = ["codec"] }
futures-util = { version = "0.3", features = ["sink"] }
thiserror = "1"
[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"]
[dependencies.native-windows-gui]
version = "1.0.13"
# Compile x86
# cargo build --release --target i686-pc-windows-msvc
# 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