This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a commit to branch fix-mongo
in repository https://gitbox.apache.org/repos/asf/opendal.git

commit 18231cec6178abb65c94de38150ce90614c00794
Author: Xuanwo <[email protected]>
AuthorDate: Fri Jan 17 12:45:44 2025 +0800

    chore(core): Avoid using mongodb 3.2.0
    
    Signed-off-by: Xuanwo <[email protected]>
---
 core/Cargo.toml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/core/Cargo.toml b/core/Cargo.toml
index f75fb8d8c..d9389fabc 100644
--- a/core/Cargo.toml
+++ b/core/Cargo.toml
@@ -308,7 +308,8 @@ mini-moka = { version = "0.10", optional = true }
 # for services-moka
 moka = { version = "0.12", optional = true, features = ["future", "sync"] }
 # for services-mongodb
-mongodb = { version = "3", optional = true }
+# mongodb has known issues on 3.2.0: 
https://github.com/mongodb/mongo-rust-driver/issues/1287
+mongodb = { version = ">=3,<3.2.0", optional = true }
 # for services-sftp
 openssh = { version = "0.11.0", optional = true }
 openssh-sftp-client = { version = "0.15.2", optional = true, features = [

Reply via email to