diff --git a/Cargo.toml b/Cargo.toml index aad57acf..1f7a465c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -38,12 +38,12 @@ glutin_core_foundation = "0" [target.i686-pc-windows-gnu.dependencies] winapi = "0.1" -gdi32-sys = "*" -user32-sys = "*" -kernel32-sys = "*" +gdi32-sys = "0.1" +user32-sys = "0.1" +kernel32-sys = "0.1" [target.x86_64-pc-windows-gnu.dependencies] winapi = "0.1" -gdi32-sys = "*" -user32-sys = "*" -kernel32-sys = "*" +gdi32-sys = "0.1" +user32-sys = "0.1" +kernel32-sys = "0.1" diff --git a/src/lib.rs b/src/lib.rs index aba67525..bffdda3e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -34,9 +34,9 @@ extern crate winapi; #[cfg(target_os = "windows")] extern crate kernel32; #[cfg(target_os = "windows")] -extern crate gdi32_sys as gdi32; +extern crate gdi32; #[cfg(target_os = "windows")] -extern crate user32_sys as user32; +extern crate user32; #[cfg(target_os = "macos")] #[macro_use] extern crate objc;