-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
63 lines (51 loc) · 1.52 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
[package]
name = "zling-server"
version = "0.1.0"
description = "Zling messenger backend server"
edition = "2021"
authors = ["codian", "ori"]
license = "GPL-3.0"
[dependencies]
# async stuff
futures = "0.3.28"
actix-rt = "2.9.0"
tokio = { version = "1.33.0", features = ["fs"] }
# http framework
actix-web = { version = "4.5.1", features = ["rustls-0_21"] }
actix-ws = "0.2.5"
actix-cors = "0.7"
# TLS via Rustls (version 0.21 is REQUIRED for actix-web)
rustls = "0.21.12"
rustls-pemfile = "1.0.4"
# voice chat
mediasoup = "0.16.0"
# database
sqlx = { version = "0.6.3", features = [ "runtime-actix-rustls", "postgres", "macros", "json", "chrono", "offline" ] }
# media api related
actix-files = "0.6.2"
actix-multipart = "0.6.1"
mime = "0.3.17"
# openapi documentation
utoipa = { version = "4.2", features = ["actix_extras", "chrono", "uuid"] }
utoipa-rapidoc = { version = "3.0", features = ["actix-web"] }
# utility
derive_more = "0.99.17"
lazy_static = "1.4.0"
regex = "1.8.1"
# logging
env_logger = "0.11"
log = "0.4"
# id generation
nanoid = "0.4" # for generating general object ids
uuid = "1" # sometimes needed for mediasoup
# crypto
rand = "0.8.5" # csprng
rust-argon2 = "1.0.1" # password hash
sha2 = "0.10.8"
hex = "0.4.3" # for parsing the token signing key
hmac = "0.12.1" # for signing tokens
base64-url = "2.0.2" # for encoding tokens
# serde
serde = "1.0.199"
serde_json = { version = "1.0.116", features = ["raw_value"] }
chrono = { version = "0.4.38", features = ["serde"] }