Skip to content

Commit 1b7945b

Browse files
authored
minor: only include master branch's MSRV in README (#321)
1 parent 7e1d680 commit 1b7945b

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

README.md

+6-14
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,16 +27,7 @@ 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.47+ |
32-
| 2.0.0-alpha | 1.45+ |
33-
| 1.2.x | 1.43+ |
34-
| 1.1.x | 1.43+ |
35-
| 1.0.x | 1.43+ |
36-
| 0.11.x | 1.43+ |
37-
| 0.10.x | 1.43+ |
38-
| 0.9.x | 1.39+ |
30+
- Rust 1.47+
3931
- MongoDB 3.6+
4032

4133
**Note**: A bug affecting Rust 1.46-1.47 may cause out-of-memory errors when compiling an application that uses the 1.1
@@ -46,7 +38,7 @@ issue. For more information, see https://github.com/rust-lang/rust/issues/75992.
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`.
4739
```toml
4840
[dependencies]
49-
mongodb = "1.1.1"
41+
mongodb = "2.0.0-alpha"
5042
```
5143

5244
#### Configuring the async runtime
@@ -55,7 +47,7 @@ The driver supports both of the most popular async runtime crates, namely [`toki
5547
For example, to instruct the driver to work with [`async-std`](https://crates.io/crates/async-std), add the following to your `Cargo.toml`:
5648
```toml
5749
[dependencies.mongodb]
58-
version = "1.1.1"
50+
version = "2.0.0-alpha"
5951
default-features = false
6052
features = ["async-std-runtime"]
6153
```
@@ -64,7 +56,7 @@ features = ["async-std-runtime"]
6456
The driver also provides a blocking sync API. To enable this, add the `"sync"` feature to your `Cargo.toml`:
6557
```toml
6658
[dependencies.mongodb]
67-
version = "1.1.1"
59+
version = "2.0.0-alpha"
6860
default-features = false
6961
features = ["sync"]
7062
```

0 commit comments

Comments
 (0)