Fix warnings and reduce scope of libc (#166)

This commit is contained in:
tomaka 2017-10-19 12:44:14 +02:00 • committed by GitHub
parent 6ae01f437c
commit c28407b26d
6 changed files with 2 additions and 12 deletions

View file

@ -9,7 +9,6 @@ license = "Apache-2.0"
keywords = ["audio", "sound"]
[dependencies]
libc = "0.2"
lazy_static = "0.2"
[target.'cfg(target_os = "windows")'.dependencies]
@ -19,6 +18,7 @@ kernel32-sys = "0.2"
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd"))'.dependencies]
alsa-sys = { version = "0.1", path = "alsa-sys" }
libc = "0.2"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
coreaudio-rs = "0.7.0"