Cargo Features

rodio = { version = "0.17.3", default-features = false, features = ["flac", "vorbis", "wav", "mp3", "minimp3", "wasm-bindgen", "symphonia-aac", "symphonia-all", "symphonia-flac", "symphonia-isomp4", "symphonia-mp3", "symphonia-vorbis", "symphonia-wav", "crossbeam-channel"] }
default = flac, mp3, vorbis, wav

These default features are set whenever rodio is added without default-features = false somewhere in the dependency tree.

flac default = claxon
vorbis default = lewton
wav default = hound
mp3 default = symphonia-mp3

Enables minimp3_fixed


Enables wasm-bindgen of cpal

symphonia-aac symphonia-all?

Enables aac of symphonia


Enable specific codecs and formats.
TODO: Use "dep:" after MSRV is raised to >= 1.60.

symphonia-all = symphonia-aac, symphonia-flac, symphonia-isomp4, symphonia-mp3, symphonia-vorbis, symphonia-wav
symphonia-flac symphonia-all?

Enables flac of symphonia

symphonia-isomp4 symphonia-all?

Enables isomp4 of symphonia

symphonia-mp3 mp3 symphonia-all?

Enables mp3 of symphonia

symphonia-vorbis symphonia-all?

Enables vorbis of symphonia

symphonia-wav symphonia-all?

Enables adpcm, pcm and wav of symphonia

Features from optional dependencies

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

claxon flac
hound wav
lewton vorbis
symphonia symphonia-aac? symphonia-flac? symphonia-isomp4? symphonia-mp3? symphonia-vorbis? symphonia-wav?
crossbeam-channel implicit feature

Enables crossbeam-channel


Multi-producer multi-consumer channels for message passing