Remove "os" feature; use target-specific dependencies instead.

This commit is contained in:
whitequark 2016-07-16 01:19:45 +00:00 committed by edef
parent 0d7b3d7091
commit 989b1d439c
1 changed files with 7 additions and 13 deletions

View File

@ -3,27 +3,21 @@ authors = ["edef <edef@edef.eu>"]
name = "fringe" name = "fringe"
version = "0.0.1" version = "0.0.1"
[dependencies.kernel32-sys] [target.'cfg(unix)'.dependencies]
optional = true libc = "0.1.6"
version = "0.2.2"
[dependencies.libc] [target.'cfg(windows)'.dependencies]
optional = true kernel32-sys = "0.2.2"
version = "0.1.6" winapi = "0.2.6"
[dependencies.valgrind] [dependencies.valgrind]
git = "https://github.com/edef1c/libvalgrind"
optional = true optional = true
git = "https://github.com/edef1c/libvalgrind"
rev = "9ef793e9549aabfd2d969615180b69d29ce28d88" rev = "9ef793e9549aabfd2d969615180b69d29ce28d88"
[dependencies.void] [dependencies.void]
default-features = false default-features = false
version = "1" version = "1"
[dependencies.winapi]
optional = true
version = "0.2.6"
[features] [features]
default = ["os", "valgrind"] default = ["valgrind"]
os = ["libc", "kernel32-sys", "winapi"]