Skip to content

Commit

Permalink
Updated dependencies
Browse files Browse the repository at this point in the history
- Bumped to 0.10.0
- Removed `allow(raw_pointer_derive)`, see discussion
rust-lang/rust#14615
  • Loading branch information
bvssvni committed Dec 1, 2015
1 parent a899cb7 commit 2bdf128
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "sdl2_mixer"
description = "SDL2_mixer bindings for Rust"
repository = "https://github.com/andelf/rust-sdl2_mixer"
version = "0.9.0"
version = "0.10.0"
license = "MIT"
authors = ["ShuYu Wang <[email protected]>"]
keywords = ["SDL", "windowing", "graphics", "music", "sound"]
Expand All @@ -13,7 +13,7 @@ path = "src/sdl2_mixer/lib.rs"

[dependencies]
bitflags = "0.3.2"
sdl2 = "0.11"
sdl2 = "0.12"
sdl2-sys = "0.7"
libc = "0.2"

Expand Down
4 changes: 2 additions & 2 deletions src/sdl2_mixer/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ pub fn get_chunk_decoder(index: isize) -> String {
}

/// The internal format for an audio chunk.
#[derive(PartialEq)] #[allow(raw_pointer_derive)]
#[derive(PartialEq)]
pub struct Chunk {
pub raw: *const ffi::Mix_Chunk,
pub owned: bool
Expand Down Expand Up @@ -606,7 +606,7 @@ extern "C" fn c_music_finished_hook() {
}

/// This is an opaque data type used for Music data.
#[derive(PartialEq)] #[allow(raw_pointer_derive)]
#[derive(PartialEq)]
pub struct Music {
pub raw: *const ffi::Mix_Music,
pub owned: bool,
Expand Down

0 comments on commit 2bdf128

Please sign in to comment.