Open notgull opened 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.
See https://github.com/rust-windowing/winit/issues/1075 for previous discussion on that.
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 tosoftbuffer
, but cannot be used yet because we don't have the required Rust version.try
block, but as a closure that is immediately called. Example. It would be nice to replace those cases with a simpletry
block.Box
to wrapSurfaceDispatch
in order to keep the type size predictable. However, for low memory systems we could use theallocator_api
feature to provide a custom allocator to reduce allocations.Feel free to add more that I've missed.