-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
72 lines (68 loc) · 2.18 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
[package]
name = "ambient_proxy"
version = "0.3.5"
edition = "2021"
authors = ["Kuba Jaroszewski <[email protected]>"]
description = "NAT traversal proxy for Ambient game engine"
repository = "https://github.com/AmbientRun/AmbientProxy"
keywords = [
"ambient",
"game-development",
"networking",
"proxy",
"nat-traversal",
]
categories = ["game-development"]
readme = "README.md"
license = "MIT OR Apache-2.0"
[lib]
path = "src/lib.rs"
[[bin]]
path = "src/main.rs"
name = "ambient_proxy"
required-features = ["server"]
[dependencies]
anyhow = "1.0"
axum = { version = "0.6", optional = true }
bincode = "1.3"
bytes = "1.4"
config = { version = "0.13", optional = true }
flate2 = "1.0"
flume = { version = "0.10", features = ["async"] }
futures = { version = "0.3", default-features = false, features = ["std"] }
quinn = "0.10"
parking_lot = { version = "0.12", features = ["serde"] }
prometheus-client = { version = "0.21", optional = true }
rand = { version = "0.8.5", optional = true }
rustls = { version = "0.21", features = ["quic"] }
rustls-native-certs = { version = "0.6.2", optional = true }
rustls-pemfile = "1.0"
reqwest = { version = "0.11", default-features = false, features = [
"json",
"rustls-tls",
] }
serde = { version = "1", features = ["derive"] }
thiserror = "1.0"
tokio = { version = "1", features = [
"fs",
"macros",
"net",
"rt-multi-thread",
"signal",
] }
tokio-util = { version = "0.7", features = ["codec"] }
tower = { version = "0.4", optional = true }
tower-http = { version = "0.4", features = ["cors", "fs"], optional = true }
tracing = { version = "0.1", features = ["log"] }
tracing-bunyan-formatter = { version = "0.3", optional = true }
tracing-log = { version = "0.1", optional = true }
tracing-stackdriver = { version = "0.7", optional = true }
tracing-subscriber = { version = "0.3", features = [
"registry",
"env-filter",
], optional = true }
uuid = { version = "1", features = ["serde", "v4"] }
dashmap = "5.5.0"
[features]
server = ["axum", "config", "prometheus-client", "rand", "tower", "tower-http", "tracing-bunyan-formatter", "tracing-log", "tracing-stackdriver", "tracing-subscriber"]
tls-roots = ["rustls-native-certs"]