-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
60 lines (51 loc) · 1.28 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
[package]
name = "zero2prod"
version = "0.1.1"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
path = "src/lib.rs"
[[bin]]
name = "zero2prod"
path = "src/bin/main.rs"
[dependencies]
axum = "0.4.8"
http = "0.2.6"
hyper = "0.14.16"
serde = { version = "1", features = ["derive"] }
tokio = { version = "1.15.0", features = ["macros", "rt-multi-thread"] }
tower = "0.4.11"
config = "0.11.0"
chrono = { version = "0.4.19", features = ["serde"] }
uuid = { version = "0.8.2", features = ["v4", "serde"] }
tracing-subscriber = { version = "0.3.6", features = ["env-filter"] }
tracing = "0.1.29"
tower-http = { version = "0.2.0", features = ["trace"] }
tracing-bunyan-formatter = "0.3.2"
tracing-log = "0.1.2"
serde-aux = "3.0.1"
secrecy = { version = "0.8.0", features = ["serde"] }
unicode-segmentation = "1.9.0"
validator = "0.14.0"
[dependencies.sqlx]
version = "0.5.10"
features = [
"runtime-tokio-rustls",
"macros",
"migrate",
"chrono",
"uuid",
"offline",
]
default-features = false
[dev-dependencies]
claim = "0.5.0"
fake = "2.4.3"
once_cell = "1.9.0"
quickcheck = "1.0.3"
quickcheck_macros = "1.0.0"
reqwest = "0.11.9"
[features]
default = ["postgres"]
sqlite = ["sqlx/sqlite"]
postgres = ["sqlx/postgres"]