Cargo Features
[dependencies]
kira = { version = "0.9.6", default-features = false, features = ["mp3", "ogg", "flac", "wav", "android_shared_stdcxx", "assert_no_alloc", "serde"] }
- default = cpal, flac, mp3, ogg, wav
-
These default features are set whenever
kira
is added without
somewhere in the dependency tree.default-features = false - mp3 default = symphonia
- ogg default = symphonia
- flac default = symphonia
- wav default = symphonia
-
Enables oboe-shared-stdcxx of cpal
cpal:
Only available on Android. See README for what it does.
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.
- assert_no_alloc implicit feature
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework
- symphonia flac mp3 ogg wav
- cpal not wasm32 wasm32 default android_shared_stdcxx?
-
Affects
backend::cpal
,backend::DefaultBackend
…