diff --git a/.evergreen/MSRV-Cargo.lock b/.evergreen/MSRV-Cargo.lock index d44431bdb..5948df89a 100644 --- a/.evergreen/MSRV-Cargo.lock +++ b/.evergreen/MSRV-Cargo.lock @@ -1047,7 +1047,7 @@ dependencies = [ [[package]] name = "mongodb" -version = "2.3.0-beta.1" +version = "2.3.0" dependencies = [ "approx", "async-std", diff --git a/Cargo.toml b/Cargo.toml index 15a706994..7158c1184 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ homepage = "https://www.mongodb.com/docs/drivers/rust/" license = "Apache-2.0" readme = "README.md" name = "mongodb" -version = "2.3.0-beta.1" +version = "2.3.0" exclude = [ "etc/**", @@ -66,7 +66,7 @@ snappy-compression = ["snap"] async-trait = "0.1.42" base64 = "0.13.0" bitflags = "1.1.0" -bson = { git = "https://github.com/mongodb/bson-rust", branch = "main" } +bson = "2.3.0" chrono = "0.4.7" derivative = "2.1.1" flate2 = { version = "1.0", optional = true } diff --git a/README.md b/README.md index c511fb028..a3cce4082 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ For more detailed documentation, see [the manual](https://mongodb.github.io/mong 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.0" +mongodb = "2.3.0" ``` #### Configuring the async runtime @@ -48,7 +48,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.0" +version = "2.3.0" default-features = false features = ["async-std-runtime"] ``` @@ -57,7 +57,7 @@ features = ["async-std-runtime"] The driver also provides a blocking sync API. To enable this, add the `"sync"` or `"tokio-sync"` feature to your `Cargo.toml`: ```toml [dependencies.mongodb] -version = "2.2.0" +version = "2.3.0" features = ["tokio-sync"] ``` Using the `"sync"` feature also requires using `default-features = false`. diff --git a/manual/src/installation_features.md b/manual/src/installation_features.md index 912131005..2421a9915 100644 --- a/manual/src/installation_features.md +++ b/manual/src/installation_features.md @@ -22,7 +22,7 @@ features = ["async-std-runtime"] The driver also provides a blocking sync API. To enable this, add the `"sync"` or `"tokio-sync"` feature to your `Cargo.toml`: ```toml [dependencies.mongodb] -version = "2.2.0" +version = "2.3.0" features = ["tokio-sync"] ``` Using the `"sync"` feature also requires using `default-features = false`. diff --git a/src/lib.rs b/src/lib.rs index 2772b39c5..989f7d9b8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -16,7 +16,7 @@ //! your application, simply add it to your project's `Cargo.toml`. //! ```toml //! [dependencies] -//! mongodb = "2.3.0-beta" +//! mongodb = "2.3.0" //! ``` //! //! ### Configuring the async runtime @@ -30,7 +30,7 @@ //! add the following to your `Cargo.toml`: //! ```toml //! [dependencies.mongodb] -//! version = "2.3.0-beta" +//! version = "2.3.0" //! default-features = false //! features = ["async-std-runtime"] //! ``` @@ -40,7 +40,7 @@ //! feature to your `Cargo.toml`: //! ```toml //! [dependencies.mongodb] -//! version = "2.3.0-beta" +//! version = "2.3.0" //! features = ["tokio-sync"] //! ``` //! Using the `"sync"` feature also requires using `default-features = false`. @@ -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.3.0-beta")] +#![doc(html_root_url = "https://docs.rs/mongodb/2.3.0")] #[cfg(all(feature = "aws-auth", feature = "async-std-runtime"))] compile_error!("The `aws-auth` feature flag is only supported on the tokio runtime.");