-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
77 lines (71 loc) · 1.99 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[package]
name = "zero2prod"
version = "0.1.0"
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 = "zero2prod"
[dependencies]
actix-session = { version = "0.9.0", features = ["redis-rs-tls-session"] }
actix-web = "4"
actix-web-flash-messages = { version = "0.4.2", features = ["cookies"] }
actix-web-lab = "0.20.2"
anyhow = "1.0.83"
argon2 = { version = "0.5.3", features = ["std"] }
base64 = "0.22.1"
chrono = { version = "0.4.35", default-features = false, features = ["clock"] }
claims = "0.7.1"
# TODO check when current master is released in crates to move back to version.
config = { git = "https://github.com/mehcode/config-rs.git" }
env_logger = "0.11.3"
hex = "0.4.3"
hmac = "0.12.1"
htmlescape = "0.3.1"
log = "0.4.21"
rand = { version = "0.8.5", features = ["std_rng"] }
secrecy = { version = "0.8.0", features = ["serde"] }
serde = { version = "1.0.197", features = ["derive"] }
serde-aux = "4.5.0"
sha2 = "0.10.8"
thiserror = "1.0.60"
tokio = { version = "1.36.0", features = ["macros", "rt-multi-thread"] }
tracing = { version = "0.1.40", features = ["log"] }
tracing-actix-web = "0.7.10"
tracing-bunyan-formatter = "0.3.9"
tracing-log = "0.2.0"
tracing-subscriber = { version = "0.3.18", features = [
"registry",
"env-filter",
] }
unicode-segmentation = "1.11.0"
urlencoding = "2.1.3"
uuid = { version = "1.8.0", features = ["v4", "serde"] }
validator = "0.18.0"
[dependencies.sqlx]
version = "0.8"
default-features = false
features = [
"runtime-tokio-rustls",
"macros",
"postgres",
"uuid",
"chrono",
"migrate",
]
[dependencies.reqwest]
version = "0.11.26"
default-features = false
features = ["json", "rustls-tls", "cookies"]
[dev-dependencies]
fake = "2.9.2"
linkify = "0.10.0"
once_cell = "1.19.0"
proptest = "1.4.0"
rand = "0.8.5"
scraper = "0.19.0"
serde_json = "1.0.116"
tokio = { version = "1.36.0", features = ["macros", "rt"] }
wiremock = "0.6.0"