parasyte / pixels

A tiny hardware-accelerated pixel frame buffer. 🦀
https://docs.rs/pixels
MIT License
1.82k stars 123 forks source link

update wgpu to 0.17 #378

Closed barzamin closed 1 year ago

barzamin commented 1 year ago

the required changes are trivial. wgpu::util::initialize_adapter_from_env's signature changed; the backend_bits parameter was removed. allowed backends are now fully constrained by the instance's enabled set (see the changelog).

parasyte commented 1 year ago

The new version of egui is requiring Rust 1.70. We can increment the MSRV for this. The last time this happened was in #320.

It's a bit challenging because the MSRV in the policy will need to be 1.70, but the crate itself can technically be on an older version (perhaps remaining on 1.64?) so that it can be used with older compilers when egui is not used.

barzamin commented 1 year ago

I can bump MSRV.md and the CI config if you want, unless you'd prefer to touch the policy stuff yourself (I think the PR is editable by maintainers).

parasyte commented 1 year ago

You are welcome to give it a shot if you'd like to see this land sooner than I could get around to it! I have some free time on Sunday which might be the soonest I could manage.