Cargo Features
CPAL has no features set by default.
[dependencies]
cpal = { version = "0.15.3", features = ["asio", "oboe-shared-stdcxx", "jack", "wasm-bindgen"] }
- asio = asio-sys, num-traits
-
Only available on Windows. See README for setup instructions.
-
Only available on Android. See README for what it does.
Enables shared-stdcxx of oboe
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- jack linux dragonfly freebsd netbsd implicit feature
-
Enables jack ^0.11
jack:
Real time audio and midi with JACK
- wasm-bindgen wasm32 unknown emscripten implicit feature
-
Enables wasm-bindgen
wasm-bindgen:
Easy support for interacting between JS and Rust
- asio-sys win asio?
- num-traits win asio?