Skip to content

Commit e015359

Browse files
authored
minor: bump MSRV to 1.46 (#320)
1 parent adf02e1 commit e015359

File tree

2 files changed

+8
-16
lines changed

2 files changed

+8
-16
lines changed

.evergreen/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1135,9 +1135,9 @@ axes:
11351135
- id: "extra-rust-versions"
11361136
values:
11371137
- id: "min"
1138-
display_name: "1.43 (minimum supported version)"
1138+
display_name: "1.46 (minimum supported version)"
11391139
variables:
1140-
RUST_VERSION: "1.43.1"
1140+
RUST_VERSION: "1.46.0"
11411141
- id: "nightly"
11421142
display_name: "nightly"
11431143
variables:

README.md

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
This repository contains the officially supported MongoDB Rust driver, a client side library that can be used to interact with MongoDB deployments in Rust applications. It uses the [`bson`](https://docs.rs/bson) crate for BSON support. The driver contains a fully async API that supports either [`tokio`](https://crates.io/crates/tokio) (default) or [`async-std`](https://crates.io/crates/async-std), depending on the feature flags set. The driver also has a sync API that may be enabled via feature flag.
55

66
## Index
7-
- [Installation](#Installation)
7+
- [Installation](#installation)
8+
- [Requirements](#requirements)
89
- [Importing](#importing)
910
- [Configuring the async runtime](#configuring-the-async-runtime)
1011
- [Enabling the sync API](#enabling-the-sync-api)
@@ -26,21 +27,12 @@ This repository contains the officially supported MongoDB Rust driver, a client
2627

2728
## Installation
2829
### Requirements
29-
| Driver Version | Required Rust Version |
30-
|:--------------:|:---------------------:|
31-
| master | 1.43+ |
32-
| 1.2.x | 1.43+ |
33-
| 1.1.x | 1.43+ |
34-
| 1.0.x | 1.43+ |
35-
| 0.11.x | 1.43+ |
36-
| 0.10.x | 1.43+ |
37-
| 0.9.x | 1.39+ |
30+
- Rust 1.46+
3831
- MongoDB 3.6+
3932

40-
**Note**: A regression introduced in Rust 1.46 may cause out-of-memory errors when compiling an application that uses
41-
the driver with a framework like actix-web. Rust 1.45 or the latest nightly version can be used to work around this
42-
problem temporarily. For more information or to track progress on a fix, see
43-
https://github.com/rust-lang/rust/issues/75992.
33+
**Note**: A bug affecting Rust 1.46-1.47 may cause out-of-memory errors when compiling an application that uses the 1.1
34+
version of the driver with a framework like actix-web. Upgrading Rust to 1.48+ or the driver to 1.2+ fixes this
35+
issue. For more information, see https://github.com/rust-lang/rust/issues/75992.
4436

4537
### Importing
4638
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`.

0 commit comments

Comments
 (0)