Link only to necessary coreaudio frameworks
This commit is contained in:
parent
3952c44c63
commit
d482d646a0
|
@ -21,7 +21,7 @@ alsa-sys = { version = "0.1", path = "alsa-sys" }
|
||||||
libc = "0.2"
|
libc = "0.2"
|
||||||
|
|
||||||
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
|
[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.
|
core-foundation-sys = "0.5.1" # For linking to CoreFoundation.framework and handling device name `CFString`s.
|
||||||
|
|
||||||
[target.'cfg(target_os = "emscripten")'.dependencies]
|
[target.'cfg(target_os = "emscripten")'.dependencies]
|
||||||
|
|
Loading…
Reference in New Issue