-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
57 lines (49 loc) · 1.29 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 = "actix-postgres-template"
version = "0.1.0"
edition = "2021"
authors = ["Shadrach Tayo"]
[lib]
name = "lib"
path = "src/lib.rs"
[[bin]]
path = "src/main.rs"
name = "main"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
actix-web = "4.4.0"
config = "0.13.4"
serde = "1.0.193"
serde_derive = "1.0.188"
serde_json = "1.0.108"
serde-aux = "4"
tokio = { version = "1.34.0", features = ["macros", "rt-multi-thread"] }
tracing = { version = "0.1.40", features = ["log"] }
tracing-subscriber = { version = "0.3.18", features = ["registry", "env-filter"] }
tracing-bunyan-formatter = "0.3.9"
tracing-actix = "0.4.0"
tracing-log = "0.2.0"
rand = { version = "0.8.5", features = ["std_rng"] }
anyhow = "1.0.75"
thiserror = "1"
secrecy = { version = "0.8", features = ["serde"] }
uuid = { version = "1", features = ["v4", "serde"] }
[dependencies.sqlx]
version = "0.6"
default-features = false
features = [
"runtime-tokio-rustls",
"macros",
"postgres",
"uuid",
"chrono",
"migrate",
"offline"
]
[dependencies.reqwest]
version = "0.11"
default-features = false
# We need the `json` feature flag to serialize/deserialize JSON payloads
features = ["json", "rustls-tls", "cookies"]
[dev-dependencies]
once_cell = "1"