Skip to content

chore: add msrv in Cargo manifests #987

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

jlizen
Copy link

@jlizen jlizen commented May 6, 2025

📬 Issue #, if available:

Relates to #986 but does not close it

✍️ Description of changes:

Adding the Cargo.toml declaration of our MSRV. Currently it is stated in our README that we support 1.81.0 or later, but not somewhere programmatically accessible. Ref: https://github.com/awslabs/aws-lambda-rust-runtime/blob/main/README.md#supported-rust-versions-msrv

Adding the rust-version field to all our crate manifests. This is nice for error messages, MSRV-aware crates resolution, etc. Ref: https://doc.rust-lang.org/cargo/reference/rust-version.html

🔏 By submitting this pull request

  • I confirm that I've ran cargo +nightly fmt.
  • I confirm that I've ran cargo clippy --fix.
  • I confirm that I've made a best effort attempt to update all relevant documentation.
  • I confirm that my contribution is made under the terms of the Apache 2.0 license.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant