-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
130 lines (111 loc) · 2.53 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
[package]
name = "gamba"
authors = ["Chiko chiko@envs.net"]
version = "0.0.0"
edition = "2021"
build = "build.rs"
[workspace.lints.rust]
future_incompatible = "warn"
nonstandard_style = "warn"
rust_2018_idioms = "warn"
rust_2018_compatibility = "warn"
rust_2021_compatibility = "warn"
unused = "warn"
[workspace.lints.rustdoc]
unescaped_backticks = "warn"
[workspace.lints.clippy]
dbg_macro = "warn"
todo = "warn"
[lints]
workspace = true
[dependencies]
# Environment
dotenvy = "=0.15.7"
crates_io_env_vars = { git = "https://github.com/rust-lang/crates.io.git", rev = "5226c1277e457ce05db59b9a3395537a48dd0f2b" }
# Logging
tracing = "=0.1.41"
tracing-subscriber = { version = "=0.3.19", features = ["env-filter", "json"] }
json-subscriber = "=0.2.4"
# Errors
anyhow = "=1.0.94"
thiserror = "=2.0.9"
# Serialization
serde = { version = "=1.0.216", features = ["derive"] }
serde_json = "=1.0.134"
# Async
futures = "=0.3.31"
tokio = { version = "=1.42.0", features = ["full"] }
arc-swap = "=1.7.1"
# Web
hyper = "=1.5.2"
axum = { version = "=0.8.1", features = ["macros", "matched-path"] }
cookie = { version = "=0.18.1", features = ["secure"] }
derive_more = { version = "=1.0.0", features = [
"deref",
"deref_mut",
"display",
] }
axum-extra = { version = "=0.10.0", features = [
"cookie-signed",
"erased-json",
"typed-header",
] }
tower = { version = "=0.5.2", features = ["limit"] }
tower-http = { version = "=0.6.2", features = [
"add-extension",
"fs",
"catch-panic",
"timeout",
"compression-full",
] }
jsonwebtoken = "=9.3.0"
url = "=2.5.4"
reqwest = { version = "=0.12.9", features = [
"json",
"gzip",
"blocking",
"rustls-tls",
], default-features = false }
http = "=1.2.0"
ipnetwork = "=0.20.0"
oauth2 = "=4.4.2"
parking_lot = "=0.12.3"
rand = "=0.8.5"
validator = { version = "=0.20.0", features = ["derive"] }
axum-valid = "=0.22.0"
bigdecimal = { version = "=0.4.7", features = ["serde"] }
async-session = "=3.0.0"
# Cryptography
hmac = "=0.12.1"
hex = "=0.4.3"
secrecy = "=0.10.3"
# Database
sqlx = { version = "=0.8.2", features = [
"runtime-tokio",
"tls-rustls",
"postgres",
"chrono",
"bigdecimal",
] }
# Time
chrono = "=0.4.39"
itertools = "=0.13.0"
[dev-dependencies]
insta = "=1.41.1"
derive_builder = "=0.20.2"
wiremock = "=0.6.2"
base64 = "=0.22.1"
tracing-test = "=0.2.5"
regex = "=1.11.1"
parking_lot = "=0.12.3"
thread_local = "=1.1.8"
claims = "=0.8.0"
[profile.release]
debug = 1
[profile.wasm-dev]
inherits = "dev"
opt-level = 1
[profile.server-dev]
inherits = "dev"
[profile.android-dev]
inherits = "dev"