Skip to content

RUST-2173 Check in Cargo.lock file #1371

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 4 commits into from
May 8, 2025
Merged
Show file tree
Hide file tree
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
13 changes: 0 additions & 13 deletions .evergreen/MSRV-Cargo.toml.diff

This file was deleted.

4 changes: 2 additions & 2 deletions .evergreen/compile-only.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ set -o xtrace

source ./.evergreen/env.sh

# Install the MSRV and pin dependencies who have bumped their MSRVs to > ours in recent releases.
# Install the MSRV and generate a new lockfile with MSRV-compatible dependencies.
if [ "$RUST_VERSION" != "" ]; then
rustup toolchain install $RUST_VERSION
TOOLCHAIN="+${RUST_VERSION}"
patch Cargo.toml .evergreen/MSRV-Cargo.toml.diff
CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS=fallback cargo +nightly -Zmsrv-policy generate-lockfile
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fi

# Test with default features.
Expand Down
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*~
/target/
**/*.rs.bk
Cargo.lock
.idea
*.iml
.vscode
Expand All @@ -14,4 +13,4 @@ Cargo.lock
.rustup
mongocryptd.pid
semgrep/
sarif.json
sarif.json
Loading