NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io, #2423 most downloaded on crates.io
The official MongoDB driver for Rust
Latest stable
3.10.0
Last release 16 days ago
03 Nov 2026
Ships fairly regularly
a new release about every 6 weeks
Nearly every release is documented
notes for 55 of the last 60 stable releases
1 version withdrawn
withdrawn after publishing
11 years old
104 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
The MongoDB Rust driver team is pleased to announce the v1.2.1 release of the driver. This release fixes a few high priority issues, so it is highly r
The MongoDB Rust driver team is pleased to announce the v1.2.1 release of the driver. This release fixes a few high priority issues, so it is highly recommended that all users of the 1.x driver upgrade to use this version.
count_documentsThe MongoDB Rust driver team is pleased to announce the v1.2.0 release of the driver.
The MongoDB Rust driver team is pleased to announce the v1.2.0 release of the driver.
This release contains several improvements to the driver's integration with Serde.
This release contains several bug fixes and improvements to the connection pooling behavior in the driver. These improvements should both improve performance and also reduce the risk of “connection storms”.
Some highlighted changes:
os_info to 3.0.1typed-builder to 0.4.0Your coding agent can read these notes before it upgrades. Set up the MCP server →
The MongoDB Rust driver team is pleased to announce the v1.1.1 release of the driver.
The MongoDB Rust driver team is pleased to announce the v1.1.0 release of the driver.
The MongoDB Rust driver team is pleased to announce the v1.1.0 release of the driver.
In addition to the changes for v1.1.0-beta, the following changes were made in v1.1.0:
The MongoDB Rust driver team is pleased to announce the v1.1.0-beta release of the driver.
The MongoDB Rust driver team is pleased to announce the v1.1.0-beta release of the driver.
The MongoDB Rust driver team is pleased to announce the first stable release of the driver, v1.0.0. This release marks the general availability of the
The MongoDB Rust driver team is pleased to announce the first stable release of the driver, v1.0.0. This release marks the general availability of the driver. Additionally, per semver requirements, no breaking API changes will be made to the 1.x branch of the driver.
See the releases notes for v0.11.0 for recent changes made to the driver before this release.
Thanks to everyone who contributed code and/or advice along our path to 1.0, including @nevi-me, @ttdonovan, @petoknm, @judy2k, @freakmaxi, @brunobell, @andywswan, @UmerMIB, @DarkEld3r, @yoshuawuyts, and @LucioFranco!
In preparation of stabilizing the API of the driver, we made a number of breaking changes. The individual changes are listed below in the release note…
The MongoDB Rust driver team is pleased to announce the first release candidate of the driver, v0.11.0.
In preparation of stabilizing the API of the driver, we made a number of breaking changes. The individual changes are listed below in the release notes, each with a short description of why we made the change.
mongodb::error::ErrorKind) in
the future will not cause breaking changes for users who are pattern matching them, we've
marked some of them as non-exhaustive. Additionally, in order to be able to add new options to
our options structs in the future, we've also marked them as non-exhaustive. This has the
side-effect of making them impossible to instantiate with struct literals. The workaround is to
use the auto-generated builder pattern API for them, which continues to be available as before.mongodb::options::ReadConcern to be a (non-exhaustive) struct rather
than an enum. To ensure that it's easy to use, we've added a helper method for each ReadConcern
level to faciliatate construction.mongodb::options::auth, whereas the rest of the driver's options were exported directly from
mongodb::options. We now export the auth options directly from mongodb::options for
consistency.The MongoDB Rust driver team is pleased to announce the first beta of the driver, v0.10.0.
The MongoDB Rust driver team is pleased to announce the first beta of the driver, v0.10.0.
The Rust driver now provides an async API which can be used with either tokio or async-std. By default, the driver uses tokio primitives for things like TcpStreams, although the runtime still must be started before calling into the driver API. To use async-std instead of tokio, specify the following in your Cargo.toml:
[dependencies.mongodb]
version = "0.10.0"
default-features = false
features = ["async-std-runtime"]
The sync API from previous versions of the driver has been moved to the sync module and gated under the sync feature. To enable it, specify the following in your Cargo.toml:
[dependencies.mongodb]
version = "0.10.0"
default-features = false
features = ["sync"]
The sync API wraps the async API and blocks on the results of the async API method calls. It uses async-std under the hood.
Thanks to @judy2k, @nevi-me, and @UmerMIB for the pull requests!
The MongoDB Rust driver team is pleased to announce a new alpha release of the driver, v0.9.2.
The MongoDB Rust driver team is pleased to announce a new alpha release of the driver, v0.9.2.
ErrorKind::DnsName to ErrorKind::InvalidDnsNameThanks to @freakmaxi, @nevi-me, and @ttdonovan for the pull requests!
The MongoDB Rust driver team is pleased to announce a new alpha release of the driver, v0.9.1.
The MongoDB Rust driver team is pleased to announce a new alpha release of the driver, v0.9.1.
Thanks to @brunobell, @petoknm, @nevi-me, and @andywswan for the pull requests!
The MongoDB Rust driver team is pleased to announce the first alpha of the driver, v0.9.0.
The MongoDB Rust driver team is pleased to announce the first alpha of the driver, v0.9.0.
The Rust driver supports MongoDB versions 3.6+.
The driver implements the MongoDB CRUD API with the following methods:
Collection::aggregateCollection::count_documentsCollection::estimated_document_countCollection::distinctCollection::findCollection::find_oneCollection::insert_oneCollection::insert_manyCollection::delete_oneCollection::delete_manyCollection::replace_oneCollection::update_oneCollection::update_manyDatabase::aggregateThe driver implements SCRAM-SHA-1 and SCRAM-SHA-256 authentication, which can be configured either through URI by using Client::with_uri_str or through the credential field of ClientOptions and using Client::with_options. When connected to a MongoDB 3.6 server, the driver will default to using SCRAM-SHA-1, and with driver versions 4.0+, the driver will negotiate the mechanism with the server.
The Rust driver supports using TLS for connections through the rustls crate. TLS can be configured either through the URI by using Client::with_uri_str or through the tls field of ClientOptions and using Client::with_options.
The Rust driver supports using SRV and TXT records to determine the server addresses and Client options by using a "mongodb+srv" URI with Client::with_uri_str.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.