emoon / rust_minifb

Cross platfrom window and framebuffer crate for Rust
MIT License
1.04k stars 99 forks source link

Upgrade wayland-client version #318

Open BartMassey opened 1 year ago

BartMassey commented 1 year ago

Minifb 0.24.0 (and current git) uses wayland-client at 0.29.5. Sadly, this produces a "future deprecation warning" because of old wayland-client dependencies.

warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.0.1
note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`

Ideally, minifb would be updated to use wayland-client 0.30.1. I tried to update it myself, but there were too many breaking changes for me to work through it easily. For now, I'll just take the warning, which is against an example anyhow. But it would be great to fix it.

emoon commented 1 year ago

Thanks for the report. There are a number of Wayland related issues that I have flagged as such https://github.com/emoon/rust_minifb/issues?q=is%3Aissue+is%3Aopen+label%3Awayland

I have now switched my Linux desktop over to Wayland so I will try to tackle a number of these issues soon now when I can do some testing myself. I didn't implement the original Wayland support, but I will have to fix up all of the issues now and at the same time I will upgrade the crates to the supported version(s)

BartMassey commented 1 year ago

Thank you much for a great package and for looking at this.