Cargo Features
[dependencies]
moosicbox_session = { version = "0.1.1", default-features = false, features = ["fail-on-warnings", "api", "openapi", "events", "aac", "flac", "mp3", "opus", "all-sources", "qobuz", "tidal", "yt"] }
- default = aac, all-sources, api, events, flac, mp3, openapi, opus
-
These default features are set whenever
moosicbox_session
is added without
somewhere in the dependency tree.default-features = false - fail-on-warnings
- api default
-
Enables moosicbox_paging, api of gimbal_database, api of moosicbox_session_models and actix-web
API Dependencies
Affects
moosicbox_session::api
… - openapi default
-
Enables utoipa, openapi of moosicbox_audio_zone, moosicbox_library, moosicbox_music_models, moosicbox_paging, and moosicbox_session_models
Affects
api::Api
… - events default
-
Enables moosicbox_task and tokio
moosicbox_task:
Events Dependencies
Affects
moosicbox_session::events
… - aac default
-
Enables aac of moosicbox_library
- flac default
-
Enables flac of moosicbox_library
- mp3 default
-
Enables mp3 of moosicbox_library
- opus default
-
Enables opus of moosicbox_library
- all-sources default = qobuz, tidal, yt
- qobuz all-sources
-
Enables qobuz of moosicbox_library, moosicbox_music_models, and moosicbox_session_models
- tidal all-sources
-
Enables tidal of moosicbox_library, moosicbox_music_models, and moosicbox_session_models
- yt all-sources
-
Enables yt of moosicbox_library, moosicbox_music_models, and moosicbox_session_models