Skip to content

Commit f2a4a62

Browse files
committed
Exclude aws-sdk-sts from Cargo.toml, add it manually during MSRV check
1 parent 6890532 commit f2a4a62

File tree

3 files changed

+11
-12
lines changed

3 files changed

+11
-12
lines changed

.evergreen/compile-only.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ source ./.evergreen/env.sh
99
if [ "$RUST_VERSION" != "" ]; then
1010
rustup toolchain install $RUST_VERSION
1111
TOOLCHAIN="+${RUST_VERSION}"
12+
13+
# The MSRV resolver does not properly select an MSRV-compliant version
14+
# for this transient dependency.
15+
16+
1217
CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS=fallback cargo +nightly -Zmsrv-policy generate-lockfile
1318
fi
1419

Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ dns-resolver = ["dep:hickory-resolver", "dep:hickory-proto"]
4141
cert-key-password = ["dep:pem", "dep:pkcs8"]
4242

4343
# Enable support for MONGODB-AWS authentication.
44-
aws-auth = ["dep:reqwest", "aws-credential-types", "aws-types", "aws-config"]
44+
aws-auth = ["dep:reqwest", "aws-config", "aws-types", "aws-credential-types"]
4545

4646
# Enable support for on-demand Azure KMS credentials.
4747
azure-kms = ["dep:reqwest"]
@@ -122,24 +122,19 @@ zstd = { version = "0.11.2", optional = true }
122122
macro_magic = "0.5.1"
123123
rustversion = "1.0.20"
124124

125-
[dependencies.aws-credential-types]
126-
version = "1.2.4"
125+
[dependencies.aws-config]
126+
version = "1"
127127
optional = true
128128
default-features = false
129+
features = ["default-https-client", "rt-tokio"]
129130

130131
[dependencies.aws-types]
131132
version = "1.3.7"
132133
optional = true
133134
default-features = false
134135

135-
[dependencies.aws-config]
136-
version = "1"
137-
optional = true
138-
default-features = false
139-
features = ["default-https-client", "rt-tokio"]
140-
141-
[dependencies.aws-sdk-sts]
142-
version = "=1.73"
136+
[dependencies.aws-credential-types]
137+
version = "1.2.4"
143138
optional = true
144139
default-features = false
145140

0 commit comments

Comments
 (0)