Skip to content

Commit

Permalink
make the dependencies platform specific
Browse files Browse the repository at this point in the history
  • Loading branch information
oconnor663 committed Aug 30, 2019
1 parent d942f1a commit 5929637
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ description = "a library for using child processes from multiple threads"
keywords = ["command", "process", "child", "subprocess"]
categories = ["os"]

[dependencies]
[target.'cfg(not(windows))'.dependencies]
libc = "0.2.42"

[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.5", features = ["synchapi", "winbase", "winerror", "winnt"] }

0 comments on commit 5929637

Please sign in to comment.