docs.rs failed to build sdl2_mixer-0.11.0
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_mixer-0.25.0
Rust-SDL2_mixer
Rust bindings for SDL2_mixer.
Overview
Rust-SDL2_mixer is a library for talking to the new SDL2_mixer library from Rust.
Rust-SDL2_mixer uses the MIT licence.
Requirements
- Rust-SDL2
- SDL2_mixer development libraries
- Rust master or nightly
OSX
brew install sdl2_mixer
Installation
Place the following into your project's Cargo.toml file:
[]
= "1.0.0"
Or, to depend on the newest rust-sdl2_mixer, reference the repository:
[]
= "https://github.com/andelf/rust-sdl2_mixer"
You can also just clone and build the library yourself:
# TODO: OR if you are using the mac framework version
If you're not using Cargo, you can compile the library manually:
Demo
A simple demo that plays out a portion of a given music file is included:
|||)