Skip to content

Commit 92161be

Browse files
authored
release v2.2.0 (#626)
1 parent 2075413 commit 92161be

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repository = "https://github.com/mongodb/mongo-rust-driver"
88
license = "Apache-2.0"
99
readme = "README.md"
1010
name = "mongodb"
11-
version = "2.2.0-beta"
11+
version = "2.2.0"
1212

1313
exclude = [
1414
"etc/**",
@@ -48,7 +48,7 @@ snappy-compression = ["snap"]
4848
async-trait = "0.1.42"
4949
base64 = "0.13.0"
5050
bitflags = "1.1.0"
51-
bson = "2.2.0-beta"
51+
bson = "2.2.0"
5252
chrono = "0.4.7"
5353
derivative = "2.1.1"
5454
flate2 = { version = "1.0", optional = true }

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ This repository contains the officially supported MongoDB Rust driver, a client
3636
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`.
3737
```toml
3838
[dependencies]
39-
mongodb = "2.2.0-beta"
39+
mongodb = "2.2.0"
4040
```
4141

4242
#### Configuring the async runtime
@@ -45,7 +45,7 @@ The driver supports both of the most popular async runtime crates, namely [`toki
4545
For example, to instruct the driver to work with [`async-std`](https://crates.io/crates/async-std), add the following to your `Cargo.toml`:
4646
```toml
4747
[dependencies.mongodb]
48-
version = "2.2.0-beta"
48+
version = "2.2.0"
4949
default-features = false
5050
features = ["async-std-runtime"]
5151
```
@@ -54,7 +54,7 @@ features = ["async-std-runtime"]
5454
The driver also provides a blocking sync API. To enable this, add the `"sync"` feature to your `Cargo.toml`:
5555
```toml
5656
[dependencies.mongodb]
57-
version = "2.2.0-beta"
57+
version = "2.2.0"
5858
default-features = false
5959
features = ["sync"]
6060
```

src/lib.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
//! your application, simply add it to your project's `Cargo.toml`.
1717
//! ```toml
1818
//! [dependencies]
19-
//! mongodb = "2.2.0-beta"
19+
//! mongodb = "2.2.0"
2020
//! ```
2121
//!
2222
//! ### Configuring the async runtime
@@ -30,7 +30,7 @@
3030
//! add the following to your `Cargo.toml`:
3131
//! ```toml
3232
//! [dependencies.mongodb]
33-
//! version = "2.2.0-beta"
33+
//! version = "2.2.0"
3434
//! default-features = false
3535
//! features = ["async-std-runtime"]
3636
//! ```
@@ -40,7 +40,7 @@
4040
//! `Cargo.toml`:
4141
//! ```toml
4242
//! [dependencies.mongodb]
43-
//! version = "2.2.0-beta"
43+
//! version = "2.2.0"
4444
//! default-features = false
4545
//! features = ["sync"]
4646
//! ```
@@ -301,7 +301,7 @@
301301
)]
302302
#![cfg_attr(docsrs, feature(doc_cfg))]
303303
#![cfg_attr(test, type_length_limit = "80000000")]
304-
#![doc(html_root_url = "https://docs.rs/mongodb/2.2.0-beta")]
304+
#![doc(html_root_url = "https://docs.rs/mongodb/2.2.0")]
305305

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

0 commit comments

Comments
 (0)