Skip to content

minor: suggest workarounds for rustc 1.46+ regression #270

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 20, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ This repository contains the officially supported MongoDB Rust driver, a client
| 0.9.x | 1.39+ |
- MongoDB 3.6+

**Note**: A regression introduced in Rust 1.46 may cause out-of-memory errors when compiling an application that uses
the driver with a framework like actix-web. Rust 1.45 or the latest nightly version can be used to work around this
problem temporarily. For more information or to track progress on a fix, see
https://github.com/rust-lang/rust/issues/75992.

### Importing
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
Expand Down