aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
blob: de917e4b7197a67b156c628e539cb5607c97b187 (plain)
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
[package]
name = "sellershut"
version = "0.1.0"
edition = "2024"
license = "AGPL-3.0-only"
description = "A federated marketplace platform"
homepage = "https://git.kanjala.com/sellershut"

[dependencies]
anyhow = "1.0.100"
axum = "0.8.8"
clap = { version = "4.5.56", features = ["derive", "env"] }
serde = { version = "1.0.228", features = ["derive"] }
tokio = { version = "1.49.0", features = ["rt-multi-thread", "macros", "signal"] }
toml = "0.9.11"
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.22", features = ["env-filter"] }
url = { version = "2.5.8", features = ["serde"] }
utoipa = "5.4.0"
utoipa-rapidoc = { version = "6.0.0", optional = true }
utoipa-redoc = { version = "6.0.0", optional = true }
utoipa-scalar = { version = "0.3.0", optional = true }
utoipa-swagger-ui = { version = "9.0.2", optional = true }

[dependencies.sqlx]
version = "0.8.6"
default-features = false
features = ["postgres", "runtime-tokio-rustls"]

[features]
default = ["oauth-discord"]
oauth-discord = []
utoipa-rapidoc = ["dep:utoipa-rapidoc"]
utoipa-redoc = ["dep:utoipa-redoc"]
utoipa-scalar = ["dep:utoipa-scalar"]
utoipa-swagger-ui = ["dep:utoipa-swagger-ui"]

[profile.dev.package.sqlx-macros]
opt-level = 3