Cargo Features

[dependencies]
kira = { version = "0.9.5", 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 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

android_shared_stdcxx

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