-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
136 lines (106 loc) · 2.99 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
[package]
name = "pocket-relay"
version = "0.5.6"
description = "Pocket Relay Server"
readme = "README.md"
keywords = ["EA", "PocketRelay", "MassEffect"]
edition = "2021"
license = "MIT"
authors = ["Jacobtread <jacobtread@gmail.com>"]
repository = "https://github.com/PocketRelay/Server"
# Glob to ensure resources is included
include = ["src/**/*"]
[dependencies]
# Serde and Serde JSON for serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Logging facade
log = { version = "0.4", features = ["serde"] }
# Blaze packet system & SSLv3 async impl
blaze-pk = "1.3"
blaze-ssl-async = "^0.3"
# Resource embedding
embeddy = "0.1"
# Password hashing
argon2 = { version = "0.5", features = ["std"] }
base64ct = { version = "1.5", features = ["alloc"] }
flate2 = { version = "1", features = ["zlib"], default-features = false }
ring = "0.16"
# Library for obtaining the local IP address of the device
local-ip-address = "0.5"
# Error handling and transforming
thiserror = "1"
# Email validation
email_address = "0.2.4"
# Async services framework
interlink = "0.1"
# Codec utils for encoding and decoding packets
tokio-util = { version = "0.7", features = ["codec"] }
# Hyper for connection upgrades
hyper = "0.14.25"
tower = "0.4"
bitflags = "2.3.1"
# SeaORM
[dependencies.sea-orm]
version = "^0"
default-features = false
features = ["runtime-tokio-rustls", "macros", "with-chrono", "sqlx-sqlite"]
# SeaORM Migration
[dependencies.sea-orm-migration]
version = "^0"
default-features = false
features = ["runtime-tokio-rustls", "sqlx-sqlite"]
# Futures util for stream and sink extensions
[dependencies.futures-util]
version = "0.3"
features = ["sink"]
# Tokio async runtime
[dependencies.tokio]
version = "1"
features = [
"fs",
"macros",
"net",
"parking_lot",
"rt-multi-thread",
"signal",
"sync",
]
# Axum web framework
[dependencies.axum]
version = "0.6.1"
default-features = false
features = ["http1", "json", "query", "tokio"]
# HTTP Client
[dependencies.reqwest]
version = "0.11.12"
default-features = false
features = ["json", "rustls-tls"]
# Logging provider
[dependencies.log4rs]
version = "1.2.0"
default-features = false
features = ["console_appender", "file_appender"]
# Datetime
[dependencies.chrono]
version = "0.4"
default-features = false
features = ["std", "serde"]
# Patch which updates the windows-sys dep
[patch.crates-io]
local-ip-address = { git = "https://github.com/jacobtread/local-ip-address.git" }
[profile.release]
strip = true
lto = true
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
# Bininstall meta
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }{ archive-suffix }"
pkg-fmt = "bin"
[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-url = "{ repo }/releases/download/v{ version }/pocket-relay-windows.exe"
[package.metadata.binstall.overrides.x86_64-unknown-linux-musl]
pkg-url = "{ repo }/releases/download/v{ version }/pocket-relay-linux"