diff --git a/Cargo.lock b/Cargo.lock index 7bc58f342d560..b6861a91ca5b0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2041,7 +2041,7 @@ dependencies = [ "bitflags 2.10.0", "cexpr", "clang-sys", - "itertools 0.11.0", + "itertools 0.13.0", "log", "prettyplease 0.2.15", "proc-macro2", @@ -2233,8 +2233,9 @@ dependencies = [ [[package]] name = "bson" -version = "2.14.0" -source = "git+https://github.com/risingwavelabs/bson-rust?tag=v2.14.0-json-no-preserve_order#a9ef07735285ca1989409db99678e94983bee5d1" +version = "2.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7969a9ba84b0ff843813e7249eed1678d9b6607ce5a3b8f0a47af3fcf7978e6e" dependencies = [ "ahash 0.8.11", "base64 0.22.1", @@ -7167,7 +7168,7 @@ dependencies = [ "libc", "percent-encoding", "pin-project-lite", - "socket2 0.5.10", + "socket2 0.6.0", "system-configuration", "tokio", "tower-service", @@ -7200,7 +7201,7 @@ dependencies = [ "js-sys", "log", "wasm-bindgen", - "windows-core 0.58.0", + "windows-core 0.61.0", ] [[package]] @@ -8676,11 +8677,29 @@ dependencies = [ "uuid", ] +[[package]] +name = "mongocrypt" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8da0cd419a51a5fb44819e290fbdb0665a54f21dead8923446a799c7f4d26ad9" +dependencies = [ + "bson", + "mongocrypt-sys", + "once_cell", + "serde", +] + +[[package]] +name = "mongocrypt-sys" +version = "0.1.5+1.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "224484c5d09285a7b8cb0a0c117e847ebd14cb6e4470ecf68cdb89c503b0edb9" + [[package]] name = "mongodb" -version = "3.2.5" +version = "3.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6e3788f35159bbcf461227af84711950525343b64451fdd90de4e237a0b8a13" +checksum = "622f272c59e54a3c85f5902c6b8e7b1653a6b6681f45e4c42d6581301119a4b8" dependencies = [ "async-trait", "base64 0.13.1", @@ -8699,14 +8718,15 @@ dependencies = [ "hmac", "macro_magic", "md-5", + "mongocrypt", "mongodb-internal-macros", "once_cell", "pbkdf2 0.11.0", "percent-encoding", "rand 0.8.5", "rustc_version_runtime", - "rustls 0.21.11", - "rustls-pemfile 1.0.4", + "rustls 0.23.35", + "rustversion", "serde", "serde_bytes", "serde_with", @@ -8718,11 +8738,11 @@ dependencies = [ "take_mut", "thiserror 1.0.63", "tokio", - "tokio-rustls 0.24.1", + "tokio-rustls 0.26.4", "tokio-util", - "typed-builder 0.10.0", + "typed-builder 0.20.1", "uuid", - "webpki-roots 0.25.2", + "webpki-roots 0.26.1", ] [[package]] @@ -10698,8 +10718,8 @@ name = "prost-build" version = "0.13.4" source = "git+https://github.com/risingwavelabs/prost.git?rev=4a442caf7c0a43feb4aea64bde6aea4488d9917f#4a442caf7c0a43feb4aea64bde6aea4488d9917f" dependencies = [ - "heck 0.4.1", - "itertools 0.11.0", + "heck 0.5.0", + "itertools 0.13.0", "log", "multimap 0.10.0", "once_cell", @@ -10731,7 +10751,7 @@ version = "0.13.4" source = "git+https://github.com/risingwavelabs/prost.git?rev=4a442caf7c0a43feb4aea64bde6aea4488d9917f#4a442caf7c0a43feb4aea64bde6aea4488d9917f" dependencies = [ "anyhow", - "itertools 0.11.0", + "itertools 0.13.0", "proc-macro2", "quote", "syn 2.0.111", @@ -10744,7 +10764,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9120690fafc389a67ba3803df527d0ec9cbbc9cc45e4cc20b332996dfb672425" dependencies = [ "anyhow", - "itertools 0.11.0", + "itertools 0.14.0", "proc-macro2", "quote", "syn 2.0.111", @@ -14491,6 +14511,7 @@ version = "1.0.145" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c" dependencies = [ + "indexmap 2.12.0", "itoa", "memchr", "ryu", @@ -16540,17 +16561,6 @@ dependencies = [ "rand 0.8.5", ] -[[package]] -name = "typed-builder" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89851716b67b937e393b3daa8423e67ddfc4bbbf1654bcf05488e95e0828db0c" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "typed-builder" version = "0.16.2" @@ -18256,3 +18266,8 @@ dependencies = [ "cc", "pkg-config", ] + +[[patch.unused]] +name = "bson" +version = "2.14.0" +source = "git+https://github.com/risingwavelabs/bson-rust?tag=v2.14.0-json-no-preserve_order#a9ef07735285ca1989409db99678e94983bee5d1" diff --git a/src/connector/Cargo.toml b/src/connector/Cargo.toml index c56f068d9e63f..e47d334d295f2 100644 --- a/src/connector/Cargo.toml +++ b/src/connector/Cargo.toml @@ -89,7 +89,7 @@ itertools = { workspace = true } jni = { workspace = true } maplit = "1.0.2" moka = { version = "0.12.10", features = ["future"] } -mongodb = "3.2.5" +mongodb = "3.3.0" mysql_async = { workspace = true } mysql_common = { version = "0.35", default-features = false, features = [ "chrono",