Skip to content

Commit c496921

Browse files
committed
release v2.1.0
1 parent 4538343 commit c496921

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
@@ -13,7 +13,7 @@ repository = "https://github.com/mongodb/mongo-rust-driver"
1313
license = "Apache-2.0"
1414
readme = "README.md"
1515
name = "mongodb"
16-
version = "2.1.0-beta"
16+
version = "2.1.0"
1717

1818
exclude = [
1919
"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.1.0-beta"
51+
bson = "2.1.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.1.0-beta"
39+
mongodb = "2.1.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.1.0-beta"
48+
version = "2.1.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.1.0-beta"
57+
version = "2.1.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.1.0-beta"
19+
//! mongodb = "2.1.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.1.0-beta"
33+
//! version = "2.1.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.1.0-beta"
43+
//! version = "2.1.0"
4444
//! default-features = false
4545
//! features = ["sync"]
4646
//! ```
@@ -299,7 +299,7 @@
299299
)]
300300
#![cfg_attr(docsrs, feature(doc_cfg))]
301301
#![cfg_attr(test, type_length_limit = "80000000")]
302-
#![doc(html_root_url = "https://docs.rs/mongodb/2.1.0-beta")]
302+
#![doc(html_root_url = "https://docs.rs/mongodb/2.1.0")]
303303

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

0 commit comments

Comments
 (0)