Cargo Features
[dependencies]
awedio = { version = "0.4.1", default-features = false, features = ["async", "cpal", "rmp3-mp3", "qoa", "hound-wav", "symphonia-all", "symphonia-isomp4", "symphonia-mkv", "symphonia-ogg", "symphonia-wav", "symphonia-aac", "symphonia-adpcm", "symphonia-alac", "symphonia-flac", "symphonia-mpa", "symphonia-mp1", "symphonia-mp2", "symphonia-mp3", "symphonia-pcm", "symphonia-vorbis"] }
- default = async, cpal, qoa, symphonia-all
-
These default features are set whenever
awedio
is added without
somewhere in the dependency tree.default-features = false - async default
-
Enables tokio
Affects
sound::Sound.with_async_completion_notifier
,wrappers::async_completion_notifier
… - cpal default
-
Enables cpal
Affects
awedio::start
… - rmp3-mp3
-
Enables rmp3
- qoa default
-
Enables qoaudio
- hound-wav
-
Enables hound
- symphonia-all default = symphonia
-
symphonia:
Enable all supported codecs and formats.
- symphonia-isomp4 = symphonia
- symphonia-mkv = symphonia
- symphonia-ogg = symphonia
- symphonia-wav = symphonia
- symphonia-aac = symphonia
-
symphonia:
Enable specific codecs and formats.
TODO: Use "dep:" after MSRV is raised to >= 1.60. - symphonia-adpcm = symphonia
- symphonia-alac = symphonia
- symphonia-flac = symphonia
- symphonia-mpa = symphonia
-
symphonia:
MPEG audio codecs.
- symphonia-mp1 = symphonia
- symphonia-mp2 = symphonia
- symphonia-mp3 = symphonia
- symphonia-pcm = symphonia
- symphonia-vorbis = 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.