mongo-rust-driver icon indicating copy to clipboard operation
mongo-rust-driver copied to clipboard

The official MongoDB Rust Driver

Results 43 mongo-rust-driver issues
Sort by recently updated
recently updated
newest added

Hello there! I noticed that one of my projects had multiple duplicate dependencies due to `mongodb`. This PR bumps up the crate versions. Most of the bumps were patch-level. The...

```rust for id in ids { doc_ids.push(( "_id".to_string(), Bson::ObjectId(oid::ObjectId::parse_str(id).unwrap()), )); } let db = client.database("account"); let collections = db.collection::(collect); let filter = Document::from_iter(doc_ids.clone()); let result= collections.update_many(filter.clone(), doc! {"$set":{"to_ack":to_ack}}, None) .await...

waiting-for-reporter
Stale

## Versions/Environment 1. Rust Version : rustc 1.62.1 2. MacOS 3. Mongodb = 2.3.0 bson = 2.4.0 4. using mongodb serverless cloud ## Describe the bug i cannot read read...

RUST-1295 This is mostly just a test sync; however, one of the test files is exercising the `modifyCollection` helper, which the Rust driver doesn't have, so it needed a code...

Remove `oldtime` feature from chrono dependency to eliminate a transitive dependency on a deprecated version of the time crate which has [a vulnerability](https://rustsec.org/advisories/RUSTSEC-2020-0071). The issue was found using [cargo-audit](https://github.com/RustSec/rustsec/tree/main/cargo-audit), which...

tracked-in-jira

RUST-360 This PR updates the driver to make use of the streaming monitoring protocol (described [here](https://github.com/mongodb/specifications/blob/master/source/server-discovery-and-monitoring/server-monitoring.rst#streaming-protocol)), which allows the driver to accept topology updates that are pushed to it rather...

## Versions/Environment 1. What version of Rust are you using? 1.64.0-nightly (c0bbd42ce 2022-07-03) 1. What operating system are you using? Debian Bullseye in Docker container 1. What versions of the...

tracked-in-jira

Hi, is the encryption feature present in the driver? Looked at the docs and it seemed the Rust driver does not support encryption (both automatic and explicit) for the time...

tracked-in-jira