You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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`.
46
47
```toml
47
48
[dependencies]
48
-
mongodb = "1.1.1"
49
+
mongodb = "1.2.0"
49
50
```
50
51
51
52
#### Configuring the async runtime
@@ -54,7 +55,7 @@ The driver supports both of the most popular async runtime crates, namely [`toki
54
55
For example, to instruct the driver to work with [`async-std`](https://crates.io/crates/async-std), add the following to your `Cargo.toml`:
55
56
```toml
56
57
[dependencies.mongodb]
57
-
version = "1.1.1"
58
+
version = "1.2.0"
58
59
default-features = false
59
60
features = ["async-std-runtime"]
60
61
```
@@ -63,7 +64,7 @@ features = ["async-std-runtime"]
63
64
The driver also provides a blocking sync API. To enable this, add the `"sync"` feature to your `Cargo.toml`:
64
65
```toml
65
66
[dependencies.mongodb]
66
-
version = "1.1.1"
67
+
version = "1.2.0"
67
68
default-features = false
68
69
features = ["sync"]
69
70
```
@@ -270,9 +271,11 @@ You can use `rustup` to install them both:
270
271
rustup component add clippy --toolchain stable
271
272
rustup component add rustfmt --toolchain nightly
272
273
```
273
-
To run the linter tests, run the `check-clippy.sh` and `check-rustfmt.sh` scripts in the `.evergreen` directory:
274
+
Our linter tests also use `rustdoc` to verify that all necessary documentation is present and properly formatted. `rustdoc` is included in the standard Rust distribution.
275
+
276
+
To run the linter tests, run the `check-clippy.sh`, `check-rustfmt.sh`, and `check-rustdoc.sh` scripts in the `.evergreen` directory:
0 commit comments