You've already forked platform-info
mirror of
https://github.com/uutils/platform-info.git
synced 2026-06-10 15:48:45 -07:00
Make dependencies platform specific
This commit is contained in:
committed by
Sylvestre Ledru
parent
7820fb6855
commit
0aa8a249cf
+3
-1
@@ -15,6 +15,8 @@ license = "MIT"
|
||||
[badges]
|
||||
appveyor = { repository = "uutils/platform-info" }
|
||||
|
||||
[dependencies]
|
||||
[target.'cfg(not(target_os = "windows"))'.dependencies]
|
||||
libc = "0.2"
|
||||
|
||||
[target.'cfg(target_os = "windows")'.dependencies]
|
||||
winapi = { version = "0.3", features = ["libloaderapi", "processthreadsapi", "sysinfoapi", "winbase", "winver"] }
|
||||
|
||||
Reference in New Issue
Block a user