diff --git a/Cargo.toml b/Cargo.toml index 80398929..fe0aafee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "sdl2" description = "SDL2 bindings for Rust" repository = "https://github.com/AngryLawyer/rust-sdl2" -version = "0.0.33" +version = "0.0.32" license = "MIT" authors = [ "Tony Aldridge " ] keywords = ["SDL", "windowing", "graphics"] @@ -18,12 +18,12 @@ bitflags = "0.1" libc = "*" rand = "*" -[dependencies.sdl2_sys] +[dependencies.sdl2-sys] path = "sdl2-sys" -version = "0.0.33" +version = "0.0.32" [features] default = [] -use-pkgconfig = [ "sdl2_sys/use-pkgconfig" ] +use-pkgconfig = [ "sdl2-sys/use-pkgconfig" ] diff --git a/sdl2-sys/Cargo.toml b/sdl2-sys/Cargo.toml index 6c433507..e9883f0e 100644 --- a/sdl2-sys/Cargo.toml +++ b/sdl2-sys/Cargo.toml @@ -1,16 +1,16 @@ [package] -name = "sdl2_sys" +name = "sdl2-sys" description = "Raw SDL2 bindings for Rust, used internally rust-sdl2" repository = "https://github.com/AngryLawyer/rust-sdl2" -version = "0.0.33" +version = "0.0.32" authors = ["Tony Aldridge "] license = "MIT" links = "SDL2" build = "build.rs" [lib] -name = "sdl2_sys" +name = "sdl2-sys" path = "src/lib.rs" [dependencies] diff --git a/sdl2-sys/build.rs b/sdl2-sys/build.rs index 85faad44..6361f66c 100644 --- a/sdl2-sys/build.rs +++ b/sdl2-sys/build.rs @@ -1,5 +1,5 @@ #[cfg(feature="pkg-config")] -extern crate pkg_config; +extern crate "pkg-config" as pkg_config; fn main() { if !build_pkgconfig() { diff --git a/src/sdl2/lib.rs b/src/sdl2/lib.rs index caf84c99..74c744ef 100644 --- a/src/sdl2/lib.rs +++ b/src/sdl2/lib.rs @@ -6,7 +6,7 @@ extern crate libc; #[macro_use] extern crate bitflags; -extern crate sdl2_sys as sys; +extern crate "sdl2-sys" as sys; pub use sdl::*;