niklasf / rust-chessground

An experimental chessboard widget for Relm/GTK
https://docs.rs/chessground
GNU General Public License v3.0
65 stars 7 forks source link

Update GTK and Relm dependencies #6

Closed thomas-daniels closed 2 years ago

thomas-daniels commented 2 years ago

The examples could not be run anymore, so I upgraded gtk to 0.14 (0.15 wasn't possible for the svg library. While I was at it, I also wanted to try upgrading shakmaty, but due to https://github.com/niklasf/shakmaty/commit/51ebc41c6aed8c5c2458c38e0f323cc091af8794 it lead to a lot of errors and I don't know which your preferred way of resolving that is (converting ranks/files to i32 or so and then to f64, or adding the conversions back to shakmaty, or something else I'm not thinking of)

niklasf commented 2 years ago

Oh, cool, thanks! Going via integers, possibly adding some utility functions to this crate seems best.