forked from googleforgames/quilkin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
181 lines (168 loc) · 5.06 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
#
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
[workspace]
members = [".", "./macros", "./agones", "./proto-gen"]
[workspace.dependencies]
kube = { version = "0.88", features = [
"runtime",
"rustls-tls",
"client",
], default-features = false }
kube-core = { version = "0.88", default-features = false, features = [
"schema",
] }
k8s-openapi = { version = "0.21", features = ["v1_29", "schemars"] }
tokio = { version = "1.32.0", features = [
"rt-multi-thread",
"fs",
"signal",
"test-util",
"parking_lot",
"tracing",
] }
base64 = "0.21.0"
tracing = "0.1.37"
futures = "0.3.28"
[package]
name = "quilkin"
version = "0.8.0-dev"
authors = [
"Mark Mandel <[email protected]>",
"Ifeanyi Ubah <[email protected]>",
"Erin Power <[email protected]>",
]
license = "Apache-2.0"
description = "Quilkin is a non-transparent UDP proxy specifically designed for use with large scale multiplayer dedicated game server deployments, to ensure security, access control, telemetry data, metrics and more."
homepage = "https://github.com/googleforgames/quilkin"
repository = "https://github.com/googleforgames/quilkin"
readme = "README.md"
keywords = [
"proxy",
"game-server",
"game-development",
"networking",
"multiplayer",
]
categories = ["game-development", "network-programming"]
edition = "2021"
exclude = ["docs", "build", "examples", "image"]
[[bench]]
name = "read_write"
harness = false
test = false
[[bench]]
name = "compression"
harness = false
test = false
[[bench]]
name = "cluster_map"
harness = false
test = false
[dependencies]
# Local
quilkin-macros = { version = "0.8.0-dev", path = "./macros" }
# Crates.io
arc-swap = { version = "1.6.0", features = ["serde"] }
async-stream = "0.3.5"
base64.workspace = true
base64-serde = "0.7.0"
bytes = { version = "1.5.0", features = ["serde"] }
cached = { version = "0.49", default-features = false }
time = { version = "0.3", default-features = false, features = ["std"] }
clap = { version = "4.4.6", features = ["cargo", "derive", "env"] }
dashmap = { version = "5.5.3", features = ["serde"] }
either = "1.9.0"
enum-map = "2.6.3"
eyre = "0.6.8"
fixedstr = { version = "0.5", features = ["flex-str"] }
futures.workspace = true
hyper = { version = "0.14.27", features = ["http2"] }
hyper-rustls = { version = "0.24.1", features = ["http2", "webpki-roots"] }
ipnetwork = "0.20.0"
k8s-openapi.workspace = true
lz4_flex = { version = "0.11", default-features = false }
maxminddb = "0.24.0"
notify = "6.1.1"
num_cpus = "1.16.0"
once_cell = "1.18.0"
parking_lot = "0.12.1"
prometheus = { version = "0.13.3", default-features = false }
prost = "0.12.1"
prost-types = "0.12.1"
rand = "0.8.5"
regex = "1.9.6"
schemars = { version = "0.8.15", features = ["bytes", "url"] }
seahash = "4.1"
serde = { version = "1.0.188", features = ["derive", "rc"] }
serde_json = "1.0.107"
serde_regex = "1.1.0"
serde_stacker = "0.1.10"
serde_yaml = "0.9.25"
snap = "1.1.0"
socket2 = { version = "0.5.4", features = ["all"] }
stable-eyre = "0.2.2"
thiserror = "1.0.49"
tokio.workspace = true
tokio-stream = { version = "0.1.14", features = ["sync"] }
tonic = "0.10.2"
tracing.workspace = true
tracing-futures = { version = "0.2.5", features = ["futures-03"] }
tracing-subscriber = { version = "0.3.17", features = ["json", "env-filter"] }
tryhard = "0.5.1"
url = { version = "2.4.1", features = ["serde"] }
uuid = { version = "1.4.1", default-features = false, features = ["v4"] }
lasso = { version = "0.7.2", features = ["multi-threaded"] }
kube.workspace = true
kube-core.workspace = true
trust-dns-resolver = { version = "0.23.0", features = [
"tokio",
"tokio-rustls",
"dns-over-https-rustls",
] }
async-trait = "0.1.73"
nom = "7.1.3"
strum = "0.25.0"
strum_macros = "0.25.2"
async-channel = "2.1.0"
cfg-if = "1.0.0"
libflate = "2.0.0"
form_urlencoded = "1.2.1"
[target.'cfg(target_os = "linux")'.dependencies]
sys-info = "0.9.1"
tokio-uring = { version = "0.4.0", features = ["bytes"] }
pprof = { version = "0.13.0", features = ["prost", "prost-codec"] }
[dev-dependencies]
divan = "0.1.2"
once_cell = "1.18.0"
pretty_assertions = "1.4.0"
rand = "0.8.5"
regex = "1.9.6"
tracing-test = "0.2.4"
tempfile = "3.8.0"
xxhash-rust = { version = "0.8", features = ["xxh3"] }
[build-dependencies]
tonic-build = { version = "0.10.2", default_features = false, features = [
"transport",
"prost",
] }
prost-build = "0.12.1"
[features]
default = []
instrument = []
# We want debug information when doing benchmarks for debugging purposes as well
# as better (correct) callstacks in perf
[profile.bench]
debug = true