rust-windowing / softbuffer

Easily write an image to a window
Apache License 2.0
333 stars 47 forks source link

Tracking issue for potentially useful features in future Rust versions #114

Open notgull opened 1 year ago

notgull commented 1 year ago

As of the time of writing, the MSRV for softbuffer is 1.64.0. As far as I can tell there is no MSRV policy, but the informal rule seems to be that the limit is Rust versions released up to seven months ago. This issue keeps track of features that may be useful to softbuffer, but cannot be used yet because we don't have the required Rust version.

Feel free to add more that I've missed.

ids1024 commented 1 year ago

As of the time of writing, the MSRV for softbuffer is 1.64.0. As far as I can tell there is no MSRV policy, but the informal rule seems to be that the limit is Rust versions released up to seven months ago.

The current requirement is based on what raw-window-handle requires, and matches what winit targets. I think it generally makes sense for softbuffer to not have a higher Rust MSRV than winit, anyway.

(Is there any particular MSRV policy for winit/glutin/raw-window-handle either? If any of these projects had an MSRV policy, it would make sense for them to be in sync.)

But it's good to track Rust features like this anyway.

madsmtm commented 1 year ago

See https://github.com/rust-windowing/winit/issues/1075 for previous discussion on that.