Skip to content

Commit 01876d0

Browse files
authored
minor: update README examples to import 1.0.0 version of driver (#201)
1 parent 9a2a113 commit 01876d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ This repository contains the officially supported MongoDB Rust driver, a client
3535
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`.
3636
```toml
3737
[dependencies]
38-
mongodb = "0.11.0"
38+
mongodb = "1.0.0"
3939
```
4040

4141
#### Configuring the async runtime
@@ -44,7 +44,7 @@ The driver supports both of the most popular async runtime crates, namely [`toki
4444
For example, to instruct the driver to work with [`async-std`](https://crates.io/crates/async-std), add the following to your `Cargo.toml`:
4545
```toml
4646
[dependencies.mongodb]
47-
version = "0.11.0"
47+
version = "1.0.0"
4848
default-features = false
4949
features = ["async-std-runtime"]
5050
```
@@ -53,7 +53,7 @@ features = ["async-std-runtime"]
5353
The driver also provides a blocking sync API. To enable this, add the `"sync"` feature to your `Cargo.toml`:
5454
```toml
5555
[dependencies.mongodb]
56-
version = "0.11.0"
56+
version = "1.0.0"
5757
default-features = false
5858
features = ["sync"]
5959
```

0 commit comments

Comments
 (0)