-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
57 lines (52 loc) · 1.48 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
[package]
name = "poster"
version = "0.1.0"
authors = ["Vafa Tarighi <[email protected]>"]
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
path = "src/lib.rs"
[[bin]]
path = "src/main.rs"
name = "poster"
[dependencies]
actix-web = "4.1"
actix-web-httpauth = "0.6"
actix-cors = "0.6"
actix-files = "0.6"
tokio = "1"
config = "0.11"
dotenv = "0.15"
serde = { version = "1", features = ["derive"]}
serde-aux = "3"
serde_json = "1.0"
secrecy = { version = "0.8", features = ["serde"]}
eyre = "0.6"
color-eyre = "0.6"
tracing = { version = "0.1", features = ["log"]}
tracing-subscriber = { version = "0.3", features = ["registry","env-filter"] }
tracing-bunyan-formatter = "0.3"
tracing-log = "0.1"
tracing-actix-web = "0.5"
uuid = { version = "0.8.1", features = ["serde", "v4"]}
chrono = { version = "0.4", features = ["serde"]}
validator = "0.15"
validator_derive = "0.15"
sqlx = { version = "0.5", default-features = false, features = ["runtime-actix-rustls", "postgres", "macros", "uuid", "chrono", "offline"]}
futures-util = "0.3"
actix_extract_multipart = "1.1"
reqwest = { version = "0.11", default-features = false, features = ["json", "rustls-tls"]}
colored = "2"
# Using a table-like toml syntax to avoid a super-long line!
#[dependencies.sqlx]
#version = "0.5.7"
#default-features = false
#features = [
# "runtime-actix-rustls",
# "macros",
# "postgres",
# "uuid",
# "chrono",
# "migrate",
# "offline"
#]