# 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_server" version = "0.1.0" authors = ["Braden Steffaniak"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "MoosicBox server package" readme = "README.md" keywords = [ "api", "audio", "moosicbox", "server", ] categories = ["multimedia"] license = "MPL-2.0" repository = "https://github.com/MoosicBox/MoosicBox" [package.metadata.cargo-machete] ignored = ["strum"] [package.metadata.cargo-udeps.ignore] normal = ["moosicbox_schema"] [lib] name = "moosicbox_server" path = "src/lib.rs" [[bin]] name = "moosicbox_server" path = "src/main.rs" required-features = [] [dependencies.actix-cors] version = "0.7.0" [dependencies.actix-htmx] version = "0.3.0" optional = true [dependencies.actix-web] version = "4.9.0" [dependencies.actix-ws] version = "0.3.0" [dependencies.console-subscriber] version = "0.4.0" [dependencies.flume] version = "0.11.0" [dependencies.futures-util] version = "0.3.30" features = ["std"] default-features = false [dependencies.kanal] version = "0.1.0-pre8" [dependencies.local-ip-address] version = "0.6.3" [dependencies.log] version = "0.4" features = ["release_max_level_trace"] [dependencies.moosicbox_admin_htmx] version = "0.1.0" features = [ "qobuz", "tidal", ] optional = true default-features = false [dependencies.moosicbox_assert] version = "0.1.0" default-features = false [dependencies.moosicbox_async_service] version = "0.1.0" default-features = false [dependencies.moosicbox_audio_output] version = "0.1.0" default-features = false [dependencies.moosicbox_audio_zone] version = "0.1.0" features = [ "api", "events", ] default-features = false [dependencies.moosicbox_auth] version = "0.1.0" optional = true default-features = false [dependencies.moosicbox_config] version = "0.1.0" features = [ "api", "db", ] default-features = false [dependencies.moosicbox_core] version = "0.1.0" default-features = false [dependencies.moosicbox_database] version = "0.1.0" features = ["api"] default-features = false [dependencies.moosicbox_database_connection] version = "0.1.0" features = [] default-features = false [dependencies.moosicbox_downloader] version = "0.1.0" features = ["api"] optional = true default-features = false [dependencies.moosicbox_env_utils] version = "0.1.0" default-features = false [dependencies.moosicbox_files] version = "0.1.0" features = [ "files", "image", "range", "track-range", ] default-features = false [dependencies.moosicbox_json_utils] version = "0.1.0" features = ["database"] default-features = false [dependencies.moosicbox_library] version = "0.1.0" features = ["api"] optional = true default-features = false [dependencies.moosicbox_logging] version = "0.1.0" default-features = false [dependencies.moosicbox_mdns] version = "0.1.0" default-features = false [dependencies.moosicbox_menu] version = "0.1.0" features = ["api"] optional = true default-features = false [dependencies.moosicbox_middleware] version = "0.1.0" default-features = false [dependencies.moosicbox_music_api] version = "0.1.0" default-features = false [dependencies.moosicbox_player] version = "0.1.0" features = ["local"] optional = true default-features = false [dependencies.moosicbox_profiles] version = "0.1.0" features = ["events"] default-features = false [dependencies.moosicbox_qobuz] version = "0.1.0" features = [ "api", "db", ] optional = true default-features = false [dependencies.moosicbox_scan] version = "0.1.0" features = [ "api", "local", ] optional = true default-features = false [dependencies.moosicbox_schema] version = "0.1.0" optional = true default-features = false [dependencies.moosicbox_search] version = "0.1.0" features = ["api"] optional = true default-features = false [dependencies.moosicbox_session] version = "0.1.0" features = ["events"] default-features = false [dependencies.moosicbox_task] version = "0.1.0" default-features = false [dependencies.moosicbox_tidal] version = "0.1.0" features = [ "api", "db", ] optional = true default-features = false [dependencies.moosicbox_tunnel] version = "0.1.0" optional = true default-features = false [dependencies.moosicbox_tunnel_sender] version = "0.1.0" optional = true default-features = false [dependencies.moosicbox_upnp] version = "0.1.0" features = [ "api", "listener", "player", ] optional = true default-features = false [dependencies.moosicbox_ws] version = "0.1.0" features = ["ws"] default-features = false [dependencies.moosicbox_yt] version = "0.1.0" features = [ "api", "db", ] optional = true default-features = false [dependencies.openssl] version = "0.10.66" features = ["v110"] optional = true [dependencies.qstring] version = "0.7.2" optional = true [dependencies.rand] version = "0.8" [dependencies.rcgen] version = "0.13.1" optional = true [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.throttle] version = "0.1.0" optional = true [dependencies.tokio] version = "1.40.0" features = [ "macros", "rt", "time", "tracing", ] [dependencies.tokio-util] version = "0.7.12" [dependencies.url] version = "2.5.2" [dependencies.utoipa] version = "5.0.0-rc.0" features = ["actix_extras"] optional = true [dependencies.utoipa-rapidoc] version = "4.0.1-rc.0" features = ["actix-web"] optional = true [dependencies.utoipa-redoc] version = "4.0.1-rc.0" features = ["actix-web"] optional = true [dependencies.utoipa-scalar] version = "0.2.0-rc.0" features = ["actix-web"] optional = true [dependencies.utoipa-swagger-ui] version = "7.1.1-rc.0" features = ["actix-web"] optional = true [features] aac = [ "moosicbox_core/aac", "moosicbox_downloader?/aac", "moosicbox_files/aac", "moosicbox_library?/aac", "moosicbox_library?/aac", "moosicbox_player?/aac", "moosicbox_scan?/aac", "moosicbox_session/aac", "moosicbox_session/aac", "moosicbox_tunnel_sender?/aac", ] admin-htmx = ["admin-htmx-api"] admin-htmx-api = [ "dep:actix-htmx", "dep:moosicbox_admin_htmx", "moosicbox_admin_htmx?/api", ] all-apis = [ "app-apis", "player-api", "upnp-api", ] all-formats = [ "aac", "flac", "mp3", "opus", ] app-apis = [ "admin-htmx-api", "audio-output-api", "audio-zone-api", "auth-api", "config-api", "downloader-api", "files-api", "library-api", "menu-api", "qobuz-api", "scan-api", "search-api", "session-api", "tidal-api", "yt-api", ] asio = ["moosicbox_player?/asio"] audio-output-api = ["moosicbox_audio_output/api"] audio-zone-api = ["moosicbox_audio_zone/api"] auth-api = [ "dep:moosicbox_auth", "moosicbox_auth?/api", ] base64 = [ "moosicbox_tunnel?/base64", "moosicbox_tunnel_sender?/base64", ] config-api = [] cpal = ["moosicbox_player?/cpal"] default = [ "all-apis", "all-formats", "base64", "cpal", "openapi", "postgres-native-tls", "postgres-openssl", "postgres-raw", "postgres-sqlx", "pulseaudio", "sqlite-sqlx", "static-token-auth", "tunnel", ] downloader = [ "dep:throttle", "moosicbox_downloader/api", ] downloader-api = [ "dep:moosicbox_downloader", "downloader", ] fail-on-warnings = [] files-api = ["moosicbox_files/api"] flac = [ "moosicbox_core/flac", "moosicbox_downloader?/flac", "moosicbox_files/flac", "moosicbox_library?/flac", "moosicbox_library?/flac", "moosicbox_player?/flac", "moosicbox_scan?/flac", "moosicbox_session/flac", "moosicbox_session/flac", "moosicbox_tunnel_sender?/flac", ] jack = ["moosicbox_player?/jack"] library = ["moosicbox_library/api"] library-api = [ "dep:moosicbox_library", "library", ] menu-api = ["dep:moosicbox_menu"] mp3 = [ "moosicbox_core/mp3", "moosicbox_downloader?/mp3", "moosicbox_files/mp3", "moosicbox_library?/mp3", "moosicbox_library?/mp3", "moosicbox_player?/mp3", "moosicbox_scan?/mp3", "moosicbox_session/mp3", "moosicbox_session/mp3", "moosicbox_tunnel_sender?/mp3", ] openapi = [ "dep:utoipa", "dep:utoipa-rapidoc", "dep:utoipa-redoc", "dep:utoipa-scalar", "dep:utoipa-swagger-ui", "moosicbox_audio_output/openapi", "moosicbox_audio_zone/openapi", "moosicbox_auth?/openapi", "moosicbox_config/openapi", "moosicbox_core/openapi", "moosicbox_downloader?/openapi", "moosicbox_files/openapi", "moosicbox_library?/openapi", "moosicbox_menu?/openapi", "moosicbox_music_api/openapi", "moosicbox_player?/openapi", "moosicbox_qobuz?/openapi", "moosicbox_scan?/openapi", "moosicbox_search?/openapi", "moosicbox_session/openapi", "moosicbox_tidal?/openapi", "moosicbox_upnp?/openapi", "moosicbox_yt?/openapi", ] opus = [ "moosicbox_core/opus", "moosicbox_downloader?/opus", "moosicbox_files/opus", "moosicbox_library?/opus", "moosicbox_library?/opus", "moosicbox_player?/opus", "moosicbox_scan?/opus", "moosicbox_session/opus", "moosicbox_session/opus", "moosicbox_tunnel_sender?/opus", ] player = [ "dep:moosicbox_library", "dep:moosicbox_player", ] player-api = [ "moosicbox_player?/api", "player", ] postgres = [ "dep:moosicbox_schema", "moosicbox_database/postgres", "moosicbox_database_connection/creds", "moosicbox_database_connection/postgres", "moosicbox_schema?/postgres", ] postgres-native-tls = ["moosicbox_database_connection/postgres-native-tls"] postgres-openssl = ["moosicbox_database_connection/postgres-openssl"] postgres-raw = [ "moosicbox_database/postgres-raw", "moosicbox_database_connection/postgres-raw", "postgres", ] postgres-sqlx = [ "moosicbox_database/postgres-sqlx", "moosicbox_database_connection/postgres-sqlx", "postgres", ] pulseaudio = ["moosicbox_player?/pulseaudio"] pulseaudio-simple = ["moosicbox_player?/pulseaudio-simple"] pulseaudio-standard = ["moosicbox_player?/pulseaudio-standard"] qobuz = ["moosicbox_qobuz/api"] qobuz-api = [ "dep:moosicbox_qobuz", "qobuz", ] scan = [ "dep:throttle", "moosicbox_scan/api", ] scan-api = [ "dep:moosicbox_scan", "scan", ] search = ["moosicbox_search/api"] search-api = [ "dep:moosicbox_search", "search", ] session-api = ["moosicbox_session/api"] sqlite = [ "dep:moosicbox_schema", "moosicbox_database_connection/sqlite", "moosicbox_schema?/sqlite", ] sqlite-rusqlite = [ "moosicbox_database/sqlite-rusqlite", "moosicbox_database_connection/sqlite-rusqlite", "sqlite", ] sqlite-sqlx = [ "moosicbox_database/sqlite-sqlx", "moosicbox_database_connection/sqlite-sqlx", "sqlite", ] static-token-auth = ["dep:qstring"] tidal = ["moosicbox_tidal/api"] tidal-api = [ "dep:moosicbox_tidal", "tidal", ] tls = [ "actix-web/openssl", "dep:openssl", "dep:rcgen", ] tunnel = [ "dep:moosicbox_auth", "dep:moosicbox_tunnel", "dep:moosicbox_tunnel_sender", ] upnp = [ "dep:moosicbox_upnp", "player", ] upnp-api = [ "dep:moosicbox_upnp", "upnp", ] yt = ["moosicbox_yt/api"] yt-api = [ "dep:moosicbox_yt", "yt", ]