antoyo / relm

Idiomatic, GTK+-based, GUI library, inspired by Elm, written in Rust
MIT License
2.43k stars 78 forks source link

Bump gtk to 0.16 #300

Closed pentamassiv closed 1 year ago

pentamassiv commented 1 year ago

Thank you for writing relm. A new version of gtk and their related crates was released. This PR allows using it. The minimal Rust version is now 1.63.0 (due to gio). There are two caveats though, but they only apply to some of the examples:

I also updated a few other dependencies in the examples so they should all be up-to-date now :)

BTW, the code could use a cargo fmt. I would have done it, but it would probably be easier for you to run it so you don't need to review the changes.

antoyo commented 1 year ago

BTW, the code could use a cargo fmt. I would have done it, but it would probably be easier for you to run it so you don't need to review the changes.

I don't like the formatting of cargo fmt, so could you please revert the formatting changes? If that would help, you could add a rustfmt config file that prevents doing any formatting.

pentamassiv commented 1 year ago

I reverted the formatting changes and added a rustfmt.toml file so others don't try to auto-format the code. The PR is ready for your review :)