Skip to content

Commit

Permalink
release v2.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickfreed committed Jun 3, 2022
1 parent f95fc16 commit 214fe16
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repository = "https://github.com/mongodb/mongo-rust-driver"
license = "Apache-2.0"
readme = "README.md"
name = "mongodb"
version = "2.2.1"
version = "2.2.2"

exclude = [
"etc/**",
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ This repository contains the officially supported MongoDB Rust driver, a client
The driver is available on [crates.io](https://crates.io/crates/mongodb). To use the driver in your application, simply add it to your project's `Cargo.toml`.
```toml
[dependencies]
mongodb = "2.2.1"
mongodb = "2.2.2"
```

#### Configuring the async runtime
Expand All @@ -45,7 +45,7 @@ The driver supports both of the most popular async runtime crates, namely [`toki
For example, to instruct the driver to work with [`async-std`](https://crates.io/crates/async-std), add the following to your `Cargo.toml`:
```toml
[dependencies.mongodb]
version = "2.2.1"
version = "2.2.2"
default-features = false
features = ["async-std-runtime"]
```
Expand All @@ -54,7 +54,7 @@ features = ["async-std-runtime"]
The driver also provides a blocking sync API. To enable this, add the `"sync"` feature to your `Cargo.toml`:
```toml
[dependencies.mongodb]
version = "2.2.1"
version = "2.2.2"
default-features = false
features = ["sync"]
```
Expand Down
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
//! your application, simply add it to your project's `Cargo.toml`.
//! ```toml
//! [dependencies]
//! mongodb = "2.2.1"
//! mongodb = "2.2.2"
//! ```
//!
//! ### Configuring the async runtime
Expand All @@ -30,7 +30,7 @@
//! add the following to your `Cargo.toml`:
//! ```toml
//! [dependencies.mongodb]
//! version = "2.2.1"
//! version = "2.2.2"
//! default-features = false
//! features = ["async-std-runtime"]
//! ```
Expand All @@ -40,7 +40,7 @@
//! `Cargo.toml`:
//! ```toml
//! [dependencies.mongodb]
//! version = "2.2.1"
//! version = "2.2.2"
//! default-features = false
//! features = ["sync"]
//! ```
Expand Down Expand Up @@ -301,7 +301,7 @@
)]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![cfg_attr(test, type_length_limit = "80000000")]
#![doc(html_root_url = "https://docs.rs/mongodb/2.2.1")]
#![doc(html_root_url = "https://docs.rs/mongodb/2.2.2")]

#[cfg(all(feature = "aws-auth", feature = "async-std-runtime"))]
compile_error!("The `aws-auth` feature flag is only supported on the tokio runtime.");
Expand Down

0 comments on commit 214fe16

Please sign in to comment.