Skip to content

Refresh Cargo.lock within a declared 1.85 MSRV - #14

Merged
francescobianco merged 1 commit into
openapi:mainfrom
LucaCappelletti94:ci/lockfile-msrv
Nov 16, 2026
Merged

francescobianco merged 1 commit into
openapi:mainfrom
LucaCappelletti94:ci/lockfile-msrv

Conversation

@LucaCappelletti94

Copy link
Copy Markdown
Contributor

The committed Cargo.lock no longer builds on current nightly, and cargo audit flags 10 vulnerabilities in it.

This PR:

  • moves the crate to edition 2024 with rust-version = "1.85"
  • refreshes the lockfile
  • The Cargo.lock line in .gitignore goes, since the file is tracked (and should be)

The examples relied on an older reqwest enabling tokio's multi-thread runtime, so tokio is now a dev-dependency with rt-multi-thread.

This PR is the first of a series aimed at strengthening the CI / testing of this crate before any additional feature may be proposed.

@francescobianco francescobianco left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Approved, thank you! See my comment below for the merge order.

@francescobianco
francescobianco merged commit 209576e into openapi:main Nov 16, 2026
@francescobianco

Copy link
Copy Markdown
Member

@LucaCappelletti94 merged, thank you! 🙏 A lockfile that builds again, the 10 cargo audit findings gone, edition 2024 with a declared 1.85 MSRV, and tokio's multi-thread runtime moved to where the examples actually need it. Exactly the solid ground this crate needed before anything else. Great start to the series!

@francescobianco

Copy link
Copy Markdown
Member

One more thing: you'd be very welcome in the official Openapi® contributors registry → https://github.com/openapi/contributors. Fork it, add your row (template in the README) with openapi/openapi-rust-sdk as your main project, and open a PR. If you like, add the badge to your profile README too:

[![Openapi® Contributor](https://img.shields.io/badge/Openapi%C2%AE-Contributor-753f8b)](https://github.com/openapi/contributors)

Thank you! 🚀

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.

2 participants