You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2025/03/07 13:28:32 UTC
(opendal) branch main updated: chore: update mongodb version drop the fixme comments (#5706)
This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opendal.git
The following commit(s) were added to refs/heads/main by this push:
new 1094b5042 chore: update mongodb version drop the fixme comments (#5706)
1094b5042 is described below
commit 1094b5042f0a0753d64a6eea754bede9d2e51950
Author: yihong <zo...@gmail.com>
AuthorDate: Fri Mar 7 21:28:26 2025 +0800
chore: update mongodb version drop the fixme comments (#5706)
---
core/Cargo.lock | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++----
core/Cargo.toml | 5 ++---
2 files changed, 67 insertions(+), 7 deletions(-)
diff --git a/core/Cargo.lock b/core/Cargo.lock
index 7ca3da95b..9aac4604f 100644
--- a/core/Cargo.lock
+++ b/core/Cargo.lock
@@ -2346,6 +2346,17 @@ dependencies = [
"syn 1.0.109",
]
+[[package]]
+name = "derive-syn-parse"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.95",
+]
+
[[package]]
name = "derive-where"
version = "1.2.7"
@@ -4500,6 +4511,54 @@ version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4"
+[[package]]
+name = "macro_magic"
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cc33f9f0351468d26fbc53d9ce00a096c8522ecb42f19b50f34f2c422f76d21d"
+dependencies = [
+ "macro_magic_core",
+ "macro_magic_macros",
+ "quote",
+ "syn 2.0.95",
+]
+
+[[package]]
+name = "macro_magic_core"
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1687dc887e42f352865a393acae7cf79d98fab6351cde1f58e9e057da89bf150"
+dependencies = [
+ "const-random",
+ "derive-syn-parse",
+ "macro_magic_core_macros",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.95",
+]
+
+[[package]]
+name = "macro_magic_core_macros"
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b02abfe41815b5bd98dbd4260173db2c116dda171dc0fe7838cb206333b83308"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.95",
+]
+
+[[package]]
+name = "macro_magic_macros"
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "73ea28ee64b88876bf45277ed9a5817c1817df061a74f2b988971a12570e5869"
+dependencies = [
+ "macro_magic_core",
+ "quote",
+ "syn 2.0.95",
+]
+
[[package]]
name = "maplit"
version = "1.0.2"
@@ -4731,9 +4790,9 @@ dependencies = [
[[package]]
name = "mongodb"
-version = "3.1.1"
+version = "3.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ff1f6edf7fe8828429647a2200f684681ca6d5a33b45edc3140c81390d852301"
+checksum = "1e5f2b7791f13490c99dc2638265006b08e8675945671e29bd0d763da09fdc61"
dependencies = [
"async-trait",
"base64 0.13.1",
@@ -4750,6 +4809,7 @@ dependencies = [
"hickory-proto",
"hickory-resolver",
"hmac",
+ "macro_magic",
"md-5",
"mongodb-internal-macros",
"once_cell",
@@ -4779,10 +4839,11 @@ dependencies = [
[[package]]
name = "mongodb-internal-macros"
-version = "3.1.1"
+version = "3.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8b07bfd601af78e39384707a8e80041946c98260e3e0190e294ee7435823e6bf"
+checksum = "d848d178417aab67f0ef7196082fa4e95ce42ed9d2a1cfd2f074de76855d0075"
dependencies = [
+ "macro_magic",
"proc-macro2",
"quote",
"syn 2.0.95",
diff --git a/core/Cargo.toml b/core/Cargo.toml
index 5e279d58e..08bcfd571 100644
--- a/core/Cargo.toml
+++ b/core/Cargo.toml
@@ -305,9 +305,8 @@ mini-moka = { version = "0.10", optional = true }
# for services-moka
moka = { version = "0.12", optional = true, features = ["future", "sync"] }
# for services-mongodb
-# 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 }
-mongodb-internal-macros = { version = ">=3,<3.2.0", optional = true }
+mongodb = { version = "3.2.2", optional = true }
+mongodb-internal-macros = { version = "3.2.2", optional = true }
# for services-sftp
openssh = { version = "0.11.0", optional = true }
openssh-sftp-client = { version = "0.15.2", optional = true, features = [