Skip to content

Commit ef07d82

Browse files
committed
release v2.1.0-beta
1 parent b843bfa commit ef07d82

File tree

4 files changed

+16
-11
lines changed

4 files changed

+16
-11
lines changed

Cargo.toml

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
[package]
2-
authors = ["Saghm Rossi <[email protected]>", "Patrick Freed <[email protected]>", "Isabel Atkinson <[email protected]>"]
2+
authors = [
3+
"Saghm Rossi <[email protected]>",
4+
"Patrick Freed <[email protected]>",
5+
"Isabel Atkinson <[email protected]>",
6+
"Abraham Egnor <[email protected]>",
7+
]
38
description = "The official MongoDB driver for Rust"
49
edition = "2018"
510
keywords = ["mongo", "mongodb", "database", "bson", "nosql"]
@@ -8,7 +13,7 @@ repository = "https://github.com/mongodb/mongo-rust-driver"
813
license = "Apache-2.0"
914
readme = "README.md"
1015
name = "mongodb"
11-
version = "2.0.0"
16+
version = "2.1.0-beta"
1217

1318
exclude = [
1419
"etc/**",
@@ -43,7 +48,7 @@ snappy-compression = ["snap"]
4348
async-trait = "0.1.42"
4449
base64 = "0.13.0"
4550
bitflags = "1.1.0"
46-
bson = { git = "https://github.com/mongodb/bson-rust", branch = "master" }
51+
bson = "2.1.0-beta"
4752
chrono = "0.4.7"
4853
derivative = "2.1.1"
4954
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.0.0"
39+
mongodb = "2.1.0-beta"
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.0.0"
48+
version = "2.1.0-beta"
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.0.0"
57+
version = "2.1.0-beta"
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.0.0"
19+
//! mongodb = "2.1.0-beta"
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.0.0"
33+
//! version = "2.1.0-beta"
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.0.0"
43+
//! version = "2.1.0-beta"
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.0.0")]
302+
#![doc(html_root_url = "https://docs.rs/mongodb/2.1.0-beta")]
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.");

src/test/documentation_examples/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1508,7 +1508,7 @@ async fn aggregation_examples() -> GenericResult<()> {
15081508
db.drop(None).await?;
15091509
aggregation_data::populate(&db).await?;
15101510

1511-
// Each example is within its own scope to allow the example to include
1511+
// Each example is within its own scope to allow the example to include
15121512
// `use futures::TryStreamExt;` without causing multiple definition errors.
15131513

15141514
{

0 commit comments

Comments
 (0)