-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
41 lines (38 loc) · 1.08 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
[package]
name = "compsci-accounts-api"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
axum = { version = "0.6.18", features = [
"headers",
"multipart",
] } #web-framework
bcrypt = "0.15.0" #hashing
chrono = { version = "0.4.26", features = ["serde"] }
dotenv = "0.15.0" #reads .env file
image = "0.24.7"
log = "0.4.19" # dependancy for log4rs
log4rs = "1.2.0" #logging to file
rand = "0.8.5"
regex = "1.9.0" #regular expressions
serde = { version = "1.0.165", features = ["derive"] }
serde_json = "1.0.99"
sqlx = { version = "0.6.3", features = [
"runtime-tokio-rustls",
"postgres",
"json",
"chrono",
"time",
] } #db con
stopwatch = "0.0.7"
thiserror = "1.0.44"
time = "0.3.23"
tokio = { version = "1.29.1", features = ["full"] } #Runtime
tower-http = { version = "0.4.1", features = ["cors"] } #CORS
uuid = { version = "1.4.1", features = [
"v4",
"fast-rng",
] } #universally unique identifier (never the same image file name)
[dev-dependencies]
criterion = "0.5.1"