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: MSRV 1.70 #162

Closed
wants to merge 1 commit into from
Closed

chore: MSRV 1.70 #162

wants to merge 1 commit into from

Conversation

fundon
Copy link

@fundon fundon commented Oct 5, 2024

crate version MSRV
bindgen v0.70 v1.70.0
image v0.24 v1.67.1
chrono v0.4 v1.61.0

@ajrcarey
Copy link
Owner

ajrcarey commented Oct 5, 2024

Why?

@fundon
Copy link
Author

fundon commented Oct 5, 2024

The bindgen minimum supported Rust version is 1.70.0.

https://github.com/rust-lang/rust-bindgen?tab=readme-ov-file#msrv

@ajrcarey
Copy link
Owner

ajrcarey commented Oct 5, 2024

Thank you for taking the time over this, but I need to understand the rationale better before I approve.

  • bindgen is not a runtime dependency of this crate. It is only used at build-time, and then only if the "bindgen" crate feature is specifically selected, which is not the default.
  • bindgen is locked at 0.69.4 for this crate due to WASM builds fail on bindings generated by bindgen 0.70.0 or later #156
  • cargo msrv shows that the MSRV for this crate with the image feature disabled is already 1.60.0
  • The README for this crate establishes a MSRV of 1.60.0

So with all that in mind, please walk me through the rationale for bumping the MSRV to 1.70.0. What would be the benefit?

@fundon fundon closed this Oct 6, 2024
@fundon fundon deleted the msrv-1.70 branch October 6, 2024 13:02
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