Pin dependencies to maintain Rust 1.85.0 MSRV #8675
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Pin several transitive dependencies to versions compatible with Rust 1.85.0 MSRV, preventing automatic upgrades that would require newer Rust versions.
Pinned dependencies
aws-configto1.5.4(prevents upgrade to 1.8+ which requires AWS SDK packages needing Rust 1.88)aws-sdk-ssoto1.54.0(MSRV 1.81.0)aws-sdk-ssooidcto1.55.0(MSRV 1.81.0)aws-sdk-ststo1.55.0(MSRV 1.81.0)hometo0.5.9(MSRV 1.70.0)async-graphql/async-graphql-axumto7.0.10in fuzz subgraph (avoids 1.86.0 requirement from 7.0.15+)async-graphql-derive,async-graphql-parser,async-graphql-valueto7.0.10(transitive deps must match to avoid macro incompatibilities)apollo-smithto0.15.0(0.15.2+ uses unstable featureunsigned_is_multiple_ofrequiring Rust 1.87+)Additional changes
as_slice()calls on GenericArray (deprecated in generic-array 0.14.x)hex::encode(digest.finalize())where possible&d[..]for other casesTrade-offs
These pins will secure the default experience of using this as a library, but may just delay future upgrades, including a full MSRV upgrade. The AWS SDK versions are several releases behind latest (1.54-1.55 vs 1.92+), though they still provide comfortable headroom above our MSRV (requiring only 1.81).
We can selectively bump to mid-range versions (e.g.,
aws-sdk-sso1.74.0) to narrow the gap while staying under any future MSRV increases, pending verification of functional compatibility.