-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
98 lines (84 loc) · 1.94 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
[package]
name = "akashi-api"
authors = ["Chiko chiko@envs.net (original)"]
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"
# Serialization
serde = { version = "=1.0.216", features = ["derive"] }
serde_json = "=1.0.134"
# Async
tokio = { version = "=1.42.0", features = ["full"] }
# Web
axum = { version = "=0.7.9", features = ["macros", "matched-path"] }
derive_more = { version = "=1.0.0", features = [
"deref",
"deref_mut",
"display",
] }
axum-extra = { version = "=0.9.6", 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",
] }
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"
validator = { version = "=0.19.0", features = ["derive"] }
axum-valid = "=0.21.0"
# Database
sqlx = { version = "=0.8.2", features = [
"runtime-tokio",
"tls-rustls",
"postgres",
"chrono",
"bigdecimal",
"uuid"
] }
# Time
chrono = "=0.4.39"
[dev-dependencies]
parking_lot = "=0.12.3"
claims = "=0.8.0"
[profile.release]
debug = 1