-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
42 lines (36 loc) · 1000 Bytes
/
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
[package]
name = "zero2prod"
version = "0.1.0"
edition = "2021"
authors = ["simon <ynwdlxm@163.com>"]
license = "MIT"
[lib]
path = "src/lib.rs"
# Notice the double square brackets: it's an array in TOML's syntax.
# We can only have one library in a project, but we can have multiple binaries!
# If you want to manage multiple libraries in the same repository
# have a look at the workspace feature - we'll cover it later on.
# [[bin]]
# path = "src/main.rs"
# name = "zero2prod"
[dependencies]
actix-web = "4.8.0"
chrono = "0.4.38"
config = { version = "0.14.0", features = ["yaml"] }
serde = { version = "1.0.204", features = ["derive"] }
tokio = { version = "1.39.3", features = ["rt", "rt-multi-thread", "macros"] }
uuid = { version = "1.10.0", features = ["v4"] }
[dependencies.sqlx]
version = "0.8.0"
default-features = false
features = [
"chrono",
"macros",
"migrate",
"postgres",
"runtime-tokio",
"tls-rustls",
"uuid",
]
[dev-dependencies]
reqwest = "0.12.5"