Cargo Features

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

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

fail-on-warnings
api default

Enables actix-web, api of moosicbox_music_api

Affects moosicbox_player::api

openapi default

Enables openapi of moosicbox_core and utoipa

API Dependencies

Affects api::Api

asio

Player audio outputs

Enables asio of moosicbox_audio_output

cpal default

Enables cpal of moosicbox_audio_output

jack

Enables jack of moosicbox_audio_output

oboe-shared-stdcxx default

Enables oboe-shared-stdcxx of moosicbox_audio_output

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

Enables pulseaudio-simple of moosicbox_audio_output

pulseaudio-standard pulseaudio

Enables pulseaudio-standard of moosicbox_audio_output

aac default

Enables aac of moosicbox_audio_output, moosicbox_core, and moosicbox_session

flac default

Enables flac of moosicbox_audio_output, moosicbox_core, and moosicbox_session

mp3 default

Enables mp3 of moosicbox_audio_output, moosicbox_core, and moosicbox_session

opus default

Enables opus of moosicbox_audio_output, moosicbox_core, and moosicbox_session

local default

Affects moosicbox_player::local