From 815a2f8d57586ee830df63a30ab503d0eb904f63 Mon Sep 17 00:00:00 2001 From: Isabel Atkinson Date: Mon, 9 Jun 2025 10:22:02 -0600 Subject: [PATCH 1/2] don't test bson-3 for MSRV check --- .evergreen/compile-only.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.evergreen/compile-only.sh b/.evergreen/compile-only.sh index beb95f37f..29da6447e 100755 --- a/.evergreen/compile-only.sh +++ b/.evergreen/compile-only.sh @@ -16,7 +16,15 @@ fi cargo $TOOLCHAIN build # Test with all features. -cargo $TOOLCHAIN build --all-features +if [ "$RUST_VERSION" != "" ]; then + cargo $TOOLCHAIN build --features openssl-tls,sync,aws-auth,zlib-compression,zstd-compression,snappy-compression,in-use-encryption,tracing-unstable +else + cargo $TOOLCHAIN build --all-features +fi # Test with no default features. -cargo $TOOLCHAIN build --no-default-features --features compat-3-3-0,bson-3,rustls-tls +if [ "$RUST_VERSION" != "" ]; then + cargo $TOOLCHAIN build --no-default-features --features compat-3-3-0,rustls-tls +else + cargo $TOOLCHAIN build --no-default-features --features compat-3-3-0,bson-3,rustls-tls +fi From 40a4e6ac2e08da7ab653072e6f26f045bfe95e3c Mon Sep 17 00:00:00 2001 From: Isabel Atkinson Date: Mon, 9 Jun 2025 10:29:00 -0600 Subject: [PATCH 2/2] change compat --- .evergreen/compile-only.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.evergreen/compile-only.sh b/.evergreen/compile-only.sh index 29da6447e..b88796837 100755 --- a/.evergreen/compile-only.sh +++ b/.evergreen/compile-only.sh @@ -24,7 +24,7 @@ fi # Test with no default features. if [ "$RUST_VERSION" != "" ]; then - cargo $TOOLCHAIN build --no-default-features --features compat-3-3-0,rustls-tls + cargo $TOOLCHAIN build --no-default-features --features compat-3-0-0,rustls-tls else cargo $TOOLCHAIN build --no-default-features --features compat-3-3-0,bson-3,rustls-tls fi