Cargo Features

[dependencies]
moosicbox_config = { version = "0.1.0", default-features = false, features = ["fail-on-warnings", "db", "api", "openapi", "test"] }
default = api, db, openapi

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

fail-on-warnings
db default api

Enables moosicbox_database, moosicbox_json_utils, and nanoid

moosicbox_database:

DB dependencies

Affects moosicbox_config::db

api default = db

Enables serde, api of optional moosicbox_database and actix-web

API dependencies

Affects moosicbox_config::api

openapi default

Enables utoipa

Affects api::Api

test

Enables rand

Test dependencies

Affects moosicbox_config::get_tests_dir_path