# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "moosicbox_library" version = "0.1.0" authors = ["Braden Steffaniak"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "MoosicBox Library Music API package" readme = "README.md" keywords = [ "audio", "library", ] categories = [ "multimedia", "network-programming", ] license = "MPL-2.0" repository = "https://github.com/MoosicBox/MoosicBox" [package.metadata.cargo-machete] ignored = ["strum"] [lib] name = "moosicbox_library" path = "src/lib.rs" [dependencies.actix-web] version = "4.9.0" optional = true [dependencies.async-recursion] version = "1.1.1" [dependencies.async-trait] version = "0.1.83" [dependencies.enum-as-inner] version = "0.6.1" [dependencies.futures] version = "0.3" [dependencies.log] version = "0.4" features = ["release_max_level_trace"] [dependencies.moosicbox_assert] version = "0.1.0" default-features = false [dependencies.moosicbox_audio_output] version = "0.1.0" optional = true default-features = false [dependencies.moosicbox_core] version = "0.1.0" default-features = false [dependencies.moosicbox_database] version = "0.1.0" default-features = false [dependencies.moosicbox_files] version = "0.1.0" default-features = false [dependencies.moosicbox_json_utils] version = "0.1.0" features = [ "database", "serde_json", ] default-features = false [dependencies.moosicbox_library_models] version = "0.1.0" features = ["db"] default-features = false [dependencies.moosicbox_music_api] version = "0.1.0" default-features = false [dependencies.moosicbox_paging] version = "0.1.0" default-features = false [dependencies.moosicbox_search] version = "0.1.0" features = ["db"] default-features = false [dependencies.moosicbox_stream_utils] version = "0.1.0" optional = true default-features = false [dependencies.regex] version = "1.11.0" [dependencies.serde] version = "1" features = [ "derive", "derive", ] [dependencies.serde_json] version = "1.0.128" [dependencies.strum] version = "0.26.3" [dependencies.strum_macros] version = "0.26.4" [dependencies.thiserror] version = "1.0.64" [dependencies.tokio] version = "1.40.0" features = [ "macros", "rt", "tracing", ] [dependencies.utoipa] version = "5.0.0-rc.0" features = ["actix_extras"] optional = true [features] aac = [ "dep:moosicbox_audio_output", "dep:moosicbox_stream_utils", "moosicbox_audio_output/aac", "moosicbox_core/aac", "moosicbox_files/aac", "moosicbox_library_models/aac", ] all-formats = [ "aac", "flac", "mp3", "opus", ] api = [ "dep:actix-web", "moosicbox_database/api", "moosicbox_library_models/api", ] default = [ "all-formats", "api", "openapi", ] fail-on-warnings = [] flac = [ "dep:moosicbox_audio_output", "dep:moosicbox_stream_utils", "moosicbox_audio_output/flac", "moosicbox_core/flac", "moosicbox_files/flac", "moosicbox_library_models/flac", ] mp3 = [ "dep:moosicbox_audio_output", "dep:moosicbox_stream_utils", "moosicbox_audio_output/mp3", "moosicbox_core/mp3", "moosicbox_files/mp3", "moosicbox_library_models/mp3", ] openapi = [ "dep:utoipa", "moosicbox_library_models/openapi", "moosicbox_search/openapi", ] opus = [ "dep:moosicbox_audio_output", "dep:moosicbox_stream_utils", "moosicbox_audio_output/opus", "moosicbox_core/opus", "moosicbox_files/opus", "moosicbox_library_models/opus", ]