Cargo Features

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

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

fail-on-warnings
api default

Enables api of moosicbox_music_api and actix-web and moosicbox_auth

actix-web:

API Dependencies

Affects moosicbox_scan::api

local default

Enables async-recursion, moosicbox_audiotags, moosicbox_lofty, and mp3-duration

async-recursion:

Local Dependencies

Affects api::ScanPathQuery, api::run_scan_path_endpoint, api::get_scan_origins_endpoint, api::GetScanPathsQuery, api::get_scan_paths_endpoint, api::AddScanPathQuery, api::add_scan_path_endpoint, api::RemoveScanPathQuery, api::remove_scan_path_endpoint, db::add_scan_path, db::remove_scan_path, moosicbox_scan::local, moosicbox_scan::get_scan_paths, moosicbox_scan::add_scan_path, moosicbox_scan::remove_scan_path

openapi default

Enables utoipa

Affects api::Api

aac default

Enables aac of moosicbox_core and moosicbox_library

flac default

Enables flac of moosicbox_core and moosicbox_library

mp3 default

Enables mp3 of moosicbox_core and moosicbox_library

opus default

Enables opus of moosicbox_core and moosicbox_library