Skip to content
Permalink
Browse files

make the dependencies platform specific

  • Loading branch information...
oconnor663 committed Aug 30, 2019
1 parent d942f1a commit 5929637f5cf1bebc5d608b4d98fd5c8a10626712
Showing with 3 additions and 1 deletion.
  1. +3 −1 Cargo.toml
@@ -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.
You can’t perform that action at this time.