Cargo Features

[dependencies]
moosicbox_files = { version = "0.1.0", default-features = false, features = ["fail-on-warnings", "image", "libvips", "api", "files", "openapi", "range", "track-range", "aac", "flac", "mp3", "opus"] }
default = aac, api, files, flac, image, mp3, openapi, opus, range

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

fail-on-warnings
image default

Enables image of moosicbox_image

libvips

Enables libvips of moosicbox_image

api default = files, range

Enables moosicbox_task, actix-files, actix-web, moosicbox_async_service, and moosicbox_audio_decoder, api of moosicbox_database and moosicbox_music_api

Affects moosicbox_files::api

files default api

Enables flume, lazy_static, moosicbox_async_service, moosicbox_audio_decoder, moosicbox_audio_output, moosicbox_core, moosicbox_database, moosicbox_music_api, moosicbox_task, strum, strum_macros, symphonia, tokio-stream, and tokio-util

Affects moosicbox_files::files, moosicbox_files::CoverBytes

openapi default

Enables openapi of optional moosicbox_core and optional moosicbox_music_api and utoipa

API Dependencies

Affects api::Api

range default api

Enables moosicbox_audio_output

Affects moosicbox_files::range

track-range

Enables moosicbox_audio_output

aac default

Enables aac of optional moosicbox_audio_output and optional moosicbox_core

flac default

Enables flac of optional moosicbox_audio_output and optional moosicbox_core

mp3 default

Enables mp3 of optional moosicbox_audio_output and optional moosicbox_core

opus default

Enables opus of optional moosicbox_audio_output and optional moosicbox_core

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.

moosicbox_image image libvips?