From 556e1b4caf946a52aace0ad021e44ac51943ddcd Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Mon, 30 Mar 2015 05:58:13 +0200 Subject: Update for winapi --- Cargo.toml | 12 ++++++------ src/lib.rs | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index aad57ac..1f7a465 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 aba6752..bffdda3 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; -- cgit v1.2.3