Cargo Features
[dependencies]
kira = { version = "0.11.0", default-features = false, features = ["mp3", "ogg", "flac", "wav", "assert_no_alloc", "serde", "cpal"] }
- default = cpal, flac, mp3, ogg, wav
-
These default features are set whenever
kirais added withoutsomewhere in the dependency tree.default-features = false - mp3 default = symphonia
- ogg default = symphonia
- flac default = symphonia
- wav default = symphonia
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 wasm32 not wasm32 default
-
Enables cpal ^0.16.0
Affects
backend::cpal,backend::DefaultBackend…