Skip to content
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

chore: Relax MSRV #983

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

chore: Relax MSRV #983

wants to merge 2 commits into from

Conversation

tottoto
Copy link
Contributor

@tottoto tottoto commented Feb 17, 2024

Relaxes MSRV which are bumped in #982. As the use of prost-build can be separated to the different build process, it is too strict to set the same MSRV of prost-build to the other crates for users. cargo-hack's --rust-version option can be used to perform checking different MSRVs on the project crates.

Copy link
Collaborator

@caspermeijn caspermeijn left a comment

Choose a reason for hiding this comment

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

I prefer to keep the whole repo at the same MSRV. With the removal of which in #962 the MSRV of the published crates can be lowered to rust 1.65. Would that be enough for your use case?

I suggest to only do a CI build with stable toolchain (so remove the 1.70 toolchain) and to add your proposed MSRV check.

.github/workflows/ci.yml Show resolved Hide resolved
@tottoto
Copy link
Contributor Author

tottoto commented Feb 29, 2024

Since checking MSRV for different crates can be performed easily as this pull request describes, and the crates except for prost-build only depend on very few crates, which have high stability, the value imposing unnecessarily restrictions seems small.

@tottoto tottoto force-pushed the relax-msrv branch 2 times, most recently from 8a78c81 to 7e4f10b Compare February 29, 2024 13:43
Copy link
Collaborator

@caspermeijn caspermeijn left a comment

Choose a reason for hiding this comment

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

I stick to my position. I want to keep the whole repo at the same MSRV. I believe the MSRV of the crates can be lowered to rust 1.65.

@caspermeijn
Copy link
Collaborator

I opened a new PR with only the CI improvement: #1057

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.

None yet

2 participants