Cargo Features

[dependencies]
moosicbox_library = { version = "0.1.0", default-features = false, features = ["fail-on-warnings", "api", "openapi", "all-formats", "aac", "flac", "mp3", "opus"] }
default = all-formats, api, openapi

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

fail-on-warnings
api default

Enables api of moosicbox_database and moosicbox_library_models and actix-web

API Dependencies

Affects moosicbox_library::api, profiles::api

openapi default

Enables utoipa, openapi of moosicbox_library_models and moosicbox_search

Affects api::Api

all-formats default = aac, flac, mp3, opus
aac all-formats

Enables moosicbox_stream_utils, aac of moosicbox_audio_output, moosicbox_core, moosicbox_files, and moosicbox_library_models

flac all-formats

Enables moosicbox_stream_utils, flac of moosicbox_audio_output, moosicbox_core, moosicbox_files, and moosicbox_library_models

mp3 all-formats

Enables moosicbox_stream_utils, mp3 of moosicbox_audio_output, moosicbox_core, moosicbox_files, and moosicbox_library_models

opus all-formats

Enables moosicbox_stream_utils, opus of moosicbox_audio_output, moosicbox_core, moosicbox_files, and moosicbox_library_models