docs.rs failed to build sdl2_image-0.0.33
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
sdl2_image-0.25.0
Rust-SDL2_image
Rust bindings for SDL2_image
Overview
Rust-SDL2_image is a library for talking to the new SDL2_image library from Rust.
Rust-SDL2_image uses the MIT license.
Requirements
- Rust-SDL2
- SDL_image 2.0 development libraries
- Rust master -- usage of Nightly is recommended
Installation
If you're using Cargo to manage your project, enter the following into your Cargo.toml file:
[]
= "0.0.33"
Or, to reference this repository directly:
[]
= "https://github.com/xsleonard/rust-sdl2_image"
Otherwise, clone this repo and run:
If you're not using Cargo, you can compile manually:
# OR if you are using the mac framework version
Demo
You'll find included with the library a simple demo that loads and displays a given image :
| )
Or:
| )