Cargo Features
[dependencies]
moosicbox_music_models = { version = "0.1.1", default-features = false, features = ["fail-on-warnings", "api", "openapi", "db", "tantivy", "all-formats", "all-os-formats", "flac", "mp3", "opus", "all-sources", "yt"] }
- default = all-formats, all-sources, api, db, openapi, tantivy
-
These default features are set whenever
moosicbox_music_models
is added without
somewhere in the dependency tree.default-features = false - fail-on-warnings
- api default
-
Enables api of gimbal_database
Affects
moosicbox_music_models::api
… - openapi default
-
Enables utoipa
API Dependencies
- db default
-
Enables gimbal_database, database of moosicbox_json_utils
Affects
moosicbox_music_models::db
… - tantivy default
-
Enables tantivy
tantivy dependencies
- all-formats default = all-os-formats, mp3
- all-os-formats all-formats = aac, flac, opus
- aac flac all-os-formats?
- mp3 all-formats
- opus all-os-formats?
- all-sources default = qobuz, tidal, yt
- qobuz tidal yt all-sources