From cad3d7ccb61ea20c1970f8b353ec3aee414c71f3 Mon Sep 17 00:00:00 2001 From: Abraham Egnor Date: Fri, 9 Feb 2024 12:39:52 -0500 Subject: [PATCH] release v2.8.1 --- Cargo.toml | 2 +- README.md | 6 +++--- manual/src/installation_features.md | 4 ++-- src/lib.rs | 8 ++++---- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 149c145bd..7e90c93a2 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.8.0" +version = "2.8.1" exclude = [ "etc/**", diff --git a/README.md b/README.md index 4947f91bb..c4e4993aa 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ The driver tests against Linux, MacOS, and Windows in CI. 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.8.0" +mongodb = "2.8.1" ``` Version 1 of this crate has reached end of life and will no longer be receiving any updates or bug fixes, so all users are recommended to always depend on the latest 2.x release. See the [2.0.0 release notes](https://github.com/mongodb/mongo-rust-driver/releases/tag/v2.0.0) for migration information if upgrading from a 1.x version. @@ -55,7 +55,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.8.0" +version = "2.8.1" default-features = false features = ["async-std-runtime"] ``` @@ -64,7 +64,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.8.0" +version = "2.8.1" 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 49354d0d6..434418b0b 100644 --- a/manual/src/installation_features.md +++ b/manual/src/installation_features.md @@ -13,7 +13,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.8.0" +version = "2.8.1" default-features = false features = ["async-std-runtime"] ``` @@ -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.8.0" +version = "2.8.1" features = ["tokio-sync"] ``` Using the `"sync"` feature also requires using `default-features = false`. diff --git a/src/lib.rs b/src/lib.rs index 7805638e1..7f19df987 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.8.0" +//! mongodb = "2.8.1" //! ``` //! //! ### Configuring the async runtime @@ -30,7 +30,7 @@ //! add the following to your `Cargo.toml`: //! ```toml //! [dependencies.mongodb] -//! version = "2.8.0" +//! version = "2.8.1" //! default-features = false //! features = ["async-std-runtime"] //! ``` @@ -40,7 +40,7 @@ //! feature to your `Cargo.toml`: //! ```toml //! [dependencies.mongodb] -//! version = "2.8.0" +//! version = "2.8.1" //! features = ["tokio-sync"] //! ``` //! Using the `"sync"` feature also requires using `default-features = false`. @@ -306,7 +306,7 @@ )] #![cfg_attr(docsrs, feature(doc_auto_cfg))] #![cfg_attr(test, type_length_limit = "80000000")] -#![doc(html_root_url = "https://docs.rs/mongodb/2.8.0")] +#![doc(html_root_url = "https://docs.rs/mongodb/2.8.1")] #[cfg(all(feature = "aws-auth", feature = "async-std-runtime"))] compile_error!("The `aws-auth` feature flag is only supported on the tokio runtime.");