# 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_music_api" version = "0.1.0" authors = ["Braden Steffaniak"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "MoosicBox music API package" readme = "README.md" keywords = [ "album", "api", "artist", "music", "playlist", ] categories = [ "development-tools", "multimedia", "network-programming", ] license = "MPL-2.0" repository = "https://github.com/MoosicBox/MoosicBox" [package.metadata.cargo-machete] ignored = ["strum"] [lib] name = "moosicbox_music_api" path = "src/lib.rs" [dependencies.actix-web] version = "4.9.0" optional = true [dependencies.async-trait] version = "0.1.83" [dependencies.futures] version = "0.3" [dependencies.log] version = "0.4" features = ["release_max_level_trace"] [dependencies.moosicbox_core] version = "0.1.0" default-features = false [dependencies.moosicbox_database] version = "0.1.0" default-features = false [dependencies.moosicbox_json_utils] version = "0.1.0" features = ["serde_json"] default-features = false [dependencies.moosicbox_paging] version = "0.1.0" default-features = false [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"] [dependencies.utoipa] version = "5.0.0-rc.0" features = ["actix_extras"] optional = true [dev-dependencies.pretty_assertions] version = "1.4.1" [dev-dependencies.test-log] version = "0.2.16" [dev-dependencies.tokio] version = "1.40.0" features = [ "macros", "rt", ] [features] api = [ "dep:actix-web", "moosicbox_database/api", ] db = ["moosicbox_database/api"] default = [ "api", "db", "openapi", ] fail-on-warnings = [] openapi = ["dep:utoipa"]