Link only to necessary coreaudio frameworks

This commit is contained in:
mitchmindtree 2018-02-03 14:14:15 +11:00
parent 3952c44c63
commit d482d646a0
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ alsa-sys = { version = "0.1", path = "alsa-sys" }
libc = "0.2"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
coreaudio-rs = "0.8.0"
coreaudio-rs = { version = "0.8.1", default-features = false, features = ["audio_unit", "core_audio"] }
core-foundation-sys = "0.5.1" # For linking to CoreFoundation.framework and handling device name `CFString`s.
[target.'cfg(target_os = "emscripten")'.dependencies]