Open drasch opened 8 years ago
That version was unpublished as the result of some discussion in an sdl2_image issue. Check the version list here and pick a version that isn't yanked. Then change your sdl2 dependency to the same version to ensure that they're compatible.
It would be nice to have the tutorials updated accordingly, as for Rust beginners it's not necessarily trivial to find the proper version. The tutorials currently use sdl2 0.13.0, for which there is no corresponding sdl2_image. The first version with the synchronized versionning scheme is 0.16.0, for which sdl2 has API changes that require changes made in the tutorials (e.g. in sdl2::rect::Rect::new which no longer returns Result).
I started a WIP port to sdl2 0.24.0 + corresponding libraries in #34. Feedback welcome.
I'm getting this error trying to install the 1.0.0 version of sdl2_image you've referenced.