From d482d646a0172b8f5d1d7d6b82bd7a0181ce9a0c Mon Sep 17 00:00:00 2001 From: mitchmindtree Date: Sat, 3 Feb 2018 14:14:15 +1100 Subject: [PATCH] Link only to necessary coreaudio frameworks --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index ea797ef..f22be39 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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]