Skip to content

Commit 85cc2f4

Browse files
authored
Update to latest library versions (#170)
1 parent 8c09ab6 commit 85cc2f4

File tree

3 files changed

+87
-29
lines changed

3 files changed

+87
-29
lines changed

Cargo.lock

Lines changed: 82 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ edition = "2021"
99
tokio = { version = "1", features = ["full"] }
1010
bytes = "1"
1111
md-5 = "0.10"
12-
bb8 = "0.7"
12+
bb8 = "0.8.0"
1313
async-trait = "0.1"
1414
rand = "0.8"
1515
chrono = "0.4"
@@ -20,17 +20,17 @@ serde_derive = "1"
2020
regex = "1"
2121
num_cpus = "1"
2222
once_cell = "1"
23-
sqlparser = "0.14"
23+
sqlparser = "0.23.0"
2424
log = "0.4"
2525
arc-swap = "1"
2626
env_logger = "0.9"
27-
parking_lot = "0.11"
27+
parking_lot = "0.12.1"
2828
hmac = "0.12"
2929
sha2 = "0.10"
3030
base64 = "0.13"
3131
stringprep = "0.1"
3232
tokio-rustls = "0.23"
3333
rustls-pemfile = "1"
3434
hyper = { version = "0.14", features = ["full"] }
35-
phf = { version = "0.10", features = ["macros"] }
35+
phf = { version = "0.11.1", features = ["macros"] }
3636
exitcode = "1.1.2"

src/pool.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ impl ManageConnection for ServerPool {
595595
}
596596

597597
/// Determines if the connection is still connected to the database.
598-
async fn is_valid(&self, _conn: &mut PooledConnection<'_, Self>) -> Result<(), Self::Error> {
598+
async fn is_valid(&self, _conn: &mut Self::Connection) -> Result<(), Self::Error> {
599599
Ok(())
600600
}
601601

0 commit comments

Comments
 (0)