feat: provide connection pool to routes
This commit is contained in:
parent
f4deaceb27
commit
68e825c942
5 changed files with 43 additions and 20 deletions
9
Cargo.lock
generated
9
Cargo.lock
generated
|
|
@ -249,7 +249,10 @@ checksum = "7f2c685bad3eb3d45a01354cedb7d5faa66194d1d58ba6e267a8de788f79db38"
|
|||
dependencies = [
|
||||
"android-tzdata",
|
||||
"iana-time-zone",
|
||||
"js-sys",
|
||||
"num-traits",
|
||||
"serde",
|
||||
"wasm-bindgen",
|
||||
"windows-targets 0.48.1",
|
||||
]
|
||||
|
||||
|
|
@ -986,6 +989,7 @@ name = "learn_axum"
|
|||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"axum",
|
||||
"chrono",
|
||||
"config",
|
||||
"hyper 1.1.0",
|
||||
"reqwest",
|
||||
|
|
@ -993,6 +997,7 @@ dependencies = [
|
|||
"serde_json",
|
||||
"sqlx",
|
||||
"tokio",
|
||||
"uuid",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
|
@ -2365,6 +2370,10 @@ name = "uuid"
|
|||
version = "1.6.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5e395fcf16a7a3d8127ec99782007af141946b4795001f876d54fb0d55978560"
|
||||
dependencies = [
|
||||
"getrandom",
|
||||
"rand",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "vcpkg"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue