From 6a0e54c0e185b85cd2abdf76e2513bb9ae02e4be Mon Sep 17 00:00:00 2001 From: Patrick Freed Date: Fri, 20 Nov 2020 13:22:31 -0500 Subject: [PATCH 1/2] add note to readme --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index d7c247c31..d830f6a18 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,10 @@ 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. As a workaround, Rust 1.45 or nightly can be used instead. 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 From ebd6a98694e90c7f03fb426f59f32527c5471214 Mon Sep 17 00:00:00 2001 From: Patrick Freed Date: Fri, 20 Nov 2020 13:27:00 -0500 Subject: [PATCH 2/2] more specific --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d830f6a18..649760157 100644 --- a/README.md +++ b/README.md @@ -37,8 +37,9 @@ This repository contains the officially supported MongoDB Rust driver, a client - 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. As a workaround, Rust 1.45 or nightly can be used instead. For more information -or to track progress on a fix, see https://github.com/rust-lang/rust/issues/75992. +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`.