2020-05-09 22:11:48 -07:00
|
|
|
[package]
|
2020-07-23 22:46:33 +02:00
|
|
|
name = "labrinth"
|
2023-02-01 10:08:02 -07:00
|
|
|
version = "2.7.0"
|
2022-07-31 13:29:20 -07:00
|
|
|
authors = ["geometrically <jai@modrinth.com>"]
|
2025-05-09 07:27:55 -05:00
|
|
|
edition = "2024"
|
2022-03-27 19:12:42 -07:00
|
|
|
license = "AGPL-3.0"
|
2020-05-09 22:11:48 -07:00
|
|
|
|
2022-12-23 15:19:15 -05:00
|
|
|
# This seems redundant, but it's necessary for Docker to work
|
2020-07-23 22:46:33 +02:00
|
|
|
[[bin]]
|
|
|
|
|
name = "labrinth"
|
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
|
2020-05-09 22:11:48 -07:00
|
|
|
[dependencies]
|
2025-05-09 07:27:55 -05:00
|
|
|
actix-web = "4.10.2"
|
2024-01-14 12:36:11 -05:00
|
|
|
actix-rt = "2.9.0"
|
2025-05-09 07:27:55 -05:00
|
|
|
actix-multipart = "0.7.2"
|
|
|
|
|
actix-cors = "0.7.1"
|
2024-11-26 18:23:29 -07:00
|
|
|
actix-ws = "0.3.0"
|
2024-01-14 12:36:11 -05:00
|
|
|
actix-files = "0.6.5"
|
2025-05-09 07:27:55 -05:00
|
|
|
prometheus = "0.13.4" # Locked on 0.13 until actix updates to 0.14
|
2025-03-05 15:40:46 -08:00
|
|
|
actix-web-prom = { version = "0.9.0", features = ["process"] }
|
2022-10-30 23:34:56 -07:00
|
|
|
|
2025-03-09 13:01:24 -07:00
|
|
|
tracing = "0.1.41"
|
2025-05-09 07:27:55 -05:00
|
|
|
tracing-actix-web = "0.7.18"
|
2025-03-09 13:01:24 -07:00
|
|
|
console-subscriber = "0.4.1"
|
|
|
|
|
|
2025-03-25 01:10:43 -07:00
|
|
|
tokio = { version = "1.35.1", features = ["sync", "rt-multi-thread"] }
|
2023-07-07 12:20:16 -07:00
|
|
|
tokio-stream = "0.1.14"
|
2022-10-30 23:34:56 -07:00
|
|
|
|
2024-01-14 12:36:11 -05:00
|
|
|
futures = "0.3.30"
|
2024-03-27 15:56:29 -07:00
|
|
|
futures-util = "0.3.30"
|
2023-07-07 12:20:16 -07:00
|
|
|
async-trait = "0.1.70"
|
2025-05-09 07:27:55 -05:00
|
|
|
dashmap = "6.1.0"
|
2022-10-30 23:34:56 -07:00
|
|
|
lazy_static = "1.4.0"
|
2020-06-26 22:35:20 -07:00
|
|
|
|
2025-05-09 07:27:55 -05:00
|
|
|
meilisearch-sdk = "0.28.0"
|
|
|
|
|
rust-s3 = { version = "0.35.1", default-features = false, features = ["fail-on-err", "tags", "tokio-rustls-tls"] }
|
|
|
|
|
reqwest = { version = "0.12.15", features = ["json", "multipart"] }
|
|
|
|
|
hyper = { version = "1.6", features = ["full"] }
|
|
|
|
|
hyper-tls = "0.6.0"
|
|
|
|
|
hyper-util = "0.1.11"
|
2020-06-26 22:35:20 -07:00
|
|
|
|
2022-10-30 23:34:56 -07:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2025-02-28 12:52:47 -06:00
|
|
|
serde_json = "1.0"
|
2023-07-07 12:20:16 -07:00
|
|
|
serde_with = "3.0.0"
|
2023-10-06 17:58:02 -05:00
|
|
|
chrono = { version = "0.4.26", features = ["serde"] }
|
2024-12-06 19:37:17 -08:00
|
|
|
yaserde = "0.12.0"
|
|
|
|
|
yaserde_derive = "0.12.0"
|
2021-03-29 11:36:55 +03:00
|
|
|
|
2025-05-09 07:27:55 -05:00
|
|
|
rand = "0.8.5" # Locked on 0.8 until argon2 updates to 0.9
|
|
|
|
|
rand_chacha = "0.3.1" # Locked on 0.3 until we can update rand to 0.9
|
2023-02-22 16:11:14 -07:00
|
|
|
bytes = "1.4.0"
|
2025-05-09 07:27:55 -05:00
|
|
|
base64 = "0.22.1"
|
|
|
|
|
sha1 = { version = "0.10.6", features = ["std"] }
|
|
|
|
|
sha2 = "0.10.9"
|
|
|
|
|
hmac = "0.12.1"
|
2023-07-08 14:29:17 -07:00
|
|
|
argon2 = { version = "0.5.0", features = ["std"] }
|
2024-02-21 16:24:21 -07:00
|
|
|
murmur2 = "0.1.0"
|
2023-10-11 15:55:01 -07:00
|
|
|
bitflags = "2.4.0"
|
2022-10-30 23:34:56 -07:00
|
|
|
hex = "0.4.3"
|
2025-05-09 07:27:55 -05:00
|
|
|
zxcvbn = "3.1.0"
|
2023-07-08 22:07:11 -07:00
|
|
|
totp-rs = { version = "5.0.2", features = ["gen_secret"] }
|
2021-05-30 15:02:07 -07:00
|
|
|
|
2023-07-07 12:20:16 -07:00
|
|
|
url = "2.4.0"
|
2022-10-30 23:34:56 -07:00
|
|
|
urlencoding = "2.1.2"
|
2020-06-26 22:35:20 -07:00
|
|
|
|
2025-05-09 07:27:55 -05:00
|
|
|
zip = "2.6.1"
|
2020-06-26 22:35:20 -07:00
|
|
|
|
2025-05-09 07:27:55 -05:00
|
|
|
itertools = "0.14.0"
|
2021-01-27 14:38:18 +01:00
|
|
|
|
2025-05-09 07:27:55 -05:00
|
|
|
validator = { version = "0.20.0", features = ["derive"] }
|
2024-01-14 12:36:11 -05:00
|
|
|
regex = "1.10.2"
|
2022-12-23 15:19:15 -05:00
|
|
|
censor = "0.3.0"
|
2024-01-14 12:36:11 -05:00
|
|
|
spdx = { version = "0.10.3", features = ["text"] }
|
2021-09-21 06:26:16 +02:00
|
|
|
|
2023-07-07 12:20:16 -07:00
|
|
|
dotenvy = "0.15.7"
|
2025-05-09 07:27:55 -05:00
|
|
|
thiserror = "2.0.12"
|
2025-02-28 12:52:47 -06:00
|
|
|
either = "1.13"
|
2022-06-08 22:24:20 -07:00
|
|
|
|
2024-10-16 15:57:44 -07:00
|
|
|
sqlx = { version = "0.8.2", features = [
|
2023-10-06 17:58:02 -05:00
|
|
|
"runtime-tokio-rustls",
|
|
|
|
|
"postgres",
|
|
|
|
|
"chrono",
|
|
|
|
|
"macros",
|
|
|
|
|
"migrate",
|
2023-10-23 14:30:39 -05:00
|
|
|
"rust_decimal",
|
2023-10-06 17:58:02 -05:00
|
|
|
"json",
|
|
|
|
|
] }
|
2024-01-14 12:36:11 -05:00
|
|
|
rust_decimal = { version = "1.33.1", features = [
|
2023-10-06 17:58:02 -05:00
|
|
|
"serde-with-float",
|
|
|
|
|
"serde-with-str",
|
|
|
|
|
] }
|
2025-05-09 07:27:55 -05:00
|
|
|
redis = { version = "0.29.5", features = ["tokio-comp", "ahash", "r2d2"] } # Locked on 0.29 until deadpool-redis updates to 0.30
|
|
|
|
|
deadpool-redis = "0.20.0"
|
|
|
|
|
clickhouse = { version = "0.13.2", features = ["uuid", "time"] }
|
2023-08-02 14:43:04 -07:00
|
|
|
uuid = { version = "1.2.2", features = ["v4", "fast-rng", "serde"] }
|
|
|
|
|
|
2025-05-09 07:27:55 -05:00
|
|
|
maxminddb = "0.26.0"
|
2023-08-02 14:43:04 -07:00
|
|
|
flate2 = "1.0.25"
|
|
|
|
|
tar = "0.4.38"
|
2022-11-20 19:50:14 -07:00
|
|
|
|
2025-05-09 07:27:55 -05:00
|
|
|
sentry = { version = "0.37.0", default-features = false, features = ["backtrace", "contexts", "debug-images", "panic", "rustls", "reqwest"] }
|
|
|
|
|
sentry-actix = "0.37.0"
|
2022-12-29 17:20:50 -07:00
|
|
|
|
2025-05-09 07:27:55 -05:00
|
|
|
image = "0.25.6"
|
2022-12-29 17:20:50 -07:00
|
|
|
color-thief = "0.2.2"
|
2024-09-07 17:44:49 -07:00
|
|
|
webp = "0.3.0"
|
2023-07-07 12:20:16 -07:00
|
|
|
|
2023-07-10 16:44:40 -07:00
|
|
|
woothee = "0.13.0"
|
|
|
|
|
|
2024-11-11 18:31:06 -08:00
|
|
|
lettre = "0.11.3"
|
2023-10-06 09:57:33 -07:00
|
|
|
|
2025-05-09 07:27:55 -05:00
|
|
|
derive-new = "0.7.0"
|
2023-11-29 11:00:08 -07:00
|
|
|
rust_iso3166 = "0.1.11"
|
2023-10-11 13:32:58 -05:00
|
|
|
|
2025-05-09 07:27:55 -05:00
|
|
|
async-stripe = { version = "0.41.0", features = ["runtime-tokio-hyper-rustls"] }
|
2024-08-14 17:14:52 -07:00
|
|
|
rusty-money = "0.4.1"
|
2025-05-09 07:27:55 -05:00
|
|
|
json-patch = "4.0.0"
|
2024-01-27 18:13:52 -05:00
|
|
|
|
2025-03-01 20:53:43 -08:00
|
|
|
ariadne = { path = "../../packages/ariadne" }
|
|
|
|
|
|
2025-03-15 09:28:20 -05:00
|
|
|
clap = { version = "4.5", features = ["derive"] }
|
2025-03-25 01:10:43 -07:00
|
|
|
iana-time-zone = "0.1.61"
|
2025-03-15 09:28:20 -05:00
|
|
|
|
2025-05-05 21:38:10 +02:00
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
2025-03-10 16:45:36 -05:00
|
|
|
tikv-jemallocator = { version = "0.6.0", features = ["profiling", "unprefixed_malloc_on_supported_platforms"] }
|
|
|
|
|
tikv-jemalloc-ctl = { version = "0.6.0", features = ["stats"] }
|
|
|
|
|
jemalloc_pprof = { version = "0.7.0", features = ["flamegraph"] }
|
|
|
|
|
|
2023-10-06 09:57:33 -07:00
|
|
|
[dev-dependencies]
|
|
|
|
|
actix-http = "3.4.0"
|
2025-03-25 01:10:43 -07:00
|
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
|
dotenv-build = "0.1.1"
|
|
|
|
|
chrono = "0.4.38"
|
2025-04-12 17:42:45 +02:00
|
|
|
iana-time-zone = "0.1.60"
|