-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
61 lines (51 loc) · 1.51 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
[package]
name = "parabellum"
version = "0.1.0"
description = "API server for Parabellum, a reimplementation of the famouse MMORPG browser game Travian v3.x"
repository = "/~https://github.com/andreapavoni/parabellum_server"
authors = ["Andrea Pavoni <andrea.pavoni@gmail.com>"]
license = "MIT"
keywords = ["travian", "MMORPG", "game", "browsergame"]
readme = "README.md"
publish = false
rust-version = "1.63"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
tokio = { version = "1", features = ["full"] }
futures = "0.3"
async-trait = "0.1"
# Web and HTTP
axum = { version = "0.6", features = ["headers", "json"] }
tower-http = { version = "0.3", features = [
"trace",
"compression-br",
"propagate-header",
"sensitive-headers",
] }
# Db ORM
sqlx = { version = "0.6", features = [
"uuid",
"sqlite",
"json",
"chrono",
"time",
"runtime-tokio-rustls",
] }
ormlite = { version = "0.9", features = ["sqlite", "runtime-tokio-rustls"] }
# JSON handling
serde_json = { version = "1.0", features = ["raw_value"] }
serde = { version = "1.0", features = ["derive"] }
# Date and time
chrono = { version = "0.4", features = ["serde"] }
time = { version = "0.3", features = ["serde"] }
# Uuid
uuid = { version = "1.1", features = ["serde", "v4"] }
# Result and Error handling
anyhow = "1.0"
thiserror = "1.0"
# Logging & tracing
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Random number generator
rand = "0.8.5"