Thanks to visit codestin.com
Credit goes to lib.rs

Cargo Features

CPAL has no features set by default.

[dependencies]
cpal = { version = "0.16.0", features = ["asio", "oboe-shared-stdcxx", "audio_thread_priority", "jack", "wasm-bindgen"] }
asio = asio-sys, num-traits

Only available on Windows. See README for setup instructions.

oboe-shared-stdcxx

Deprecated, the oboe backend has been removed

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.

audio_thread_priority win linux dragonfly freebsd netbsd implicit feature

Enables audio_thread_priority ^0.33.0

audio_thread_priority:

Bump a thread to real-time priority, for audio work, on Linux, Android, Windows and macOS

jack linux dragonfly freebsd netbsd implicit feature

Enables jack

jack:

Real time audio and midi with JACK

wasm-bindgen emscripten wasm32 unknown implicit feature

Enables wasm-bindgen

wasm-bindgen:

Easy support for interacting between JS and Rust

asio-sys win asio?
num-traits win asio?