-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
65 lines (58 loc) · 1.61 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
[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-web = "4"
reqwest = { version = "0.11", features = ["json", "rustls-tls"] }
tokio = { version = "1", features = ["full"] }
futures = "0.3"
serde = { version = "1", features = ["derive"] }
serde-aux = "4"
config = "0.13"
chrono = "0.4"
tracing = { version = "0.1", features = ["log"] }
tracing-log = "0.1"
tracing-subscriber = { version = "0.3", features = ["registry", "env-filter"] }
tracing-bunyan-formatter = "0.3"
once_cell = "1"
secrecy = { version = "0.8", features = ["serde"] }
opentelemetry = { version = "0.18", features = ["rt-tokio", "rt-tokio-current-thread"] }
opentelemetry-jaeger = { version = "0.17", features = ["rt-tokio", "rt-tokio-current-thread"] }
tracing-opentelemetry = "0.18"
tracing-actix-web = { version = "0.7", features = ["opentelemetry_0_18"] }
unicode-segmentation = "1"
validator = "0.16"
async-trait = "0.1"
wiremock = "0.5"
[dependencies.sqlx]
version = "0.6"
features = [
"runtime-actix-native-tls",
"postgres",
"offline",
"macros",
"uuid",
"chrono",
"migrate"
]
[dependencies.uuid]
version = "1"
features = [
"v4", # Lets you generate random UUIDs
"fast-rng", # Use a faster (but still sufficiently random) RNG
"macro-diagnostics", # Enable better diagnostics for compile-time UUIDs
]
[dev-dependencies]
claim = "0.5"
fake = "2.5"
quickcheck = "1.0.3"
quickcheck_macros = "1.0.0"
rand = "0.8"
serde_json = "1"