-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
63 lines (54 loc) · 1.79 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
[package]
name = "zero2prod-api"
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"
[[test]]
path = "tests/entry.rs"
name = "integration"
[dependencies]
anyhow = "1.0.66"
argon2 = { version = "0.4.1", features = ["std"]}
base64 = "0.21.0"
config = "0.13.2"
paste = "1.0.12"
# hmac = {version = "0.12", features=["std"]}
# sha2 = "0.10"
poem = { version = "1.3.51", features = ["test", "redis-session"] }
poem-openapi = { version = "2.0.22", features = ["swagger-ui"] }
rand = "0.8.5"
redis = { version = "0.22.3", features = ["aio", "tokio-comp", "connection-manager"] }
reqwest = { version = "0.11", default-features = false, features = ["json", "rustls-tls", "cookies"]}
sea-orm = { version = "0.11.0", features = ["sqlx-postgres", "macros", "runtime-tokio-rustls", "sea-orm-internal"] }
sea-orm-migration = "0.11.0"
secrecy = { version = "0.8.0", features = ["serde"] }
serde = { version = "1.0.144", features = ["derive"] }
sqlx = { version = "0.6", default-features = false, features = ["postgres", "migrate", "macros"] }
thiserror = "1.0.38"
tokio = { version = "1.21.0", features = ["macros", "rt-multi-thread"] }
tracing = "0.1.36"
tracing-bunyan-formatter = "0.3.3"
tracing-subscriber = { version = "0.3.15", features = ["json", "env-filter", "std"] }
unicode-segmentation = "1.10.0"
uuid = { version = "1.3.0", features = ["v4"] }
validator = { version = "0.16.0", features = ["derive"] }
[dev-dependencies]
rand = "0.8.5"
serial_test = "*"
wiremock = "0.5"
fake = "~2.3"
serde_json = "1.0"
linkify = "0.9.0"
once_cell = "1.16.0"
migration = { path = "./migration" }
serde_urlencoded = "0.7.1"
[profile.dev]
lto = false
[profile.release]
strip = true
lto = true