Skip to content

Commit ea23d33

Browse files
committed
Fix up Cargo.toml, remove unnecessary user32-sys dependency
1 parent b0f8d2e commit ea23d33

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Cargo.toml

+2-3
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,5 @@ uuid = {version = "0.3", features = ["v4"]}
2121
crossbeam = "0.2"
2222

2323
[target.'cfg(target_os = "windows")'.dependencies]
24-
winapi = "*"
25-
user32-sys = "*"
26-
kernel32-sys = "*"
24+
winapi = "0.2"
25+
kernel32-sys = "0.2"

src/lib.rs

-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ extern crate uuid;
2525
extern crate winapi;
2626
#[cfg(all(not(feature = "force-inprocess"), target_os = "windows"))]
2727
extern crate kernel32;
28-
#[cfg(all(not(feature = "force-inprocess"), target_os = "windows"))]
29-
extern crate user32;
3028

3129
pub mod ipc;
3230
pub mod platform;

0 commit comments

Comments
 (0)