-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
95 lines (91 loc) · 2.55 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
[workspace.lints.clippy]
new_without_default = "allow"
[workspace]
resolver = "2"
members = [
"crates/api",
"crates/intelli-core",
"crates/password-hash",
"crates/db",
"crates/entities",
"crates/error",
"crates/id-generator",
"crates/structs",
"crates/f1-telemetry",
"crates/token_manager",
"crates/utils",
"crates/discord",
]
default-members = ["crates/api"]
[workspace.dependencies]
#
# Workspace member crates
#
api = { path = "crates/api" }
db = { path = "crates/db" }
discord = { path = "crates/discord" }
entities = { path = "crates/entities" }
error = { path = "crates/error" }
id-generator = { path = "crates/id-generator" }
intelli-core = { path = "crates/intelli-core" }
password-hash = { path = "crates/password-hash" }
structs = { path = "crates/structs" }
f1-telemetry = { path = "crates/f1-telemetry" }
token_manager = { path = "crates/token_manager" }
utils = { path = "crates/utils" }
#
# External Crates
#
regex = "1"
memchr = "2"
ring = "0.17"
prost = "0.13"
tracing = "0.1"
futures = "0.3"
ntex-cors = "2"
dotenvy = "0.15"
sailfish = "0.9"
serde_trim = "1"
base64-simd = "0.8"
quick_cache = "0.6"
prost-build = "0.13"
twilight-model = "0.15"
postgres-derive = "0.4"
deadpool-postgres = "0.14"
tokio = { version = "1", features = ["full"] }
chrono = { version = "0.4", features = ["serde"] }
reqwest = { version = "0.12", features = ["json"] }
openssl = { version = "0.10", features = ["v110"] }
tracing-log = { version = "0.2", features = ["ahash"] }
tokio-stream = { version = "0.1", features = ["sync"] }
serde = { version = "1", features = ["rc", "unstable"] }
ntex = { version = "2", features = ["tokio", "openssl"] }
ahash = { version = "0.8", features = ["compile-time-rng"] }
dashmap = { version = "6", features = ["inline", "raw-api"] }
refinery = { version = "0.8", features = ["tokio-postgres"] }
twilight-http = { version = "0.15", features = ["simd-json"] }
postgres-types = { version = "0.2", features = ["with-chrono-0_4"] }
parking_lot = { version = "0.12", features = ["arc_lock", "nightly"] }
garde = { version = "0.20", features = ["derive", "email", "email-idna"] }
tracing-subscriber = { version = "0.3", features = [
"parking_lot",
"env-filter",
] }
mimalloc = { version = "0.1", features = [
"extended",
"local_dynamic_tls",
"override",
] }
lettre = { version = "0.11", default-features = false, features = [
"tokio1-rustls-tls",
"smtp-transport",
"builder",
"pool",
] }
[profile.release]
debug = false
lto = "fat"
opt-level = 3
codegen-units = 1
split-debuginfo = "off"
panic = "abort"