-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
32 lines (29 loc) · 905 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
[workspace]
members = [
"apps/api",
"apps/api_diesel",
"libs/logger",
"libs/database",
"libs/database_diesel",
"libs/database_service",
"libs/database_diesel_service"
]
[workspace.package]
version = "0.0.0"
edition = "2021"
authors = ["Duye Chen <[email protected]>"]
description = "A demo"
readme = "./README.md"
license = "MIT OR Apache-2.0"
[workspace.dependencies]
actix-web = "4"
diesel = { version = "2.0", features = ["postgres", "r2d2", "uuid", "chrono"] }
sqlx = { version = "0.7", features = ["postgres", "runtime-tokio", "chrono", "uuid", "time", "json", "tls-native-tls"] }
tokio = { version = "1", features = ["full"] }
serde = { version = "1", features = ["derive"] }
uuid = { version = "1.2", features = ["v4", "fast-rng", "macro-diagnostics", "serde"] }
chrono = { version = "0.4", features = ["serde"] }
env_logger = "0.9.3"
log = "0.4.17"
dotenv = "0.15"
anyhow = "1.0"