Cargo Features
[dependencies]
rodio = { version = "0.20.1", default-features = false, features = ["tracing", "experimental", "flac", "vorbis", "wav", "mp3", "minimp3", "noise", "wasm-bindgen", "cpal-shared-stdcxx", "symphonia-aac", "symphonia-all", "symphonia-flac", "symphonia-isomp4", "symphonia-mp3", "symphonia-vorbis", "symphonia-wav", "symphonia-alac", "symphonia-aiff", "crossbeam-channel"] }
- default = flac, mp3, vorbis, wav
-
These default features are set whenever
rodio
is added without
somewhere in the dependency tree.default-features = false - tracing
-
Enables tracing
- experimental
-
Enables atomic_float
Affects
agc::AutomaticGainControl
… - flac default = claxon
- vorbis default = lewton
- wav default = hound
- mp3 default = symphonia-mp3
- minimp3
-
Enables minimp3_fixed
- noise = rand
- wasm-bindgen
-
Enables wasm-bindgen of cpal
-
Enables oboe-shared-stdcxx of cpal
cpal:
Only available on Android. See README for what it does.
- symphonia-aac symphonia-all?
-
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?
- symphonia-isomp4 symphonia-all?
- symphonia-mp3 mp3 symphonia-all?
- symphonia-vorbis symphonia-all?
- symphonia-wav symphonia-all?
- symphonia-alac
- symphonia-aiff
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.
- claxon flac
- hound wav
- lewton vorbis
- symphonia symphonia-aac? symphonia-aiff? symphonia-alac? symphonia-flac? symphonia-isomp4? symphonia-mp3? symphonia-vorbis? symphonia-wav?
-
Affects
decoder::symphonia
… - crossbeam-channel implicit feature
-
Enables crossbeam-channel
crossbeam-channel:
Multi-producer multi-consumer channels for message passing
- rand noise?