restructured, added db connection pool
This commit is contained in:
16
Cargo.toml
16
Cargo.toml
@ -15,5 +15,19 @@ name = "zero2prod"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
tokio = { version="1", features = ["macros", "rt-multi-thread"] }
|
||||
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
|
||||
reqwest = "0.11"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
config = "0.14"
|
||||
|
||||
[dependencies.sqlx]
|
||||
version = "0.7.3"
|
||||
default-features = false
|
||||
features = [
|
||||
"runtime-tokio-rustls",
|
||||
"macros",
|
||||
"postgres",
|
||||
"uuid",
|
||||
"chrono",
|
||||
"migrate",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user