-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
41 lines (40 loc) · 1.54 KB
/
Cargo.toml
File metadata and controls
41 lines (40 loc) · 1.54 KB
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
[package]
name = "crust"
version = "1.1.1"
edition = "2021"
[dependencies]
# Misc
uuid = "1.18.1"
chrono = "0.4.42"
serde = { version = "1.0.228", features = ["derive"] } # For (de)serializing data
# Auth stuff
jsonwebtoken = { version = "10.1.0", features = ["aws_lc_rs"] }
argon2 = "0.5.3"
# For password salts
# See if this can be removed once https://github.com/RustCrypto/password-hashes/issues/730 is closed
rand_core = { version = "0.6", features = ["getrandom"] }
# For GraphQL stuff
async-graphql = { version = "7.0.17", features = ["uuid", "chrono", "dataloader"] }
async-graphql-axum = "7.0.17"
# For HTTP Stuff
axum = "0.8.6" # HTTP Server
reqwest = "0.12.24" # HTTP Client (for requests to image-service)
tokio = { version = "1", features = ["full"] }
tower-http = { version = "0.6.6", features = ["cors"] }
# For Websockets
tokio-stream = { version = "0.1", features = ["sync"] }
futures-util = "0.3"
# For SQL Stuff
diesel = { version = "2.3.2", features = ["postgres", "postgres_backend", "uuid", "chrono", "r2d2", "numeric"] }
diesel-derive-enum = { version = "3.0.0-beta.1", features = ["postgres"] } # For enum support
diesel_migrations = { version = "2.3.0" } # For embedding migrations into executable
bigdecimal = "0.4" # For handling PgNumeric of avg() queries
# For building a standalone build (useful in Docker under alpine)
pq-sys = { version = "0.7", features = ["bundled"] }
openssl-sys = { version = "0.9", features = ["vendored"] }
# Config Stuff
config = "0.15.18"
# For Logging
env_logger = "0.11.8"
log = "0.4.28"
anyhow = "1.0.100"