aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Krieger <pierre.krieger1708@gmail.com>2015-03-30 05:58:13 +0200
committerPierre Krieger <pierre.krieger1708@gmail.com>2015-03-30 05:58:13 +0200
commit556e1b4caf946a52aace0ad021e44ac51943ddcd (patch)
tree45fac1013619d9cefa9ef6adaf4664deff2cc805
parent9ce644618b719802cc113713abc63b0f0cba1c6c (diff)
downloadglutin-556e1b4caf946a52aace0ad021e44ac51943ddcd.tar.gz
glutin-556e1b4caf946a52aace0ad021e44ac51943ddcd.zip
Update for winapi
-rw-r--r--Cargo.toml12
-rw-r--r--src/lib.rs4
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;