From 5169f53304af038fc7cf448a696353f2e8ed180d Mon Sep 17 00:00:00 2001 From: Hatchling Date: Tue, 1 Oct 2019 14:46:02 +0900 Subject: [PATCH] Added winapi feature "winbase" in windows dependencies When using cpal as dependency in other project, it was found that cpal won't build due to unresolved import of winapi::um::winbase. Added the feature at line 24 in Cargo.toml. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index d83e3e7..31ef031 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ hound = "3.4" ringbuf = "0.1.6" [target.'cfg(target_os = "windows")'.dependencies] -winapi = { version = "0.3", features = ["audiosessiontypes", "audioclient", "coml2api", "combaseapi", "debug", "devpkey", "handleapi", "ksmedia", "mmdeviceapi", "objbase", "std", "synchapi", "winuser"] } +winapi = { version = "0.3", features = ["audiosessiontypes", "audioclient", "coml2api", "combaseapi", "debug", "devpkey", "handleapi", "ksmedia", "mmdeviceapi", "objbase", "std", "synchapi", "winbase", "winuser"] } asio-sys = { version = "0.1", path = "asio-sys", optional = true } [target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd"))'.dependencies]