Cargo Features

[dependencies]
moosicbox_audio_output = { version = "0.1.0", default-features = false, features = ["default-windows", "fail-on-warnings", "api", "openapi", "asio", "cpal", "jack", "oboe-shared-stdcxx", "pulseaudio", "pulseaudio-simple", "pulseaudio-standard", "aac", "flac", "mp3", "opus"] }
default = api, default-windows, openapi, pulseaudio

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

default-windows default = aac, cpal, flac, mp3, oboe-shared-stdcxx, opus
fail-on-warnings
api default

Enables actix-web, moosicbox_paging, and serde

actix-web:

API Dependencies

Affects moosicbox_audio_output::api

openapi default

Enables utoipa, openapi of moosicbox_paging

Affects api::Api

asio

Enables asio of cpal

CPAL

cpal asio? default-windows jack? oboe-shared-stdcxx?

Enables cpal and rb

Affects moosicbox_audio_output::cpal

jack

Enables jack of cpal

oboe-shared-stdcxx default-windows

Enables oboe-shared-stdcxx of cpal

pulseaudio default = pulseaudio-simple, pulseaudio-standard
pulseaudio-simple pulseaudio

Enables libpulse-binding and libpulse-simple-binding

Affects pulseaudio::simple, moosicbox_audio_output::pulseaudio

pulseaudio-standard pulseaudio

Enables libpulse-binding

Affects pulseaudio::standard, moosicbox_audio_output::pulseaudio

aac default-windows

Enables aac of moosicbox_audio_encoder and fdk-aac

Encoders

Affects encoder::aac

flac default-windows

Enables flac of moosicbox_audio_encoder

Affects encoder::flac

mp3 default-windows

Enables mp3lame-encoder, mp3 of moosicbox_audio_encoder

Affects encoder::mp3

opus default-windows

Enables ogg and opus, opus of moosicbox_audio_encoder

Affects encoder::opus