Update 'mongodb' to 3.0.

This commit is contained in:
Abraham Egnor 2024-07-22 11:22:31 -04:00 committed by Sergio Benitez
parent e2cbcc6e2f
commit 4eb6cdf8fb
2 changed files with 3 additions and 3 deletions

View File

@ -65,9 +65,9 @@ features = ["rt_tokio_1"]
optional = true optional = true
[dependencies.mongodb] [dependencies.mongodb]
version = "2" version = "3"
default-features = false default-features = false
features = ["tokio-runtime"] features = ["compat-3-0-0", "rustls-tls"]
optional = true optional = true
[dependencies.diesel-async] [dependencies.diesel-async]

View File

@ -131,7 +131,7 @@
//! On shutdown, new connections are denied. Shutdown waits for connections to //! On shutdown, new connections are denied. Shutdown waits for connections to
//! be returned. //! be returned.
//! //!
//! ## `mongodb` (v2) //! ## `mongodb` (v3)
//! //!
//! | Database | Feature | [`Pool`] Type and [`Connection`] Deref | //! | Database | Feature | [`Pool`] Type and [`Connection`] Deref |
//! |----------|-----------|----------------------------------------| //! |----------|-----------|----------------------------------------|