danielhenrymantilla / rust-uninit

Read trait fixed to soundly work with uninitalized memory
MIT License
25 stars 2 forks source link

Clarify MSRV #14

Open kupiakos opened 10 months ago

kupiakos commented 10 months ago

What's should the minimum supported Rust version be for the newest code? Is it post-const-generics (1.51)? Is it post-GATs (1.65)? Is it as low as it can possibly be made and gating anything else behind feature gates?

This is entirely up to us. I lean towards 1.51.

kupiakos commented 10 months ago

For reference, cargo msrv can find the MSRV of whatever code we have.

kupiakos commented 10 months ago

@danielhenrymantilla what do you think about "the MSRV with default features can be bumped in a minor version, but will never be for a compiler younger than a year"?

kupiakos commented 9 months ago

The MSRV became 1.56 when I switched to edition = "2021". For now, I'll leave it there and document it as such, though it would be good to have an explicit policy.

danielhenrymantilla commented 9 months ago

I like that last suggestion; in fact I do have that in other more recent crates of mine, lemme find the gist I wrote about it.

FWIW, given the incoming revamp of the crate requiring a major bump, we could directly start off 1.65, since I suspect we could come up with usages of GAT APIs.