Skip to content

Commit ecd77ba

Browse files
committed
update msrv et al
1 parent 4358d38 commit ecd77ba

File tree

7 files changed

+38
-17
lines changed

7 files changed

+38
-17
lines changed

.evergreen/aws-lambda-test/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ To deploy the application, you need the folllowing tools:
3333

3434
* SAM CLI - [Install the SAM CLI](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html)
3535
* Docker - [Install Docker community edition](https://hub.docker.com/search/?type=edition&offering=community)
36-
* [Rust](https://www.rust-lang.org/) version 1.74.0 or newer
36+
* [Rust](https://www.rust-lang.org/) version 1.81.0 or newer
3737
* [cargo-lambda](https://github.com/cargo-lambda/cargo-lambda) for cross-compilation
3838

3939
To build and deploy your application for the first time, run the following in your shell:

.evergreen/compile-only.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ source ./.evergreen/env.sh
99
if [ "$RUST_VERSION" != "" ]; then
1010
rustup toolchain install $RUST_VERSION
1111
TOOLCHAIN="+${RUST_VERSION}"
12-
# Remove the local git dependencies for bson and mongocrypt, which don't work properly with the MSRV resolver.
13-
sed -i "s/bson =.*/bson = \"2\"/" Cargo.toml
14-
sed -i "s/mongocrypt =.*/mongocrypt = { version = \"0.2\", optional = true }/" Cargo.toml
1512
CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS=fallback cargo +nightly -Zmsrv-policy generate-lockfile
1613
fi
1714

@@ -22,4 +19,4 @@ cargo $TOOLCHAIN build
2219
cargo $TOOLCHAIN build --all-features
2320

2421
# Test with no default features.
25-
cargo $TOOLCHAIN build --no-default-features --features compat-3-0-0,rustls-tls
22+
cargo $TOOLCHAIN build --no-default-features --features compat-3-3-0,bson-3,rustls-tls

.evergreen/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ tasks:
795795
- func: "compile only"
796796
vars:
797797
# Our minimum supported Rust version. This should be updated whenever the MSRV is bumped.
798-
RUST_VERSION: 1.74.0
798+
RUST_VERSION: 1.81.0
799799

800800
- name: check-cargo-deny
801801
commands:

Cargo.lock

Lines changed: 31 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ license = "Apache-2.0"
1717
readme = "README.md"
1818
name = "mongodb"
1919
version = "3.2.3"
20-
rust-version = "1.74"
20+
rust-version = "1.81"
2121

2222
exclude = [
2323
"etc/**",

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ For more details, including features, runnable examples, troubleshooting resourc
77

88
## Installation
99
### Requirements
10-
- Rust 1.74.0+ (See the [MSRV policy](#minimum-supported-rust-version-msrv-policy) for more information)
10+
- Rust 1.81.0+ (See the [MSRV policy](#minimum-supported-rust-version-msrv-policy) for more information)
1111
- MongoDB 4.0+
1212

1313
#### Supported Platforms
@@ -149,7 +149,7 @@ Commits to main are run automatically on [evergreen](https://evergreen.mongodb.c
149149

150150
## Minimum supported Rust version (MSRV) policy
151151

152-
The MSRV for this crate is currently 1.74.0. Increases to the MSRV will only happen in a minor or major version release, and will be to a Rust version at least six months old.
152+
The MSRV for this crate is currently 1.81.0. Increases to the MSRV will only happen in a minor or major version release, and will be to a Rust version at least six months old.
153153

154154
## License
155155

clippy.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
msrv = "1.74.0"
1+
msrv = "1.81.0"

0 commit comments

Comments
 (0)