Cargo Features

[dependencies]
kira = { version = "0.8.7", 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 kira is added without default-features = false somewhere in the dependency tree.

mp3 default = symphonia

Enables mp3 of symphonia

ogg default = symphonia

Enables ogg and vorbis of symphonia

flac default = symphonia

Enables flac of symphonia

wav default = symphonia

Enables pcm and wav of symphonia

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

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

Affects backend::cpal, backend::DefaultBackend