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 default-features = false somewhere in the dependency tree.

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

Enables all of symphonia

symphonia:

Enable all supported codecs and formats.

symphonia-isomp4 = symphonia

Enables isomp4 of symphonia

symphonia-mkv = symphonia

Enables mkv of symphonia

symphonia-ogg = symphonia

Enables ogg of symphonia

symphonia-wav = symphonia

Enables wav of symphonia

symphonia-aac = symphonia

Enables aac of symphonia

symphonia:

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

symphonia-adpcm = symphonia

Enables adpcm of symphonia

symphonia-alac = symphonia

Enables alac of symphonia

symphonia-flac = symphonia

Enables flac of symphonia

symphonia-mpa = symphonia

Enables mpa of symphonia

symphonia:

MPEG audio codecs.

symphonia-mp1 = symphonia

Enables mp1 of symphonia

symphonia-mp2 = symphonia

Enables mp2 of symphonia

symphonia-mp3 = symphonia

Enables mp3 of symphonia

symphonia-pcm = symphonia

Enables pcm of symphonia

symphonia-vorbis = symphonia

Enables vorbis of 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.

symphonia symphonia-aac? symphonia-adpcm? symphonia-alac? symphonia-all symphonia-flac? symphonia-isomp4? symphonia-mkv? symphonia-mp1? symphonia-mp2? symphonia-mp3? symphonia-mpa? symphonia-ogg? symphonia-pcm? symphonia-vorbis? symphonia-wav?